Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mikelenno
 
Posts: n/a
Default How do I convert date values to non-date format e.g. 01-06-78?

Hello,

we have a large spreadsheet (Excel 2003) with bank codes that have been
automatically converted to date format. Any bank code in column G that could
also be a date, such as 03-07-78, will get converted to 03/07/78. Is there a
way to convert these 'dates' back to format for bank code (we do need date
format for other column)?

Thank you,

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I think you'd be much better off reimporting the data into excel.

If you're importing a text file, make sure that the extension is .txt. Then
file|open your workbook and specify Text for that field.

But you could try a helper column with formulas like:

=IF(ISNUMBER(A1),TEXT(A1,"mm-dd-yy"),A1)

(But I'd start from scratch and re-import.)

mikelenno wrote:

Hello,

we have a large spreadsheet (Excel 2003) with bank codes that have been
automatically converted to date format. Any bank code in column G that could
also be a date, such as 03-07-78, will get converted to 03/07/78. Is there a
way to convert these 'dates' back to format for bank code (we do need date
format for other column)?

Thank you,


--

Dave Peterson
  #3   Report Post  
mikelenno
 
Posts: n/a
Default

Thanks Dave. I'll check when back at work next week.

"Dave Peterson" wrote:

I think you'd be much better off reimporting the data into excel.

If you're importing a text file, make sure that the extension is .txt. Then
file|open your workbook and specify Text for that field.

But you could try a helper column with formulas like:

=IF(ISNUMBER(A1),TEXT(A1,"mm-dd-yy"),A1)

(But I'd start from scratch and re-import.)

mikelenno wrote:

Hello,

we have a large spreadsheet (Excel 2003) with bank codes that have been
automatically converted to date format. Any bank code in column G that could
also be a date, such as 03-07-78, will get converted to 03/07/78. Is there a
way to convert these 'dates' back to format for bank code (we do need date
format for other column)?

Thank you,


--

Dave Peterson

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
Convert numbers from text format to number format merlin68 Excel Discussion (Misc queries) 7 June 20th 07 07:03 PM
How do I keep the date from changing format in a mail merge? Brynn Wilson Excel Discussion (Misc queries) 1 June 9th 05 06:44 PM
How to format a date to a different format Laura Excel Discussion (Misc queries) 1 March 5th 05 09:59 PM
How to convert string to a date galsaba Excel Worksheet Functions 3 March 4th 05 05:20 PM
How do I convert a number formated as a date to text in Excel? BrotherNov Excel Discussion (Misc queries) 5 March 2nd 05 03:51 PM


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