Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default CONCATENATE Date formatting

The intent of the function below is to create a string like so in a cell:
"Week Of: 01/24/08"

= CONCATENATE("Week Of: ", Mon!A1)

Instead, it's giving me this: "Week Of: 39268"

I believe 39268 is the integer value that Excel uses to represent dates
internally.

I've tried a few different things to make the date come out formatted the
way I want but so far nothing has worked. This is problem some simple thing
but I don't work with Excel formulas much.

Can someone tell me what I'm doing wrong?

Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 419
Default CONCATENATE Date formatting

Chuck B,

=CONCATENATE("Week Of: ",TEXT(Mon!A1,"mm/dd/yy")

or just

="Week Of: " & TEXT(Mon!A1,"mm/dd/yy")

I don't care for using the CONCATENATE() function when an ampersand will do
the job just fine...too much typing. Look up the TEXT() function in XL
help.

HTH,

Conan






"Chuck B" wrote in message
...
The intent of the function below is to create a string like so in a cell:
"Week Of: 01/24/08"

= CONCATENATE("Week Of: ", Mon!A1)

Instead, it's giving me this: "Week Of: 39268"

I believe 39268 is the integer value that Excel uses to represent dates
internally.

I've tried a few different things to make the date come out formatted the
way I want but so far nothing has worked. This is problem some simple
thing but I don't work with Excel formulas much.

Can someone tell me what I'm doing wrong?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default CONCATENATE Date formatting

=CONCATENATE("Week Of: ",TEXT(Mon!A1,"mm/dd/yy")

or just

="Week Of: " & TEXT(Mon!A1,"mm/dd/yy")


Or even....

=TEXT(Mon!A1,"""Week Of: ""mm/dd/yy")

Rick
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default CONCATENATE Date formatting

Worked like a charm. Thanks.


"Conan Kelly" wrote in message
...
Chuck B,

=CONCATENATE("Week Of: ",TEXT(Mon!A1,"mm/dd/yy")

or just

="Week Of: " & TEXT(Mon!A1,"mm/dd/yy")

I don't care for using the CONCATENATE() function when an ampersand will
do the job just fine...too much typing. Look up the TEXT() function in XL
help.

HTH,

Conan






"Chuck B" wrote in message
...
The intent of the function below is to create a string like so in a cell:
"Week Of: 01/24/08"

= CONCATENATE("Week Of: ", Mon!A1)

Instead, it's giving me this: "Week Of: 39268"

I believe 39268 is the integer value that Excel uses to represent dates
internally.

I've tried a few different things to make the date come out formatted the
way I want but so far nothing has worked. This is problem some simple
thing but I don't work with Excel formulas much.

Can someone tell me what I'm doing wrong?

Thanks.





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default CONCATENATE Date formatting

One mo

Put this formula in the cell:
=Mon!A1
and give it a custom format of: "Week Of: " mm/dd/yyyy
The cell's value will still be a date, too!

Conan Kelly wrote:

Chuck B,

=CONCATENATE("Week Of: ",TEXT(Mon!A1,"mm/dd/yy")

or just

="Week Of: " & TEXT(Mon!A1,"mm/dd/yy")

I don't care for using the CONCATENATE() function when an ampersand will do
the job just fine...too much typing. Look up the TEXT() function in XL
help.

HTH,

Conan

"Chuck B" wrote in message
...
The intent of the function below is to create a string like so in a cell:
"Week Of: 01/24/08"

= CONCATENATE("Week Of: ", Mon!A1)

Instead, it's giving me this: "Week Of: 39268"

I believe 39268 is the integer value that Excel uses to represent dates
internally.

I've tried a few different things to make the date come out formatted the
way I want but so far nothing has worked. This is problem some simple
thing but I don't work with Excel formulas much.

Can someone tell me what I'm doing wrong?

Thanks.


--

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
Concatenate and Conditional Formatting Sliver Rayne Excel Discussion (Misc queries) 1 January 9th 08 05:01 PM
How can I concatenate a number and preserve the formatting? [email protected] Excel Worksheet Functions 1 October 30th 06 10:40 PM
use formatting from source cell in CONCATENATE function zacarab Excel Worksheet Functions 2 September 18th 06 11:25 PM
use formatting from source cell in CONCATENATE function zacarab Excel Worksheet Functions 1 September 18th 06 11:25 PM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM


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