#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default date formatting

currently i have a date such as this in a the field; 08/13/2009, i want to
create another column and show only the year. how can this be done.
assistance is appreciated. working on this report now and due soon. help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default date formatting


SMASE, Inc.;452269 Wrote:
currently i have a date such as this in a the field; 08/13/2009, i want
to
create another column and show only the year. how can this be done.
assistance is appreciated. working on this report now and due soon.
help.


say your date is in cell K17, then in any other cell:
=YEAR(K17)


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=125191

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default date formatting

=YEAR(A1) works to get the year VALUE in the other cell

=A1 in the other cell and give the custom format of yyyy will leave the
date in the second cell and DISPLAY the year

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"SMASE, Inc." wrote in message
...
currently i have a date such as this in a the field; 08/13/2009, i want to
create another column and show only the year. how can this be done.
assistance is appreciated. working on this report now and due soon.
help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default date formatting

thank you for your knowledge and sharing of it. your response is greatly
appreciated. oh, by the way it worked !

"p45cal" wrote:


SMASE, Inc.;452269 Wrote:
currently i have a date such as this in a the field; 08/13/2009, i want
to
create another column and show only the year. how can this be done.
assistance is appreciated. working on this report now and due soon.
help.


say your date is in cell K17, then in any other cell:
=YEAR(K17)


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=125191


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
formatting of date Libby Excel Discussion (Misc queries) 4 November 6th 08 11:20 PM
Date formatting Hawksby Excel Discussion (Misc queries) 2 December 15th 06 02:45 PM
Date Formatting Big Rick Excel Discussion (Misc queries) 34 January 11th 06 10:02 PM
date formatting? tkaplan Excel Discussion (Misc queries) 4 September 8th 05 05:25 PM


All times are GMT +1. The time now is 12:28 AM.

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

About Us

"It's about Microsoft Excel"