VLOOKUP FUNCTION?

jpalleyne

New Member
Joined
Dec 12, 2019
Messages
24
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
I need a formula to return the ref # from table #2 so I have the ref # in table #1. I'd need the formula to be based on date and and amount as those would be the only unique identifiers given that the numbers have the potential to repeat themselves, that's where the date criteria would come in but there's still a chance that the same number will be present on that particular date. I was trying VLOOKUP/MATCH with no luck.
Any help would be appreciated.
Table #1
Date​
Details​
Amount​
Ref #​
01/03/2023​
Digital- SOUTH COAST DENTmed i​
2,368.26​
?
Table #2
Date​
Details​
Amount​
Ref #​
01/03/2023​
Wire Transfer
2,368.26​
12614​
 
RangeFormula
D3:D8D3=XLOOKUP([@Date]&[@Amount],Table2[Date]&Table2[Amount],Table2[Ref '#])
Okay will do next time. I'm not getting the results you did. Is there more to the XLOOKUP that's needed?
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
As I said in my previous post, I don't think that XLOOKUP formula is robust and I posted what I believe is a better version in my second mini sheet in my previous post.

If you are not getting the correct results then use XL2BB to post some small sample data that is showing incorrect results and tell us which results are incorrect and what the correct results should be and why.
 
Upvote 0

Forum statistics

Threads
1,215,263
Messages
6,123,958
Members
449,135
Latest member
jcschafer209

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