search for matching dates, then copy data when a match is found

RXND

New Member
Joined
Jan 26, 2024
Messages
5
Office Version
  1. 2019
Platform
  1. Windows
Hello Everyone have a problem that I’m trying to solve.

Id like to match dates from column c to column A, and copy the data from column D to Column B.

I have raw data with dates( C & D ) but are not in order, or skipping some dates. I basically need a way to search through the dates, and match them with the calendar days on column A, and then copy the matching info to column B.

Any help to point me in the right direction is greatly appreciated.

Thank you
 

Attachments

  • IMG_6646.jpeg
    IMG_6646.jpeg
    237.6 KB · Views: 5
Just noted you have Excel 2019, if you get an error when using that formula, please try this one(Again, please change the range to match what is on your sheet).

VBA Code:
=IFNA(VLOOKUP(A1,$C$1:$D$13,2,FALSE),"")

I hoe you have a good weekend as well.
Thank you, this worked for me under excel 2019
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Thank you, this worked for me under excel 2019
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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