+ Reply to Thread
Results 1 to 7 of 7

Index Match Small Rows - Trying to return w/out blanks

  1. #1
    Forum Contributor
    Join Date
    06-04-2015
    Location
    Bangkok, Thailand
    MS-Off Ver
    2013
    Posts
    175

    Index Match Small Rows - Trying to return w/out blanks

    Hi All,

    Please see the attached file here.

    I have new data (pivot table) and old data (copied from last week's pivot table) and I want to see what old data is still there (old) and what is new.

    The formula I am using is: =INDEX($E$6:$E$500,SMALL(IF(INDEX($E$6:$E$500,MATCH(E6,$B$6:$B$500,0))=E6,ROW($E$1:$E$500)),ROWS($6:6)))

    and it is an array formula

    So the formula is not working and I am not sure why, any help would be very much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Index Match Small Rows - Trying to return w/out blanks

    This is the one I usually use that removes blank cells from a list, base something on this

    =IFERROR(INDEX($A$1:$A$100,SMALL(IF(($A$1:$A$100<>""),ROW($A$1:$A$100)),ROW(A1)),1),"")

    red = List you are trying to reduce
    blue = condition(s) for cells you want to keep (in this case those that are not blank)
    green = column number you are retrieving, dependent if the original list (red) is a single column or multiple columns
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    06-04-2015
    Location
    Bangkok, Thailand
    MS-Off Ver
    2013
    Posts
    175

    Re: Index Match Small Rows - Trying to return w/out blanks

    For some reason I can't get that to work, it might be I'm not understanding it correctly. Would you be able to apply it to the attached excel sheet?

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Index Match Small Rows - Trying to return w/out blanks

    You say you want to see what new data is there and what new data is not but your data comprises several fields the last of which is a value, ie a number. In many instances these numbers are different.
    So is that what you're after that the numbers for a particular code have changed?
    Or are you simply trying to find what codes exist/don't exist?

    Why dont you just do a simple

    in B6
    =IFERROR(MATCH(B6,E$6,E$252,0),B6&"not in column E")
    and copy down

    then change the columns to check cells in column E that are not in B
    Last edited by Special-K; 06-22-2017 at 05:18 AM.

  5. #5
    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
    43,984

    Re: Index Match Small Rows - Trying to return w/out blanks

    If I read you correctly, you are trying to return the values that are PRSENT in BOTH lists. Use this array formula:

    =IFERROR(INDEX($B:$B,SMALL(IF(ISNA(MATCH($B$6:$B$252,$E$6:$E$251,0)),"",ROW($B$6:$B$252)),ROWS($2:2))),"")
    Attached Files Attached Files
    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

  6. #6
    Forum Contributor
    Join Date
    06-04-2015
    Location
    Bangkok, Thailand
    MS-Off Ver
    2013
    Posts
    175

    Re: Index Match Small Rows - Trying to return w/out blanks

    Thank you both. I apologize if I was not clear in the beginning. I just tried Glenn's formula and it worked. Thank you both very very much.

  7. #7
    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
    43,984

    Re: Index Match Small Rows - Trying to return w/out blanks

    You're welcome!

+ 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. Match Index, Small Index with Concatenate
    By kharding15 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2015, 05:38 PM
  2. INDEX & MATCH multiple rows to return comma separated cell
    By sifuchi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2015, 04:36 PM
  3. Replies: 0
    Last Post: 11-05-2014, 01:04 PM
  4. Replies: 9
    Last Post: 08-29-2014, 09:42 PM
  5. [SOLVED] Column Return Instead of Row with INDEX,SMALL,IF
    By Critical Bounce in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-01-2014, 06:55 PM
  6. Index( Match( Small( If
    By TravCAH in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2013, 08:41 AM
  7. Replies: 1
    Last Post: 11-06-2013, 08:37 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