Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
m_a_turcotte
 
Posts: n/a
Default Enter 2 dates in same excel cell

I was searching how to enter more than one date in a single excel sheet, but
failed to find an answer. Here is my situation : I have a two days training
at my job, and we use excel to keep track of the trainings.

Now, let's pretend that the training took place May 1st and 2nd 2006. I want
to enter those 2 dates in a cell, but I also want to be able to sort the
trainings by date, and the only way (that I know of) to put May 1-2 2006 in a
cell is to format it as text. But as we all know, doing that will screw your
chronological sorting.

We should be able to enter 2 dates in a cell with the option of sorting it
chronologically without a hassle.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Enter 2 dates in same excel cell

If you enter the starting date in column A, for example, and the ending
date in column B, you can perform a multi-column sort by instructing
Excel to sort first on column A and then on column B. Will this
provide the functionality you need?

  #3   Report Post  
Posted to microsoft.public.excel.misc
m_a_turcotte
 
Posts: n/a
Default Enter 2 dates in same excel cell

Unfortunatly, no.

The date column isn't only used for sorting, it is also used for making
certificates. By doing a mail merge, I can quickly do certificates using
words, requiring a little data tweeking to make sure the format is ok
(example, replace "May 1, 2006" by "May 1 and 2, 2006"). If i had a starting
date and an ending date column, the data will still need some tweeking before
the certificates are issued, since a mail merge wouldn't do the job.

Why can't it be so easy :) haha
  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Enter 2 dates in same excel cell

It actually is easy: with separate dates in columns A and B, for
instance, enter a formula in column C that will generate the text
string you need for the certificates. It might look like this:
=CHOOSE(MONTH(A1),"January", "February", "March", "April", "May",
"June", "July", "August", "September", "October", "November",
"December")&" "&DAY(A1)&" and "&DAY(B1)&", "&YEAR(A1)

The newsgroup has wrapped that entry- in the formula bar it should not
wrap too many times.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Enter 2 dates in same excel cell

If you enter the date consistently using a nice format, it may work for you:

2006-05-28--2006-05-29

Something that is treated as text, but can be sorted the way you want.

m_a_turcotte wrote:

I was searching how to enter more than one date in a single excel sheet, but
failed to find an answer. Here is my situation : I have a two days training
at my job, and we use excel to keep track of the trainings.

Now, let's pretend that the training took place May 1st and 2nd 2006. I want
to enter those 2 dates in a cell, but I also want to be able to sort the
trainings by date, and the only way (that I know of) to put May 1-2 2006 in a
cell is to format it as text. But as we all know, doing that will screw your
chronological sorting.

We should be able to enter 2 dates in a cell with the option of sorting it
chronologically without a hassle.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc


--

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
can excel automatically enter the date data in a cell was entered mg_sv_r Excel Worksheet Functions 4 September 5th 08 11:09 AM
How can I create a new line in a cell in Excel by hitting enter? Monica Excel Discussion (Misc queries) 4 July 1st 05 06:32 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
enter a new value into a cell using macro in excel cath Excel Discussion (Misc queries) 2 April 12th 05 11:32 PM
Excel: How do I enter a date in one cell & automatically dates adj Shannon Excel Discussion (Misc queries) 4 January 12th 05 12:51 AM


All times are GMT +1. The time now is 03:51 AM.

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"