Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

concatonate and format the date

Status
Not open for further replies.

mart10

MIS
Nov 2, 2007
394
GB
I am using Excel 2003

I am using the following in a worksheet cell by referencing the data in another sheet :

=CONCATENATE("Headroom* per ",'Settings & Methodology'!$B$3+7," analysis")

I get the following :

Headroom* per 39846 analysis

I want to see :

Headroom* per 02-Feb-2009 analysis

How can I format the date part

 


Hi,

[tt]
=CONCATENATE("Headroom* per ",'Settings & TEXT(Methodology'!$B$3+7,"dd-mmm-yyyy")," analysis")
[/tt]
faq68-5827

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
doesnt like that . The 'Settings & Methodology' is the name of the sheet. Your syntax looks strange?

 



did you try to fix it???
[tt]
=CONCATENATE("Headroom* per ",TEXT('Settings & Methodology'!$B$3+7,"dd-mmm-yyyy")," analysis")
[/tt]

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
ah yes, I missed a ' when rearranging your sysnatx to your 2nd post. Your 2nd one works

thanks
 
.. or use custom format:
"Headroom* per "dd-mmm-yyyy "analysis"
Having ='Settings & Methodology'!$B$3+7 in the cell you will stay with date value behind.


combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top