+ Reply to Thread
Results 1 to 4 of 4

Index Match / Search / Find not working

Hybrid View

  1. #1
    Registered User
    Join Date
    03-05-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    12

    Index Match / Search / Find not working

    Good Morning All,

    I am trying to use an index match/search/find but none of what i am trying to do is working. Workbook attached.

    Basically in this demo sheet, I am trying to find the cost of "Pears". But not "Apple and Pears" or "Pears in Syrup".

    Indexs are setup the way they are because in my real spreadsheet, these are appearing on another sheet and are set up dynamically.

    How do i find the cost of pears? Thank you

    Bob
    Attached Files Attached Files
    Last edited by BobJApples; 03-08-2021 at 09:25 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Index Match / Search / Find not working

    will you be using filters, and can values appear twice?

    =SUMIF(B3:B10,"Pears",C3:C10) if no repetition

    =INDEX(C3:C10,MATCH("Pears",B3:B10,0)) first match

    last match
    =LOOKUP(2,1/("Pears"=B3:B10),C3:C10)

    what do you want to achieve?

  3. #3
    Registered User
    Join Date
    03-05-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    12

    Re: Index Match / Search / Find not working

    Hello,

    Thank you, the first one works just fine thankyou, however i can not use the "b3:b10" part because my area and size constantly change depending on what is pasted into it.

    For instance, i may have to look in column B for the search and need the result out of column E but for the next data set which gets pasted in I may be column A and column H. I can determine these columns dynamically, but i need to pass them through to the sumif.

    Hence my use of using "INDEX(B:C,3,2):INDEX(B:C,10,2)". Is there a way to achieve this with your solution?

    Thank you

  4. #4
    Registered User
    Join Date
    03-05-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    12

    Re: Index Match / Search / Find not working

    Hello,
    I was eventually able to solve this with this formula:

    =SUMIF(INDEX(B:C,3,1):INDEX(B:C,10,1),"Pears",INDEX(B:C,3,2):INDEX(B:C,10,2))

    Thank you

+ 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] Formula containing index match isnumber and search with a few Ifs thrown in, not working
    By SueBristow in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-21-2018, 05:23 AM
  2. Replies: 1
    Last Post: 06-03-2016, 12:55 PM
  3. [SOLVED] Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 01:03 AM
  4. Correct/Working (Index,Match) formula not working between cells
    By barnerd in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-11-2014, 01:20 PM
  5. Replies: 2
    Last Post: 05-24-2013, 09:32 AM
  6. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  7. [SOLVED] Lookup or index match for "contains" rather than exact match -- find/search?
    By Excel@shoenfeltconsulting.com in forum Excel General
    Replies: 2
    Last Post: 07-02-2006, 05:50 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