Not sure of best formula - Trying IF statement with Xlookup

shellwig

New Member
Joined
Dec 22, 2015
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Thank you for any help provided. I'm not sure if this is best approach but I'm thinking an IF statement with Xlookup can get me the correct results but I'm having trouble. I am open to other suggestions.

If B1&C1, lookup F&G then return H. My problem comes when I try to get the correct return for C2 - C4. I'm trying to get in 1 formula.
1711731769642.png


Thank you in advance!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
=INDEX($H$1:$H$4,MATCH($B$1&C1,$F$1&$G$1:$G$4,0))

BUT not sure on C2 - as its the same value as C1

what are the expected results

Book1
ABCDEFGH
1MRUSLLYoutlierMRUSLLYoutlier
2LLYoutlierLLYOther Mass
3LOMoutlierLFIoutlier
4LFIoutlierLOMoutlier
Sheet1
Cell Formulas
RangeFormula
D1:D4D1=INDEX($H$1:$H$4,MATCH($B$1&C1,$F$1&$G$1:$G$4,0))
 
Upvote 0
It would help if you gave expected results in your post, but maybe:
Book1
ABCDEFGH
1MRUSLLYoutlierMRUSLLYoutlier
2LLYOther MassLLYOther Mass
3LOMoutlierLFIoutlier
4LFIoutlierLOMoutlier
Sheet1
Cell Formulas
RangeFormula
D1:D4D1=INDEX($H$1:$H$4,MATCH(B1&C1,$F$1:$F$4&$G$1:$G$4,0))
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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