Spreadsheet date

Closed
Sabajeff - 13 Oct 2009 à 16:03
Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 - 15 Oct 2009 à 06:41
Hello,

Urban legend around my office says that you can put a formula into Excel that will change the date in a cell within the spreadsheet if you change the name of the spreadsheet on the tab.

For example if you name the tab, 101209, it will populate a cell in the spreadsheet with that date.

Any ideas?

Thanks,

Sabajeff
Related:

1 response

Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 307
15 Oct 2009 à 06:41
Hello there

Use =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256) to get the sheet name to a cell
then use =DATE(RIGHT(N20,2)+1900,MID(N20,3,2),LEFT(N20,2)) to get the date where N2 is the cell where you have applied the above formula
To get everything in one formula replace N2 with the first formula (excluding'=')