If statement or Macro

Smurfit-Stone

Active Member
Joined
Dec 1, 2004
Messages
485
Hello Board,

I have a book with two sheets. One is for a week's worth of data and the other is for daily data. I need a macro or formula that does a lookup ( to match a date on sheet1, then find that date on sheet2) then perform a copy from sheet1, then paste to the appropriate (matched) column on sheet 2.
Sheet 2 has columns (E4:K4) labeled with the days of the week i.e. 7/11/2011, 7/12/2011. etc. Sheet 1 would have todays date entered in cell E1. If the date on sheet 1, E1, matched a date between E4:K4, the macro or formula would copy the data from sheet 1, D27:D48 and plaste it on sheet2 in the column for the appropriate matched date. Hope I made sense. Thanks in advance
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,224,520
Messages
6,179,266
Members
452,902
Latest member
Knuddeluff

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