+ Reply to Thread
Results 1 to 5 of 5

Return the value of a cell if blank otherwise return empty cell

  1. #1
    Registered User
    Join Date
    07-27-2021
    Location
    UK
    MS-Off Ver
    365
    Posts
    8

    Return the value of a cell if blank otherwise return empty cell

    Hello everyone, Please I would like assistance regarding the attached excel sheet on the formula. Given the column A and column B in the spreadsheet, I need to find D. Such that D2 is equal to A2 only when the cell B2 is empty, otherwise cell D2 will display an empty cell (nothing), this applies consecutively to other cells. Thank you.
    Attached Files Attached Files

  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
    80,780

    Re: Return the value of a cell if blank otherwise return empty cell

    This is what you have described:

    =IF(B2="",A2,"")

    and copy down.
    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
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Return the value of a cell if blank otherwise return empty cell

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    07-27-2021
    Location
    UK
    MS-Off Ver
    365
    Posts
    8

    Re: Return the value of a cell if blank otherwise return empty cell

    Bless you AliGW ! It works !

  5. #5
    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
    80,780

    Re: Return the value of a cell if blank otherwise return empty cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Need to return a blank when source cell is empty
    By Mendonk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-10-2021, 05:03 AM
  2. Replies: 3
    Last Post: 08-30-2020, 02:07 AM
  3. [SOLVED] If a cell is blank/empty return a value or perform a calculation
    By mel_lopez in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-28-2016, 05:27 AM
  4. [SOLVED] help! Date formula to Return blank if cell is empty
    By marquint in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-08-2014, 01:32 AM
  5. Date formula to Return blank if cell is empty
    By Ctaxes in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 01-07-2014, 11:28 PM
  6. If statement to return blank if cell D1 is empty...
    By bendixboogie in forum Excel General
    Replies: 8
    Last Post: 11-11-2008, 05:00 PM
  7. Return an empty or blank cell value?
    By Troymello in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2006, 01:45 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