Multiple conditions to check and if met grab the number

drop05

Active Member
Joined
Mar 23, 2021
Messages
285
Office Version
  1. 365
Platform
  1. Windows
Hi i am trying to come up with a formula where it is similar to a vlookup but there is multiple conditions to check/match

On my tab i am wanting it to find a code number, state, and type in each row going down the table; in another tab called adjustment, and the if those items match the selections then the output should be the value in column AO in the adjustment tab

Wasnt sure whats the best type of formula to do this matching/lookup
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
without example data to provide it is hard to give a formula, but, I'll use assumed range names instead of cell/range references.

but try this:

Mr excel questions 60.xlsm
ABCDEFGHIJ
2
3CodeNumberStateTypeCodeNumberStateTypeAdjustment
4829MD12829VA1230%
5931NC1230%
6197SC1230%
7lookup202GA1410%
810%829MD1210%
9198VA1210%
10696NC1320%
11897SC1330%
12526GA1430%
13175MD1320%
drop05
Cell Formulas
RangeFormula
A8A8=XLOOKUP(A4&B4&C4,CodeNumber&State&Type,Adjustment)
Named Ranges
NameRefers ToCells
Adjustment=drop05!$J$4:$J$13A8
CodeNumber=drop05!$G$4:$G$13A8
State=drop05!$H$4:$H$13A8
Type=drop05!$I$4:$I$13A8
 
Upvote 0

Forum statistics

Threads
1,215,167
Messages
6,123,401
Members
449,098
Latest member
ArturS75

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