#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Importing Sort Codes

Hi there
Currently importing banking data that includes sort codes but EXcel 2003 is
automatically converting the 01-07-07 format into date format 01/07/07. When
I format to Custom or Text it appears as 39264. Any suggestions on a formula
I can run to convert them all to the correct value in text/custom format?
Thanks
Claire
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Importing Sort Codes

=text(A1,"dd-mm-yy")
will convert it back to the code

"ClaireBrowny" wrote:

Hi there
Currently importing banking data that includes sort codes but EXcel 2003 is
automatically converting the 01-07-07 format into date format 01/07/07. When
I format to Custom or Text it appears as 39264. Any suggestions on a formula
I can run to convert them all to the correct value in text/custom format?
Thanks
Claire

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Importing Sort Codes

Don't convert then to text! 39264 is just the number of days since
Jan-01-1900. Microsoft started there time zero in 1900. All you have to do
is highlight the column of data. Then go to Tool Menu - Format - Cells -
Number - Date and select one of the date formats. The numbers will all
change to dates.

"ClaireBrowny" wrote:

Hi there
Currently importing banking data that includes sort codes but EXcel 2003 is
automatically converting the 01-07-07 format into date format 01/07/07. When
I format to Custom or Text it appears as 39264. Any suggestions on a formula
I can run to convert them all to the correct value in text/custom format?
Thanks
Claire

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
Importing ZIP codes in different formats via query workmanaaron Excel Discussion (Misc queries) 0 October 6th 06 11:28 PM
How to sort by ZIP codes listed in one column in Excel spread sh? Indian Scout Kit Carson Excel Discussion (Misc queries) 2 February 4th 06 10:26 PM
How do I sort area codes by time zones Paul Excel Discussion (Misc queries) 1 August 4th 05 08:14 AM
How do you sort zip codes with 0's being the lead number? Pat Hughes Excel Discussion (Misc queries) 2 August 3rd 05 08:01 PM
Excel doesn't sort zip codes properly [email protected] Excel Discussion (Misc queries) 4 February 4th 05 12:30 AM


All times are GMT +1. The time now is 11:30 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"