+ Reply to Thread
Results 1 to 4 of 4

Display value based on text, no value if blank

  1. #1
    Registered User
    Join Date
    10-06-2017
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2016
    Posts
    19

    Display value based on text, no value if blank

    Hi,

    I an trying to change the value in cell B4 based on the text I select from my drop down in A4. I have a formula that is doing this, but I can't figure out how to stop the formula if A4 is blank.

    Thank you,
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Display value based on text, no value if blank

    You can change the formula in B4 to this:

    =IF(A4="","",IF(A4="Working",$B$1*$A$1,$B$1))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-06-2017
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2016
    Posts
    19

    Re: Display value based on text, no value if blank

    Thank you Pete, worked perfectly. Many thanks.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: Display value based on text, no value if blank

    You're welcome, and thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Pete

+ 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. [SOLVED] fetch item based on sales rep name, and display downward without blank.
    By superjoejoe2000 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2022, 06:10 AM
  2. Replies: 3
    Last Post: 08-24-2021, 11:13 AM
  3. [SOLVED] Display text or value in the first non-blank cel in a row
    By MaartenRo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2020, 03:41 AM
  4. Find and display certain text in a string based on a range of text.
    By JonesyCC in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-05-2017, 02:18 PM
  5. Replies: 4
    Last Post: 09-19-2014, 08:10 AM
  6. Replies: 11
    Last Post: 11-03-2013, 09:16 PM
  7. VBA - Check 3 rows if blank and display text in one of them in adjacent cell
    By guitalex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2012, 09:32 AM

Tags for this Thread

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