LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Jessica
 
Posts: n/a
Default How to Change Date Formats

I have a bunch of raw data that I am working with. One of the columns
displays dates and I am trying to strip out the year. If I try to use the
YEAR function I get strange answers back.

For example:

Cell reads: 1/1/2006
Answer using YEAR function: 06/1905
Answer that I want: 2006

My data comes from a CSV file, so I think maybe it is in a different date
format than excel uses as a standard. Any suggestions on how to reformat
this data or some other formula I can use to get the answer I am looking for?
 
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
cell color change based on due date MINAL ZUNKE New Users to Excel 2 June 30th 05 09:24 PM
excel date formats changed bob Excel Worksheet Functions 1 March 1st 05 02:59 PM
Seed date formats to different year in different cells KR Excel Discussion (Misc queries) 4 February 12th 05 12:02 AM
How would I change a date cell to decrease it by business days? CNGracin Excel Discussion (Misc queries) 3 December 15th 04 05:20 PM
How do I set date to change automatically on invoices created wit. Angel New Users to Excel 3 November 30th 04 04:10 AM


All times are GMT +1. The time now is 02:53 PM.

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

About Us

"It's about Microsoft Excel"