I have an excel sheet that I'm trying to search through multiple criteria to check that the term of something does not exceed the allowable length.
There are multiple criteria that change, including a "Tier", "Year", "KM's" and "Term". I need to reference my table to match up the tier/year/km's/term to ensure the TERM does not exceed the allowable one.
I got it working using a whole bunch of nested IF AND statements however I have exceed the 64 allowable and need another option.
Example of the statement i had that was working:
A87 = TIER
A92 = YEAR
C44 = MAX TERM
A95 = KM's
=IF(AND(A87=2,A92=2008,C44>12,A95<=180000),12,
IF(AND(A87=2,A92=2009,C44>24,A95<=180000),24,
IF(AND(A87=2,A92=2010,C44>36,A95<=165000),36,
IF(AND(A87=2,A92=2010,C44>30,A95<=180000),30,
IF(AND(A87=2,A92=2011,C44>48,A95<=180000),48,
IF(AND(A87=2,A92=2012,C44>60,A95<=130000),60,
IF(AND(A87=2,A92=2012,C44>54,A95<=165000),54,
IF(AND(A87=2,A92=2012,C44>48,A95<=180000),48,
I'm thinking I need to VLOOKUP but not sure how to go about it with multiple criteria needing to match in multiple rows.
I've attached a link to a picture of what i'm try to do (because i cannot upload an excel for some reason):
imgur.com/gallery/jiQO7SK
Bookmarks