How can I optimize a nested multiple criteria lookup-boolean function?

George_Martin_3

New Member
Joined
Sep 12, 2015
Messages
20
This function returns a true or false statement if the corresponding lookup value is less that the table settings.
The lookup-table is static but the lookup-values are dynamic and may exist in the lookup-table in more than way. We have built the function logic to answer the question 'does this statement exist in the table' at the highest level of resolution first. How can we improve this function? Thank you!

=IFERROR(BE2<VLOOKUP(I2&O2&P2&AU2,'Y5 Table'!A:Q,17,0),IFERROR(BE2<VLOOKUP(I2&O2&P2&CA2&CB2&"*",'Y5 Table'!B:Q,16,0),IFERROR(BE2<VLOOKUP(I2&O2&P2&CA2&"*",'Y5 Table'!B:Q,16,0),IFERROR(BE2<VLOOKUP(I2&O2&AU2,'Y5 Table'!C:Q,15,0),IFERROR(BE2<VLOOKUP(I2&O2&CA2&CB2&"*",'Y5 Table'!D:Q,14,0),IFERROR(BE2<VLOOKUP(I2&O2&CA2&"*",'Y5 Table'!D:Q,14,0),IFERROR(BE2<VLOOKUP(I2&AU2,'Y5 Table'!E:Q,13,0),IFERROR(BE2<VLOOKUP(I2&O2&CA2&CB2&CC2&"*",'Y5 Table'!D:Q,14),"Lookup Error"))))))))
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Tell us what you mean by "improve".

Does this formula work for you ?

If not, what is it doing wrong ?

If yes, in what way do you want to improve it ?
 
Upvote 0

Forum statistics

Threads
1,216,128
Messages
6,129,044
Members
449,482
Latest member
al mugheen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top