formula to match cell with date

CRAIG20

Board Regular
Joined
Mar 20, 2006
Messages
230
Hi.

Sample attached.

I would like a formula for cell D2 (in yellow). I want to enter the number from column B which matches the date shown in F2. So in the sample it should display 28458.51 as this is the number which matches date 08/01/25.

Many thanks in advance.
 

Attachments

  • Capture.PNG
    Capture.PNG
    20.8 KB · Views: 9
Consider updating your profile to show your version of Excel. The answer will vary depending on that.

Excel Formula:
=XLOOKUP(F2,A:A,B:B)

if your version does not support XLOOKUP then

Excel Formula:
=VLOOKUP(F2,A:B,2,FALSE)
 
Upvote 0
Consider updating your profile to show your version of Excel. The answer will vary depending on that.

Excel Formula:
=XLOOKUP(F2,A:A,B:B)

if your version does not support XLOOKUP then

Excel Formula:
=VLOOKUP(F2,A:B,2,FALSE)
Thank you very much!
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,918
Members
453,766
Latest member
Gskier

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