Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Date in cell keeps adding the current year.

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Date in cell keeps adding the current year.

hi
does the date appear as 4/10 in the cell? if so then everything is normal.
fomating changes the way the data looks. it does not change the data. what
appears in the formula bar is what is in the cell such as a fomula. the
formula appears in the formula bar and the results appears in the cell. in
your case, the formated version of the date would appear in the cell but the
full date would appear in the formula bar.

Regards
FSt1

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Date in cell keeps adding the current year.

The date appears as 04/05 in some cells and 4/5 in others. Where it's 04/05,
it doesn't add the year in the formula bar. In the others, it removes the
zeros and the current year does appear in the formula bar:
Cell Bar
04/05 = 04/05
4/5 = 4/5/2009

What I don't understand is why there should be any difference if all cells
are formatted the same: to just show the date and month.

"FSt1" wrote:

hi
does the date appear as 4/10 in the cell? if so then everything is normal.
fomating changes the way the data looks. it does not change the data. what
appears in the formula bar is what is in the cell such as a fomula. the
formula appears in the formula bar and the results appears in the cell. in
your case, the formated version of the date would appear in the cell but the
full date would appear in the formula bar.

Regards
FSt1

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Date in cell keeps adding the current year.

hi
if excel can recognize the number in the cell as a date, then it will format
to date. if not then excel will consider the number as not a number or text.
does the 04/05 "data" appear in the formula bar as '04/05. if so the
appostrophe in front is designating it as text becasue excel can't recognize
the number as a date. you may have the cell formated as date but if excel
sees text, then the formating is there but doen't take.
try this.. reformat the 04/05 date to general. if it doesn't change to 39908
, then excel is not seeing it as a number(formated as date). it's seeing it
as text and that may be why only 04/05 appears in the formula bar.

Regards
FSt1


"Excelsior731" wrote:

The date appears as 04/05 in some cells and 4/5 in others. Where it's 04/05,
it doesn't add the year in the formula bar. In the others, it removes the
zeros and the current year does appear in the formula bar:
Cell Bar
04/05 = 04/05
4/5 = 4/5/2009

What I don't understand is why there should be any difference if all cells
are formatted the same: to just show the date and month.

"FSt1" wrote:

hi
does the date appear as 4/10 in the cell? if so then everything is normal.
fomating changes the way the data looks. it does not change the data. what
appears in the formula bar is what is in the cell such as a fomula. the
formula appears in the formula bar and the results appears in the cell. in
your case, the formated version of the date would appear in the cell but the
full date would appear in the formula bar.

Regards
FSt1

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Date in cell keeps adding the current year.

Hi,

Excel is interpreting 3/14 as a date and because you omit the year Excel
adds the current one, even when you format the cell to show months and days
the year is still there, you just cant see it.

Extract the day and month to a helper column and use that for your sort.

=TEXT(A1,"mm/dd")

Mike

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Date in cell keeps adding the current year.

What I'll do is convert the date to text (5/9 is now 05/09) and then convert
that back to "date," which seems to work. Except now some of my full dates
(MM/DD/YYYY) appear as "######" in the cells. Wierd.

"Mike H" wrote:

Hi,

Excel is interpreting 3/14 as a date and because you omit the year. Excel
adds the current one, even when you format the cell to show months and days
the year is still there, you just cant see it.

Extract the day and month to a helper column and use that for your sort.

=TEXT(A1,"mm/dd")

Mike

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Date in cell keeps adding the current year.

hi
if your full dates (MM/DD/YYYY) appear as "######", try widening your
columns.

Regards
FSt1

"Excelsior731" wrote:

What I'll do is convert the date to text (5/9 is now 05/09) and then convert
that back to "date," which seems to work. Except now some of my full dates
(MM/DD/YYYY) appear as "######" in the cells. Wierd.

"Mike H" wrote:

Hi,

Excel is interpreting 3/14 as a date and because you omit the year. Excel
adds the current one, even when you format the cell to show months and days
the year is still there, you just cant see it.

Extract the day and month to a helper column and use that for your sort.

=TEXT(A1,"mm/dd")

Mike

"Excelsior731" wrote:

The date in the cell keeps adding the year when I don't want it to, even if I
select "Category - Date" and "Type - 3/14". I need to have ONLY the month and
day (2 digits each in the date format so it's sortable), not the year, but
the year keeps appearing after the date in the formula bar.

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
Year-to-date based on current month John in Toronto Excel Discussion (Misc queries) 2 May 9th 08 04:23 PM
Date not defaulting to current year Tim Elhatton Excel Worksheet Functions 4 November 16th 07 10:33 PM
Date defaults to current year cmaddox Excel Discussion (Misc queries) 3 July 31st 07 09:38 PM
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
calculate prior calendar year end from a moving current date Louise Excel Worksheet Functions 1 December 6th 06 08:48 PM


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