Dates

k_babb

Board Regular
Joined
Mar 28, 2011
Messages
71
Hi i want to make a calender to use in other sheets in a workbook
the problem is i would like to change the year on one worksheet and to automatically update all the sheets

so i have sheet1 with 01/jan in cell A1 02/jan in a2 and so on
then 01/feb in b1 02/feb in b2 and so on

what i would like to do is have a cell with 2011 in it and the just change this cell and for the dates to update so cell a1 would have 01/jan/2011
which would change to 2012 if i change the cell with the year in

any help would be great or if there is an easier way
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hello

Look at the Date function. It allows to specify year, month, day (in that order). The argument for the year could come from 1 central cell in the workbook. Just insert the reference to that cell instead of hard-coding 2011 or 2012.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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