+ Reply to Thread
Results 1 to 8 of 8

Index and Match formula

  1. #1
    Registered User
    Join Date
    01-15-2009
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    37

    Index and Match formula

    I am trying to find out why my answers come out as zero. Can you tell me where I have gone worng with my index and match formula.
    I am trying to get a value from 2 seperate criteria. The formula in question is on sheet 2 column E.

    Thanks for your assistance...
    Attached Files Attached Files

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

    Re: Index and Match formula

    Please Login or Register  to view this content.
    The red text is empty on sheet 2.

    So you are looking for blanc cells.
    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 Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Index and Match formula

    Can you please explain why your formula is referencing (see in bold) There is nothing in the ranges of AF on your spreadsheet.

    =IF(ISNUMBER(SEARCH($AF$6,Lookup!A2:A5)),INDEX(Lookup!$A$2:$H$5,MATCH($AF$6,Lookup!$A:$A),MATCH($L8,Lookup!$2:$2)),0)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    01-15-2009
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Index and Match formula

    Sorry that is because I have taken this from another worksheet. On this particlaur one it should be $E$6.

    Thanks for your assistance

    Mark

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Index and Match formula

    Try this formula in E8:

    =IFERROR(INDEX(Lookup!$B$3:$H$5,MATCH($E$6,Lookup!$A$3:$A$5,0),MATCH($A8,Lookup!$B$2:$H$2,0)),0)

    then copy down.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    01-15-2009
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Index and Match formula

    Pete,

    You are a star !!

    Thanks for your help. What had I got wrong ?

    Mark

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Index and Match formula

    Well, there were a few things ...

    It's probably easier to compare my formula with the one you had, to see what changes have been made. In addition to the AF6 referred to above, you were also trying to match on L8, so that needed changing. Also, MATCH returns the relative position of the matching cell in a range, but your ranges were mixtures of full-column and full-row, as well as shorter ranges with a different starting point than column A or row 1.

    Hope this helps.

    Pete

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Index and Match formula

    You can also use this:

    =HLOOKUP(A8,Lookup!$B$2:$H$5,MATCH($E$6,Lookup!$A$3:$A$5,0)+1,0)

+ 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. help with index/match or vlookup/match formula
    By tsiguy96 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-27-2013, 07:57 PM
  2. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  3. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  4. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  5. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM

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