month year function

mcarter973

Board Regular
Joined
Mar 24, 2002
Messages
83
I have dates in column A, values in column B, daily % change in column C, monthly % change in column D and YTD % change in column D. Values are entered daily.

Is there a formula that will allow me to copy down the formula w/o changing cell reference for the month end or year end dates. for example, for monthly % change, Apr 8 will use the value from Mar 31 and May 15 will use the value from Apr 30 - but this requires a manual cell reference change from the value in the Mar 31 cell to the value in the Apr 30 cell.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Use =EOMONTH(datevalue,-1) and MATCH to find the value in your list
This message was edited by Mark W. on 2002-05-09 09:20
 
Upvote 0
On 2002-05-09 09:15, mcarter973 wrote:
I have dates in column A, values in column B, daily % change in column C, monthly % change in column D and YTD % change in column D. Values are entered daily.

Is there a formula that will allow me to copy down the formula w/o changing cell reference for the month end or year end dates. for example, for monthly % change, Apr 8 will use the value from Mar 31 and May 15 will use the value from Apr 30 - but this requires a manual cell reference change from the value in the Mar 31 cell to the value in the Apr 30 cell.

=EOMONTH(A1,-1)

where A1 houses a date like 8-Apr-02.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,492
Members
448,967
Latest member
visheshkotha

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