+ Reply to Thread
Results 1 to 8 of 8

IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

  1. #1
    Registered User
    Join Date
    04-26-2022
    Location
    England
    MS-Off Ver
    365
    Posts
    79

    IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    Hi

    I have a columns that have a "Yes" in them, and in the next column i need to return a value (for example - 14-12-2022) if the cell doesn't have a "Yes" then I need the next cell to be blank

    I am currently using this formula (below) but i keep getting a return value

    =IF(ISNUMBER(AH3), "Yes", "14-12-2022")

    see attached picture

    Return Value Capture.PNG

    Thanks

  2. #2
    Registered User
    Join Date
    09-21-2022
    Location
    Amsterdan
    MS-Off Ver
    MS 365 (PC Version 2209)
    Posts
    66

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    Hi,
    Do you mean this?
    In AJ1 and drop down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If this is not what you wanted, you can always contact me.

    Cheers,
    Roy de Mooij

  3. #3
    Registered User
    Join Date
    04-26-2022
    Location
    England
    MS-Off Ver
    365
    Posts
    79

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    Hi

    Sorry if i didnt explain it well

    All my "Yes" are in Column AH then i need the next cell along side the "Yes" (Column AI) to have the return value

    some of the cells in column AH dont have a "Yes" but the cell along side it is still giving me a return value when I need it to be blank

  4. #4
    Registered User
    Join Date
    09-21-2022
    Location
    Amsterdan
    MS-Off Ver
    MS 365 (PC Version 2209)
    Posts
    66

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    whoops made a mistake in the code:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Did you mean like this?

  5. #5
    Registered User
    Join Date
    04-26-2022
    Location
    England
    MS-Off Ver
    365
    Posts
    79

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    Hi

    Yes that worked great, thanks so much

    Sorry to be a pain but is there a way of doing the same thing with other cells/columns that may have different data other than a "Yes" as i have other columns that have different dates

    So Column Q has all the different dates in and i need the cells in columns R to say "Yes" if a date is in columns Q (the reverse of what you created)

    Attachment 809331

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    =IF(Q1<>"","Yes","")

    Next time - can we have a small Excel file, instead of a non-editable picture of one. The more complicated the Q, the less likely that ANYONE is going to want to recreate your file from a picture.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Registered User
    Join Date
    04-26-2022
    Location
    England
    MS-Off Ver
    365
    Posts
    79

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    Hi

    That's great, thanks for your help

    Will remember the "small excel file" next time, sorry Im fairly new to posting on here

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: IF A Cell Contains Data/Number, Return Value, If Not Leave Blank

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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] How to leave leave cell blank if all cells added together = 0
    By jmitch26 in forum Excel General
    Replies: 3
    Last Post: 07-30-2019, 11:00 PM
  2. SUMIFS, If no criteria match, leave cell blank, else return value
    By eemiller1997 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2017, 02:10 AM
  3. Replies: 5
    Last Post: 07-02-2017, 10:25 AM
  4. [SOLVED] Leave cell blank until data is posted
    By Philangr8 in forum Excel General
    Replies: 14
    Last Post: 05-27-2016, 08:12 PM
  5. [SOLVED] Leave cell blank unless data entered
    By ExcelDummy77 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2015, 11:05 AM
  6. Leave a cell blank if some data is missing
    By Topher53180 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-13-2013, 05:28 AM
  7. Leave cell blank if no data
    By Millerk in forum Excel General
    Replies: 3
    Last Post: 03-01-2006, 11:00 AM

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