+ Reply to Thread
Results 1 to 3 of 3

Modifying the "index/match" formula not to populate blank cells with zero's

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Modifying the "index/match" formula not to populate blank cells with zero's

    I’m using a “INDEX / MATCH” formula to pickup only the last 100 entries - thus keeping my information current...

    =INDEX(WORK!M:M,MATCH(99^99,WORK!$A:$A,1)-100+(ROW(WORK!M2)-1))

    and it works great except when a cell is blank it'll place a "0"

    I need to modify the formula to show the blank cells instead of picking up 0’s since some cells contain “0”…any suggestions? I've tried adding "IFERROR" with no avail...

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Modifying the "index/match" formula not to populate blank cells with zero's

    Format cells as ....

    0;-0;;@

  3. #3
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: Modifying the "index/match" formula not to populate blank cells with zero's

    =if(index(work!m:m,match(99^99,work!$a:$a,1)-100+(row(work!m2)-1))=0,"",index(work!m:m,match(99^99,work!$a:$a,1)-100+(row(work!m2)-1)))

+ 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] Index Match displaying 0 instead of Blank ("")
    By jshaw82 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-13-2015, 05:01 PM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. Macro to copy paste if match not found "go to next"
    By HawksOkeyoJr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2013, 05:28 AM
  4. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  5. Strings Variables in Range("A1").Formula = "=index/match" ?
    By nadnerb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 05:07 PM
  6. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04:09 PM
  7. Replies: 3
    Last Post: 02-16-2011, 02:55 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