ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Entering Dates (https://www.excelbanter.com/excel-discussion-misc-queries/127060-entering-dates.html)

kmkx70a

Entering Dates
 
I would like to enter dates with just the month and day. When I do, Excel
automatically enters the year also. this really messes up sorting. I want to
enter the date with out the year showing up. I format the cells with mmm/dd
but that doesn't help.
Any help would be appreciated. Harry



Gary''s Student

Entering Dates
 
Excel dates normally include a year, even if it not displayed by reason of
formatting. you can always enter:

'jan 21

note the single quote. I don't know what you would accomplish by doing
this, since it would be just text to Excel, not a date.
--
Gary's Student
gsnu200702


"kmkx70a" wrote:

I would like to enter dates with just the month and day. When I do, Excel
automatically enters the year also. this really messes up sorting. I want to
enter the date with out the year showing up. I format the cells with mmm/dd
but that doesn't help.
Any help would be appreciated. Harry




Gord Dibben

Entering Dates
 
"kmkx70a"

Just a thought about this.

If you want to sort on Month or Day you can use a helper column(s) with the
MONTH or DAY functions and sort on them.


Gord Dibben MS Excel MVP

On Sun, 21 Jan 2007 19:04:09 -0500, "kmkx70a" wrote:

I would like to enter dates with just the month and day. When I do, Excel
automatically enters the year also. this really messes up sorting. I want to
enter the date with out the year showing up. I format the cells with mmm/dd
but that doesn't help.
Any help would be appreciated. Harry



Fred Smith

Entering Dates
 
Your sorting won't be messed up if the year is always the same.

You could enter text by preceeding the entry with an apostrophe, as in:

'12/31

This will sort, but will not allow you to use date formats like mmm/dd.

I think your best bet is to let Excel do what it likes. It will append the year
2007 to your entry, but do it consistently so you can sort and format without
any trouble. A year from now, you'll have to change any old dates to 2008, but
that wouldn't take very long.

--
Regards,
Fred


"kmkx70a" wrote in message
...
I would like to enter dates with just the month and day. When I do, Excel
automatically enters the year also. this really messes up sorting. I want to
enter the date with out the year showing up. I format the cells with mmm/dd but
that doesn't help.
Any help would be appreciated. Harry





All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com