#1   Report Post  
Dee
 
Posts: n/a
Default Date format

I have a spreadsheet where I want to format the cells as dates. However, I
need to paste dates from a word document into the cells. When I do this, the
dates do not show up as the way I formatted them. Even if I apply the date
format, the correct one does not show. Is there a way to format the pasted
cells to show the correct format?

Thanks in advance for any help.
  #2   Report Post  
Max
 
Posts: n/a
Default

One way to try out ..

Assuming you have pasted the "dates" into col A

Select col A
Data Text to columns
Click Next Next to go to step 3 of the wizard
In step3:
Check "Date" under "Column data format",
then choose the *correct* selection from the droplist
(MDY, DMY, YMD ...)
Click Finish
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Dee" wrote in message
...
I have a spreadsheet where I want to format the cells as dates. However, I
need to paste dates from a word document into the cells. When I do this,

the
dates do not show up as the way I formatted them. Even if I apply the date
format, the correct one does not show. Is there a way to format the pasted
cells to show the correct format?

Thanks in advance for any help.



  #3   Report Post  
Fred Smith
 
Posts: n/a
Default

Your problem is that, after pasting from Word, your cell has text in it, not
dates. All attempts to format text are ignored by Excel. To convert text to
usable numbers or dates, there are several techniques, mostly involving
forcing Excel to do arithmetic on the text:

1. =--a1 (converts '10' to -10, then +10, but now it's a number, not text)
2. =a1+0
3. Enter 0 in a cell, copy it, use Paste Special on the destination cell
(a1), and choose Add
4. Use DataText to Columns

Most people use #3 because it's the only one which doesn't involve the
creation of new cells.

--
Regards,
Fred
Please reply to newsgroup, not e-mail


"Dee" wrote in message
...
I have a spreadsheet where I want to format the cells as dates. However, I
need to paste dates from a word document into the cells. When I do this,
the
dates do not show up as the way I formatted them. Even if I apply the date
format, the correct one does not show. Is there a way to format the pasted
cells to show the correct format?

Thanks in advance for any help.



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

I use a variation of #3.

I copy an empty cell and paste special|Add with that.

Then the empty cells in my pasted range aren't changed to 0.

Fred Smith wrote:

Your problem is that, after pasting from Word, your cell has text in it, not
dates. All attempts to format text are ignored by Excel. To convert text to
usable numbers or dates, there are several techniques, mostly involving
forcing Excel to do arithmetic on the text:

1. =--a1 (converts '10' to -10, then +10, but now it's a number, not text)
2. =a1+0
3. Enter 0 in a cell, copy it, use Paste Special on the destination cell
(a1), and choose Add
4. Use DataText to Columns

Most people use #3 because it's the only one which doesn't involve the
creation of new cells.

--
Regards,
Fred
Please reply to newsgroup, not e-mail

"Dee" wrote in message
...
I have a spreadsheet where I want to format the cells as dates. However, I
need to paste dates from a word document into the cells. When I do this,
the
dates do not show up as the way I formatted them. Even if I apply the date
format, the correct one does not show. Is there a way to format the pasted
cells to show the correct format?

Thanks in advance for any help.


--

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
Date Format Question Josh O. Excel Discussion (Misc queries) 1 February 10th 05 09:45 PM
Format cells as date bay Excel Discussion (Misc queries) 3 January 26th 05 05:34 PM
USING THE DATE FORMAT IN EXCEL teach Excel Discussion (Misc queries) 3 December 14th 04 11:55 PM
Date format collapses diagram Richard H Excel Discussion (Misc queries) 3 December 14th 04 11:08 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM


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