+ Reply to Thread
Results 1 to 2 of 2

Using INDEX/MATCH With Multiple IF Statements

  1. #1
    Registered User
    Join Date
    02-16-2011
    Location
    Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    4

    Using INDEX/MATCH With Multiple IF Statements

    A1 B1 C1 D1 E1 F1
    100 32.5 2/1 2/6 101 x
    100 33.4 2/4
    100 34.5 2/5
    100 31.6 2/6
    100 34.9 2/9
    101 38.4 2/1
    101 34.4 2/4
    101 39.7 2/5
    101 39.1 2/6
    101 31.1 2/9
    102 32.4 2/1
    102 34.1 2/4
    102 33.3 2/5
    102 34.9 2/6
    102 31.1 2/9

    What I am trying to do is create a formula that will let me enter in values into 2 cells and have it pull from a list. In the table above, I would like to enter data into cells D1 and E1, and have it pull the corresponding value from column B. For example, if cell D1 = 2/6 and E1 = 101, the value returned should be 39.1, displayed in cell F2. I can make it work if there is only one field that I am entering data into, but can't seem to do this with two criteria fields.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using INDEX/MATCH With Multiple IF Statements

    =sumproduct(--($a$1:$a$100=e1),--($c$1:$c$100=d1),$b$1:$b$100)

    or

    =Index($b$1:$b$100,Match(1,(($a$1:$a$100=e1)*($c$1:$c$100=d1)),0),0)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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