![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 101
|
I need to convert MM/DD/YY dates to their five digit serial number equivalents. The usual FORMAT | CELLS | NUMBER | GENERAL commands will not work. The dates convert just fine if I enter them manually.
Any help will be greatly appreciated. Thanks. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Victoria, Australia
Posts: 761
|
Josh
Were the dates imported from an external file? It may be possible that Excel is treating them as text. If this is the case, enter 1 in a cell, copy it, and paste special multiply. This will convcert the text to a number. HTH Richard |
|
|
|
|
|
#3 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
As Richard said, they are probably Text. Copy a number 1 from any cell, select the dates the go to Edit>Paste special | multiply. Then format as General. or just use: =A1*1 where A1 holds the text date |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 101
|
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Posts: 101
|
Thanks guys. It works just like you said.
|
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 2005
Location: Harrisburg, PA
Posts: 4
|
That was quite possibly the GREATEST tip ever written!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|