+ Reply to Thread
Results 1 to 4 of 4

Blank cells returning 0 (zero) value with INDEX

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Hiawatha, Iowa
    MS-Off Ver
    Excel 2003
    Posts
    28

    Lightbulb Blank cells returning 0 (zero) value with INDEX

    I need to merge data from one worksheet to another. I am using INDEX, MATCH functions, which work fine except that when a match is found and the cell is blank, the value returned and placed in the merged cell is 0.

    I want the merged cell to be blank, same value as the original cell.

    Here is the function that I am using:
    Please Login or Register  to view this content.
    Thanks in advance for your time.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: Blank cells returning 0 (zero) value with INDEX

    What sort of values does the formula return? If they are text values then this small change will give you a blank instead of a zero

    =IFERROR(INDEX('[worksheet_with_info_to_merge]'!$A:$T,$X2,MATCH(P$1,'[worksheet_with_info_to_merge]'!$A$1:$T$1,0))&"","-")

    .......but if you are returning numbers that will convert them to text formatted numbers
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-18-2013
    Location
    Hiawatha, Iowa
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Blank cells returning 0 (zero) value with INDEX

    Thanks for taking the time to respond to my post and render assistance. Unfortunately, what happens when I add &"" to the formula, making the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    is that the cell now displays the formula rather than the result.

  4. #4
    Registered User
    Join Date
    11-18-2013
    Location
    Hiawatha, Iowa
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Blank cells returning 0 (zero) value with INDEX

    Sorry for the misstatement! The display of the formula rather than the result is not because I added &"". I copied the original formula into a new blank cell, modified it and got the result that I wanted. I'm not sure if the problem is related to the worksheet password protection or something else.

+ 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] Blank cells not returning a blank value...
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-10-2014, 11:01 AM
  2. Function returning cells containing text and omitting blank cells.
    By reszax in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2013, 03:15 PM
  3. Pasting cells into the body of an e-mail returning blank cells
    By Sccye in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2012, 08:21 AM
  4. Excel 2007 : iferror(index Formula returning blank cells
    By Martin Chamberlin in forum Excel General
    Replies: 7
    Last Post: 11-15-2011, 08:45 AM
  5. Resolved >>> Max Index Lookup Returning Two Cells?
    By profector in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-23-2007, 04:31 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