+ Reply to Thread
Results 1 to 4 of 4

formula help - specific text changes value of a different cell

  1. #1
    Registered User
    Join Date
    10-11-2021
    Location
    New Jersey
    MS-Off Ver
    MS 365
    Posts
    2

    formula help - specific text changes value of a different cell

    Hello,
    My first post, so bear with me if I am not explaining clearly.

    I am looking for a formula that would change the value of a cell, based on the text in a different cell.
    So if cell I4 reads "Booked" it will change the value of cell F4 to read "$0".

    FYI cell F4 already has this formula in it: =SUM(B4:E4)


    thank you for any assistance
    Mike D

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,368

    Re: formula help - specific text changes value of a different cell

    Try this:

    =IF(I4="Booked",0,SUM(B4:E4))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-11-2021
    Location
    New Jersey
    MS-Off Ver
    MS 365
    Posts
    2

    Re: formula help - specific text changes value of a different cell

    thank you for your reply. however i received this error, maybe i am doing something wrong?
    This value doesn't match the data validation restrictions defined for this cell".
    Mike

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,368

    Re: formula help - specific text changes value of a different cell

    You must have data validation set.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to use formula IF specific text, then display text from specific cell
    By jrogers36 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2021, 04:22 PM
  2. Replies: 5
    Last Post: 11-19-2018, 01:52 AM
  3. Replies: 4
    Last Post: 12-26-2017, 02:29 PM
  4. Replies: 5
    Last Post: 04-09-2014, 10:36 PM
  5. [SOLVED] Formula with specific text that inserts value from BESIDE cell with specific text.
    By jtmann in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2012, 09:24 AM
  6. Replies: 3
    Last Post: 06-20-2012, 07:16 AM
  7. If cell contains specific text, use/do not use formula
    By frijol213 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-15-2011, 12:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1