+ Reply to Thread
Results 1 to 5 of 5

I have a formula in excel and want it to return blank if ref cell is blank and not "0"

  1. #1
    Registered User
    Join Date
    02-22-2021
    Location
    Chicago, Illinois
    MS-Off Ver
    2013
    Posts
    3

    I have a formula in excel and want it to return blank if ref cell is blank and not "0"

    Some of the referenced cells are blank and I would like that to be carried over instead of returning "0" in the cell

    This is my formula -

    =VLOOKUP(B2, SKUs!A$2:$E$7, 3, FALSE)

    Thanks for any assistance!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I have a formula in excel and want it to return blank if ref cell is blank and not "0"

    Assuming your results are numbers, Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by ChemistB; 02-22-2021 at 03:26 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    02-22-2021
    Location
    Chicago, Illinois
    MS-Off Ver
    2013
    Posts
    3

    Re: I have a formula in excel and want it to return blank if ref cell is blank and not "0"

    When I drag that formula down, every field is now blank and should not be.
    I have attached my workbook, as I originally had it set up.

    Thank you for your time.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I have a formula in excel and want it to return blank if ref cell is blank and not "0"

    I think the best approach is a simple IF statement
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-22-2021
    Location
    Chicago, Illinois
    MS-Off Ver
    2013
    Posts
    3

    Re: I have a formula in excel and want it to return blank if ref cell is blank and not "0"

    Awesome, thank you so much!!!

+ 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. Finding Average Unless Any Cell Is Blank. If Blank return "Alert"
    By Mizzou.2018 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-20-2019, 04:58 PM
  2. [SOLVED] If vlookup return blank means "paid", otherwise is "unpaid"
    By Dewdrop in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2019, 05:51 AM
  3. [SOLVED] add if blank cell then return "" to existing formula
    By cristylk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-05-2017, 09:58 AM
  4. [SOLVED] Keeping particular cell blank if the related cells show "0" or "blank"
    By Anuru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-24-2014, 05:30 AM
  5. solution for the blank cell using the IF function
    By ragnaedge in forum Excel General
    Replies: 4
    Last Post: 08-23-2013, 11:03 AM
  6. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  7. Replies: 5
    Last Post: 04-21-2005, 04:06 PM

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