see example:formating

  • Thread starter Thread starter Richard Mahan
  • Start date Start date
R

Richard Mahan

I have an example where the date given is in one cell like 06/16/2006 and
Iwould like to display the date in three columns for sorting purposes. can
anyone tell me how to do this?
 
Richard, with date in A1, =MONTH(A1) =DAY(A1) =YEAR(A1)

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
I see a couple of options, here is one solution

First, lets assuem the date you have is in column a, and my example will
assume A2 has the first date:

Use 3 unused columns and place the following formulas in these columns:

Col. 1: =month(A2)
Col. 2: =day(A2)
Col 3: =year(a2)

The other option is to use the Data/Text to Col command and specify the "/"
as the deliminter but this you will need to reformat the columns to numbers.
 
Why do you need to split to sort them, it will sort by date order as it is.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
I'm afraid you don't understand. this information is birthdates and it would
save me much time if I could sort this information by the month,day and
year, as I normally send cards out on birthdays if I sort this information
that is all in one column, it's not in the desired order.
 
I am having much difficulty gettings the results I want, mostly because I'm
not very savy with excel, I would prefer to use the text to columns option.
what I am trying to do is have the month, day and year displayed in three
columns if you could write the formula out for me, I would be much oblidged.
thanks
 
He already gave you the formulas

=YEAR(A2) will give you the years as in 2006 etc

the same for month and day

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey
 
Richard

If you want to use text to columns, there is no formula.

Just go to Data>Textr to columns>De-limited by / and hit Finish.

Format all 3 columns as General after you split.


Gord Dibben MS Excel MVP
 
I would like to thank you for your input, It took me awhile but after some
persistence, I got it to work. I'm indebted to the Newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top