LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default retain custom date format "text" when pasting or reformatting data

When you change formatting to "Text" what you see is the serial number of
the date..............that's how Excel interprets a date..........as a
serial number starting at 1 for January 1, 1900

To get your dates back, re-format to date.

Why do you need 3 different formats for dates in the column?

There is no way to format to Text after the fact and retain the original
date format........they will always revert to serial numbers.

If the cells are pre-formatted to Text, they will retain the formatting
since you are entering the dates as Text.

When pasting from another source make sure you have the "Paste Options"
enabled.

Then select "keep destination formatting" from the "Paste Options" dropdown
menu.


Gord Dibben MS Excel MVP


On Tue, 27 Oct 2009 12:01:01 -0700, frustrated worker
wrote:

I am having problems getting Excel to retain the formatting for a column.

When I realize its reformatting my data into a default date format, if i
change the format setting on the column/cell back to "text", it produces some
type of equation result (i.e. 30977 instead of 12/26/2006). Currently I have
to undo the action, and change each cell format individually and then retype
in my data.

I initially set the column to format "Text" so that it doesn't change the
format of my dates. The column contains dates in about three different
formats, and i need to retain the original format entered. It does fine
retaining the format, if i am directly entering data. but has problems if
its from a pasted source, or was directly entered prior to changing the
column format to "text.

1. is there a way to reformat the cell to text without the cell data being
changed?

2. When the cell data has been changed (i.e. 30977 instead of 12/26/2006),
is there a way to get back my originally entered data without re-entering the
data?

3. This problem is exacerbated when i have to paste in my data (often from a
Word document) either from another Excel document or a Word document - is
there anyway to prevent the column from reformatting itself on a paste in?



 
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
In Excel 2007, can you add "custom" formats to number format dropd Robin B! Setting up and Configuration of Excel 1 August 21st 09 09:31 PM
converting data - re-formating data to "date" format James Excel Discussion (Misc queries) 3 June 13th 08 09:05 PM
Custom Format font for "xx" to yellow nastech Excel Discussion (Misc queries) 2 July 9th 07 09:04 PM
Find and Replace causing a "Text" cell to become a custom date--wh Benjamino5 Excel Discussion (Misc queries) 3 May 9th 07 09:26 PM
custom format cell, if value is 0, then write "-" Toto Sanderson Excel Discussion (Misc queries) 4 February 24th 06 03:06 PM


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