Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Scenario:
A1 value is "3/31/08" In column C15, I type the formula, '="For the month ending "&A1'. Problem: It used to return, 'For the month ending 3/31/08'. Now it returns 'For the month ending 39538'. I've tried changing the formatting and does not work. I tried other formulas for the date but still returns the MS serial number. Any help will be appreciated. Marco |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
There is nothing wrong with that. Excel is doing as requested. A1 is the
number 39538. If you format that to display as a date, like m/dd/yy you will see 03/31/08, but it's still a number so ="For the month ending "&A1 will return "For the month ending 39538". If you want to see: For the month ending 3/31/08 use: ="For the month ending " & TEXT(A1,"m/dd/yy"). Tyro "Marco" wrote in message ... Scenario: A1 value is "3/31/08" In column C15, I type the formula, '="For the month ending "&A1'. Problem: It used to return, 'For the month ending 3/31/08'. Now it returns 'For the month ending 39538'. I've tried changing the formatting and does not work. I tried other formulas for the date but still returns the MS serial number. Any help will be appreciated. Marco |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That worked. Thank you.
"Tyro" wrote: There is nothing wrong with that. Excel is doing as requested. A1 is the number 39538. If you format that to display as a date, like m/dd/yy you will see 03/31/08, but it's still a number so ="For the month ending "&A1 will return "For the month ending 39538". If you want to see: For the month ending 3/31/08 use: ="For the month ending " & TEXT(A1,"m/dd/yy"). Tyro "Marco" wrote in message ... Scenario: A1 value is "3/31/08" In column C15, I type the formula, '="For the month ending "&A1'. Problem: It used to return, 'For the month ending 3/31/08'. Now it returns 'For the month ending 39538'. I've tried changing the formatting and does not work. I tried other formulas for the date but still returns the MS serial number. Any help will be appreciated. Marco |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try it like this:
=IF(COUNT(A1),"For the month ending "&TEXT(A1,"m/d/yy"),"") -- Biff Microsoft Excel MVP "Marco" wrote in message ... Scenario: A1 value is "3/31/08" In column C15, I type the formula, '="For the month ending "&A1'. Problem: It used to return, 'For the month ending 3/31/08'. Now it returns 'For the month ending 39538'. I've tried changing the formatting and does not work. I tried other formulas for the date but still returns the MS serial number. Any help will be appreciated. Marco |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting Text Dates to Serial Numbers | Excel Worksheet Functions | |||
Dates as Serial Values | Excel Discussion (Misc queries) | |||
Serial Dates | Excel Discussion (Misc queries) | |||
Averaging a Value Between Two Serial Dates | Excel Worksheet Functions | |||
Converting dates to a number | New Users to Excel |