Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format.... How Do I?

Status
Not open for further replies.

rdjohnso

Programmer
Mar 30, 2001
67
US
I have a report where I am trying to make the headers Jan - Dec of Current Year.. so the first coloumn header should show: January 06... but the '06'
needs to be dynamic in the se3nse that next year it should show 07.

Anyone have an idea how I can do this in a single cell?

Thanks in advance for any help.
 
=RIGHT(YEAR(NOW()), 2)

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top