Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default Dates converting to MS serial number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Dates converting to MS serial number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default Dates converting to MS serial number

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Dates converting to MS serial number

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
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
Converting Text Dates to Serial Numbers LPS Excel Worksheet Functions 4 December 12th 07 05:06 PM
Dates as Serial Values Lucy N Excel Discussion (Misc queries) 6 July 6th 06 01:53 PM
Serial Dates Airfive Excel Discussion (Misc queries) 4 January 7th 06 04:56 PM
Averaging a Value Between Two Serial Dates ChrisM Excel Worksheet Functions 1 November 15th 05 08:45 PM
Converting dates to a number Kathy New Users to Excel 3 April 27th 05 09:18 AM


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