Search for date - Macro

mattk918

New Member
Joined
Mar 20, 2009
Messages
22
Hi,
Caveat ..... I am rubbish at this sort of stuff, please humour me!

I am sure this will have been asked before but I can't find a suitable answer so far browsing other users posts.

I want a Macro to run within my Worksheet "Input Sheet" that

Looks at merged cell G7:I7 (don't ask... inherited document that is formatted to hell and has so many links, references and macros that it throws a wobbler if anything changes!) where there is a date.

Then looks down the range AE45:AE409 (contains a column of dates for each day of the year) finds that same date.

Then pastes the value from cell G32 into the column to the right of the date range, i.e. the appropriate cell of AF45:AF409

I am sure that this is childsplay to many out there, but it has got me ready to bang my head against the wall this afternoon!!!

Any help greatfully received

Matt
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Can't belive that some of you genius's can't solve something like this in a matter of seconds??? Would really appreciate some pointers
 
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,194
Members
448,554
Latest member
Gleisner2

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