A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formatting dates by year



 
 
Thread Tools Display Modes
  #1  
Old February 9th, 2004, 06:12 AM
DKD
external usenet poster
 
Posts: n/a
Default Formatting dates by year

I would like to know if there is a way to format dates so
that they are formatted by year only. For example, if I
click on Format - Cells, there are a bunch of options,
but none of them list to show the year only, just
mm/dd/yy or mm/yy, etc. I am trying to create a chart so
that only the year shows up. Thanks.
  #2  
Old February 9th, 2004, 01:05 PM
DKD
external usenet poster
 
Posts: n/a
Default Formatting dates by year

Hi, I have tried this, but what it does is give one
specific year (ie. 1905) for all the years I have
entered. I want to just keep my values.

Any suggestions? Many thanks.


-----Original Message-----
HI

try clicking

format
cells
custom
then in the 'type' box, enter
yyyy


---
Message posted from http://www.ExcelForum.com/

.

  #3  
Old February 9th, 2004, 03:46 PM
DKD
external usenet poster
 
Posts: n/a
Default Formatting dates by year

I tried this, but the years then show up as only one year
(i.e. 1905) for all the values. I want to keep my values.

Any help is greatly appreciated!

-----Original Message-----
HI

try clicking

format
cells
custom
then in the 'type' box, enter
yyyy


---
Message posted from http://www.ExcelForum.com/

.

  #4  
Old February 9th, 2004, 04:17 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default Formatting dates by year

If you enter (for example) 1999 in a cell, then format the cell as YYYY,
Excel thinks that your cell (1999) is the 1999th day since Excel's
calendar started on 1/1/1900. So 1999 is 21-June-1905. The numbers 1828
to 2192 would appear as 1905 if formatted YYYY.

Either just keep using the years as whole numbers, or change the cells
so they hold actual dates, like Jan 1 1999.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

DKD wrote:

Hi, I have tried this, but what it does is give one
specific year (ie. 1905) for all the years I have
entered. I want to just keep my values.

Any suggestions? Many thanks.



-----Original Message-----
HI

try clicking

format
cells
custom
then in the 'type' box, enter
yyyy


---
Message posted from http://www.ExcelForum.com/

.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.