Set a month as range based on single date in one cell

mexcel300

New Member
Joined
May 10, 2011
Messages
3
I have dates in a row formatted as month/year, i.e. April 2011(4/1/2011). I need a cell under this date to match the April 2011 date to the same month and year in a column on another sheet that has daily dates and select that whole month (April) as the range. Once that range it selected I need it to find a maximum value from the column 2 to the right. Thanks in advance for any help, Mike
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Looks like a VBA code. Try recording a macro & do this task manually. Then you can run this macro to do the same thing automatically. You can tweak the code a little to fit any conditions.
 
Upvote 0
I dont think recording the macro will be able to tell it that it selected the range based on something or that I'm looking for a max value...
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,856
Members
452,948
Latest member
UsmanAli786

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