Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bluebean
 
Posts: n/a
Default how to put date slashes in to a column of number


hi all,

I have a spreadsheet which has two colums full of numbers, they are
dates but just written as numbers i.e. 20050923 for today's date. How
can I change them so that they show up as 2005/09/23? I've tried to
customize them but it won't work.
thanks!


--
bluebean
------------------------------------------------------------------------
bluebean's Profile: http://www.excelforum.com/member.php...o&userid=25951
View this thread: http://www.excelforum.com/showthread...hreadid=470165

  #2   Report Post  
moondark
 
Posts: n/a
Default


try the following:

In the format/Cells menu you can enter user defined formats.

Excel won't accept slashes in user defined format so you have to mark
as special character by adding a backslash in front of. Just like
this:

####\/##\/##

# stands for a variable digit


if doesn't work, try to declare / as text by adding double quotes
(####"/"##"/"##)

good luck ;),
Simon


--
moondark
------------------------------------------------------------------------
moondark's Profile: http://www.excelforum.com/member.php...o&userid=27390
View this thread: http://www.excelforum.com/showthread...hreadid=470165

  #3   Report Post  
bluebean
 
Posts: n/a
Default


Simon, you're a star, that worked perfectly - thanks a million :)


--
bluebean
------------------------------------------------------------------------
bluebean's Profile: http://www.excelforum.com/member.php...o&userid=25951
View this thread: http://www.excelforum.com/showthread...hreadid=470165

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

If you really want those values to be dates, you can do this for each column.

select the column
data|text to columns
fixed width (remove any lines that excel guessed)
choose ymd as that field format
finish up the wizard
format that column the way you want

and do the second column.

Numbers that look like dates are usually more confusing than they're worth.

bluebean wrote:

hi all,

I have a spreadsheet which has two colums full of numbers, they are
dates but just written as numbers i.e. 20050923 for today's date. How
can I change them so that they show up as 2005/09/23? I've tried to
customize them but it won't work.
thanks!

--
bluebean
------------------------------------------------------------------------
bluebean's Profile: http://www.excelforum.com/member.php...o&userid=25951
View this thread: http://www.excelforum.com/showthread...hreadid=470165


--

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
combine date one column, with time another column into third? psalyers Excel Worksheet Functions 2 August 23rd 05 08:05 PM
look up number in column eioval Excel Worksheet Functions 2 July 30th 05 08:16 PM
Percentage of overall attendance tannersnonni Excel Discussion (Misc queries) 6 May 13th 05 03:26 PM
Count cells based on date range in another column [email protected] New Users to Excel 1 May 5th 05 08:11 PM
How do I sort a column a unique number? ChelleA Excel Worksheet Functions 7 February 19th 05 10:38 AM


All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"