Forum Discussion
vtyree
Jul 08, 2020Copper Contributor
Entering a date on multiple sheets automatically
I'm trying to put in a formula to enter dates automatically on my sheets. For example: I have 31 sheets for the month of July. I want to have the date on each sheet in the same cell. Is there a way to do this without having to enter it manually on each sheet? I'm using excel 2016.
- jbalderasCopper Contributorwhere do you enter that? and i need it to be dated format like below 7/1/24,7/2/24. etc. but I need it dated not just 1,2,3, for dates.
- vtyreeCopper Contributor
OMG thank you!!! It worked!!!! SergeiBaklan
vtyree , you are welcome
- mtarlerSilver Contributor
Ah says the man when you open his eyes. I didn't catch the 31 sheets for July as in 31 days in July. Good catch TheAntony . That solution is good IF the sheets are named 1, 2, 3, etc...
If not you can use this formula in the Name Manager to define a Name like "PrevSheet" as a reference to the same cell in the previous sheet:
=INDIRECT(INDEX(GET.WORKBOOK(1),SHEET()-1)&"'!R"&ROW()&"C"&COLUMN(),FALSE)
then:
- in sheet 1 type 1
- highlight sheets 2-31
- type in =PrevSheet+1
- mtarlerSilver ContributorIf you highlight all 31 sheets and then enter the date in the cell you want, it will get entered in that same cell on all 31 sheets.
If you mean the same date for all sheets, you may select all shift (click on first, Shift, click on last) and enter the date into the cell. Unselect sheets.
- vtyreeCopper Contributor
I mean, a different date on each sheet...for example 7/1/20, 7/2/20 and so on. SergeiBaklan