Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change date format without retyping dates

i am trying to fix a spreadsheet that a coworker made. it includes a formula
that subtracts one date from another. the problem is that the person put the
dates into the spreadsheet in "general" format. when i enter the formula
(which also includes a conditional), i get an error because the format of the
date is wrong. when i right click the dates and change the format to "date",
the numbers stay as they were when entered in "general" formatting, and the
only way i can get them to be correct and work with the formula is to
completely retype every single date AFTER changing the format to "date." is
there a way to make the format correct once the data is already in there
without having to retype everything?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default change date format without retyping dates

Merely changing the format will not change the dates if they are not real
dates.

You have to force Excel to make the change.

I would try selecting the column of dates and DataText to ColumnsFinish.

Might do the job.

Or DataText to ColumnsNextNextColumn Data FormatDate.

Choose from the dropdown and Finish.


Gord Dibben MS Excel MVP


On Tue, 21 Apr 2009 13:11:03 -0700, sarajane82
wrote:

i am trying to fix a spreadsheet that a coworker made. it includes a formula
that subtracts one date from another. the problem is that the person put the
dates into the spreadsheet in "general" format. when i enter the formula
(which also includes a conditional), i get an error because the format of the
date is wrong. when i right click the dates and change the format to "date",
the numbers stay as they were when entered in "general" formatting, and the
only way i can get them to be correct and work with the formula is to
completely retype every single date AFTER changing the format to "date." is
there a way to make the format correct once the data is already in there
without having to retype everything?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default change date format without retyping dates

Thank you, that worked!!!

"Gord Dibben" wrote:

Merely changing the format will not change the dates if they are not real
dates.

You have to force Excel to make the change.

I would try selecting the column of dates and DataText to ColumnsFinish.

Might do the job.

Or DataText to ColumnsNextNextColumn Data FormatDate.

Choose from the dropdown and Finish.


Gord Dibben MS Excel MVP


On Tue, 21 Apr 2009 13:11:03 -0700, sarajane82
wrote:

i am trying to fix a spreadsheet that a coworker made. it includes a formula
that subtracts one date from another. the problem is that the person put the
dates into the spreadsheet in "general" format. when i enter the formula
(which also includes a conditional), i get an error because the format of the
date is wrong. when i right click the dates and change the format to "date",
the numbers stay as they were when entered in "general" formatting, and the
only way i can get them to be correct and work with the formula is to
completely retype every single date AFTER changing the format to "date." is
there a way to make the format correct once the data is already in there
without having to retype everything?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default change date format without retyping dates

Good to hear.

Gord

On Wed, 22 Apr 2009 07:08:02 -0700, sarajane82
wrote:

Thank you, that worked!!!

"Gord Dibben" wrote:

Merely changing the format will not change the dates if they are not real
dates.

You have to force Excel to make the change.

I would try selecting the column of dates and DataText to ColumnsFinish.

Might do the job.

Or DataText to ColumnsNextNextColumn Data FormatDate.

Choose from the dropdown and Finish.


Gord Dibben MS Excel MVP


On Tue, 21 Apr 2009 13:11:03 -0700, sarajane82
wrote:

i am trying to fix a spreadsheet that a coworker made. it includes a formula
that subtracts one date from another. the problem is that the person put the
dates into the spreadsheet in "general" format. when i enter the formula
(which also includes a conditional), i get an error because the format of the
date is wrong. when i right click the dates and change the format to "date",
the numbers stay as they were when entered in "general" formatting, and the
only way i can get them to be correct and work with the formula is to
completely retype every single date AFTER changing the format to "date." is
there a way to make the format correct once the data is already in there
without having to retype everything?




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
Change Date Format to Specific Text Format When Copying [email protected] Excel Discussion (Misc queries) 4 December 23rd 08 03:43 PM
How do I change dates input as 20080426 to date format in Excel? Judy CS Excel Discussion (Misc queries) 7 May 8th 08 03:19 PM
Use date modified to change format & create filter to track change PAR Excel Worksheet Functions 0 November 15th 06 09:17 PM
how can i change dates from US to UK format kuju Excel Discussion (Misc queries) 1 November 9th 05 01:49 PM
Can I change a column of dates from USA to UK format? Michelle, Mencap Excel Discussion (Misc queries) 3 March 2nd 05 04:02 PM


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