Vlookup Help Please.. :)

jodiefullerton

New Member
Joined
Sep 3, 2020
Messages
11
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi there,

I am struggling to get this to work and its bugging me! i hope you lovely people can help me.

Basically if the content within column A and B of sheet one, matches the content of column A and B on sheet 2, then insert date from column D on sheet 2 into column J on sheet 1

I hope this makes sense.

Thanks so much.

Jodie
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Code:
=IF(CONCAT(A1:B1)=CONCAT(Sheet2!A1:B1),Sheet2!D1,"")
 
Upvote 0
Hi thank you for this. Sheet 2 is part of the workbook, when I popped this formula in it popped up with a box to let me open a spreadsheet? Unless I am doing something...
 
Upvote 0
Assuming there is no more than one match for each combination, here is one way (assuming starting on row 1):
Excel Formula:
=SUMPRODUCT(--(Sheet2!A:A=Sheet1!A1),--(Sheet2!B:B=Sheet1!B1),(Sheet2!D:D))
This will return 0s for the values that don't match.
You can use Conditional Formatting to hide those values, if you like.
 
Upvote 0
Hi thank you for this. Sheet 2 is part of the workbook, when I popped this formula in it popped up with a box to let me open a spreadsheet? Unless I am doing something...
Hmm I am not sure. I just entered that formula into Sheet1!J1
 
Upvote 0
Try this. Check the sheet name & row range.

Excel Formula:
=IFERROR(INDEX(Sheet2!D:D,AGGREGATE(15,6,ROW(Sheet2!A$1:A$10)/((Sheet2!A$1:A$100=A2)*(Sheet2!B$1:B$100=B2)),1)),"")
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,616
Members
449,238
Latest member
wcbyers

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