+ Reply to Thread
Results 1 to 11 of 11

Index Match - nested If (less than/greater than statements)

  1. #1
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Index Match - nested If (less than/greater than statements)

    Hi,

    I am having some trouble with an excel function. I have a worksheet of data where if the cell gives be A, go to a reference table, match A then perform multiple if statements.

    Ref table:
    Row/Coll A B C D
    1 A 1 5 Good
    2 A 6 10 Better
    3 A 11 15 Best
    4 B 1 10 Good
    5 B 11 20 Better
    6 B 21 30 Best

    So if the inputs were A and 7, give me Better

    But if they were B and 25, give be Best

    Input cells are E1 & E2, to spit out the number in E3

    MANY THANKS!!
    Last edited by kelea; 08-28-2009 at 02:57 PM. Reason: not enough details

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Index Match - nested If (less than/greater than statements)

    You don't specify where the table is located - let's assume for sake of demo A1:D6 then one option would be:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match - nested If (less than/greater than statements)

    Hi,

    Thanks for the response but i'm confused to the "1/" that is on the equation. i also filled in more details.

    Thanks

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Index Match - nested If (less than/greater than statements)

    In which case, modified version below

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match - nested If (less than/greater than statements)

    It's still not working i'm sorry to be so difficult!

    Could you explain what is the purpose of the 2 and 1/ in the front of the equation please?

    Thanks!

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Index Match - nested If (less than/greater than statements)

    Post a file in which you have your table and the formula present.

    Re: explanations - I would suggest getting it to work in the first instance.

  7. #7
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match - nested If (less than/greater than statements)

    ok the inputs are on the tab 'Sheet1' and the references are on 'employee range'

    i need the formula to work in 'Cat employees'

    thanks
    Attached Files Attached Files

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Index Match - nested If (less than/greater than statements)

    You're getting an error because there are no values in Column C for Germany < 5 (value in D2) thus no value can be returned from D given no rows meet all criteria.

  9. #9
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match - nested If (less than/greater than statements)

    PERFECT! I GOT IT TO WORK! THANK YOU!

    but could you explain the 2 and the 1/ now?

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Index Match - nested If (less than/greater than statements)

    Below are a couple of older threads in which I tried to explain the basic premise (not brilliantly I hasten to add but to the extent that it should become alittle clearer):

    http://www.excelforum.com/excel-2007...-function.html

    http://www.excelforum.com/excel-work...te-values.html

    Unfortunately at 9:30pm on a Friday evening I'm not quite up to posting anything particularly coherent!

  11. #11
    Registered User
    Join Date
    08-28-2009
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Index Match - nested If (less than/greater than statements)

    no it makes perfect sense! thanks so much

+ 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