+ Reply to Thread
Results 1 to 5 of 5

Double lookup or index and match?

  1. #1
    Registered User
    Join Date
    01-13-2013
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    4

    Double lookup or index and match?

    Afternoon all,

    I'm hoping someone can help with the below. Basically I have a table of prices (1,2,3 over A,B,C,D,E etc) and I need to complete a value for a list of requests, i.e how much for C 2 or A 3 for example.

    I'm lost on the best way to do this....

    Thanks in advance

    excel.png

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Double lookup or index and match?

    =index(b4:d10,match(g5,a4:a10,0),match(f5,b3:d3,0))

    cross posted http://www.mrexcel.com/forum/excel-q...dex-match.html
    Last edited by icestationzbra; 01-13-2013 at 08:55 AM. Reason: cross posting info
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Registered User
    Join Date
    01-13-2013
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Double lookup or index and match?

    Thanks for your quick response but I just get a 'N/A'...

    excel2.png

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Double lookup or index and match?

    looks like the values in b3:d3 are text delete them format the cells as general and re enter them
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Double lookup or index and match?

    looks like cell F5 is number where as cells B3:D3 are text. if that is the case, you will get an error. keep them all in the same format.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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