Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Date Question

"metaltecks" wrote in message
...
"metaltecks" wrote:


"metaltecks" wrote:

In my spreadsheet I have a date column, ex 4/14/1998.

I need to parse out the date, so I will have one column as the month,
day,
and year.
In otherwords, i will a separate column for each of these numbers.
How do I do that without manually doing it?


Can these functions work if the format in column A1 is 04/04/05?


See the answer to your earlier message.

I tried using this function, but I keep on getting a wierd result.
For example, if the date is 9/6/2005 in a1, in b1 I put =month(a1) and I
get
1/9/1900 as my answer.

Am I doing something wrong?


Again I'm guessing that you may be thinking of the functions in Leith Ross's
message, though you seem to have replied to your own message rather than
his?

Yes, you are doing something wrong, you're getting confused between dates
and numbers. I would recommend that you look in Excel's help at what
functions such as MONTH() are intended to do. MONTH takes as its input a
date in Excel's date format, and its output is an integer from 1 to 12
representing the month. Excel's help explains the format of the date-time
code used by Excel for the input. You have produced 9 as the output for the
month, but instead of treating it as a number you have formatted the cell as
if it were a date, and the number 9 would represent the 9th of January 1900.
If you format it as general, rather than as a date, then it will be shown as
9.
--
David Biddulph




 
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Date question Bri Excel Worksheet Functions 2 February 8th 06 02:36 AM
Date Question nastech Excel Discussion (Misc queries) 5 January 19th 06 09:40 PM
Date Question John Excel Discussion (Misc queries) 4 January 15th 06 06:33 PM
Reference question Dorn Excel Worksheet Functions 2 November 11th 05 09:23 PM


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