Index(match...1)

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,851
Office Version
  1. 365
Platform
  1. Windows
I have invoice amounts in column A and approvers names on corresponding cell in column B, we have more than one approvers depending on the amount in column B.
I arranged the approvers names in column C and the upper limit of amount they can approve in corresponding column D. the last name in the list does not have upper limit, so there is no amount.
I am looking for a formula that sees the amount in column B, MATCH it with upper the limit in Column D and fetch the name from column C. (I can switch the names and amount in column C and D).

I can do it with =IF(AND formula, but there are more than one approvers so I think I will need, INDEX AND MATCH formula with 1.


Please advise.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try this formula...

Code:
[COLOR=#0000cd]=IFERROR(IFERROR(INDEX($C$2:$C$4,MATCH(TRUE,INDEX($D$2:$D$4>=A2,0),)),NA),INDEX($C:$C,COUNTA($C:$C)))[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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