Closed Thread
Results 1 to 6 of 6

Index Match Duplicate Values - ignore cells equal to 0

  1. #1
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Index Match Duplicate Values - ignore cells equal to 0

    Hi All,

    Im using the following formula;

    =INDEX($A1:$H1,MATCH(LARGE($A2:$H2-COLUMN($A2:$H2)/10^10,COLUMNS($A5:A5)),$A2:$H2-COLUMN($A2:$H2)/10^10,0))

    I have a row of data of scores ranging from 0 to 4. Some cells have the same score. I am attempting to index match so the highest 2 scores will return the header / corresponding team - without duplicating.

    Where I am stuck, I do not want the 0 score to be included in this formula - I dont want in those 2 highest scores for one to be a 0.

    How can I manipulate this formula to only calculate scores > 1 ?

    Thank you all in advance!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Index Match Duplicate Values - ignore cells equal to 0

    "Some cells have the same score."

    You can solve this if you make a helpcolumn and divide the value thru the row number * 100000.

    In that case the result is not the same, and you won't get duplicated values.

    b1 = a1/(row()*100000) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Index Match Duplicate Values - ignore cells equal to 0

    Also see this link on this forum, for an equal question.

    https://www.excelforum.com/excel-for...per-cells.html

  4. #4
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Re: Index Match Duplicate Values - ignore cells equal to 0

    Thanks! Its actually built on that question. The formula there answered my initial question however I need to tweak it to make it ignore 0's

  5. #5
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Re: Index Match Duplicate Values - ignore cells equal to 0

    I appreciate the answer however the above formula takes care of the 0's issue. I now need to manupulate the formula to not include 0's found in the dataset.

  6. #6
    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,430

    Re: Index Match Duplicate Values - ignore cells equal to 0

    To get help tweaking a formula, you should stay in the same thread.

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread.
    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.

Closed 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 Duplicate Values With No Helper Cells
    By Kerik in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-23-2020, 11:28 AM
  2. Replies: 3
    Last Post: 10-09-2019, 09:04 PM
  3. INDEX MATCH to ignore blank cells in array
    By Leaflock in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-05-2019, 06:36 PM
  4. [SOLVED] Possible Index/Match and/or Duplicate/Ignore??
    By mrsbrannon in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-27-2018, 01:11 PM
  5. Replies: 0
    Last Post: 11-05-2014, 10:54 AM
  6. [SOLVED] Ignore If Blank & check multiple cells for equal values
    By Urugmo88 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-25-2013, 04:46 AM
  7. Replies: 17
    Last Post: 12-05-2012, 09:01 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