LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"Phillip" wrote in message
...
On my companies host system we store dates with only two digit years and

we
use pivot dates to interpret correctly. When I create an extract of these
dates and import into excel they are not interpreted as the correct

century.
I have already changed the regional settings to accomodate this and when I
just key a date into excel cell such as 12/1/30 it comes back correctly as
12/1/2030. However, the same date in my import will come out as 12/1/1930.

I
think it has something to do with the import but I am not sure what.

Thanks for any suggestions.
--
PCastle


If my previous reply doesn't help, try this formula

=DATE(IF(YEAR(E17) < 1999,YEAR(E17)+100,YEAR(E17)),MONTH(E17),DAY(E17))

Adjust the cell reference and do a copy followed by Paste Special|Values to
insert corrected dates. Make sure the cells are formatted as Date, otherwise
you will get 47818

/Fredrik




 
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
Excel Date Format - users should be able to override it automatic. jamezog Excel Discussion (Misc queries) 7 May 20th 10 02:45 PM
Excel enters date as a text format Kane Excel Discussion (Misc queries) 3 March 22nd 05 09:20 PM
How can I import a text file into excel with each field as a sepe. [email protected] Excel Discussion (Misc queries) 8 January 18th 05 02:31 AM
Excel Date Format - Stop? Bob Excel Worksheet Functions 4 January 11th 05 01:11 AM
Excel 2002 date formulas problem Andrew Warren Excel Worksheet Functions 4 January 6th 05 11:35 AM


All times are GMT +1. The time now is 08:54 AM.

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"