Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2007

Tip: Looking for answers? Try searching our database.

Setting up a cell that contains text and a data reference?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Melanie - 28 Feb 2007 14:49 GMT
I believe there is a way to set up a cell so that I can have text and a
formula in the same cell.

For example, I want to have a cell say "for the period ended (ref)".   and
the reference would be to another cell on the worksheet.

any help?
Mike - 28 Feb 2007 15:00 GMT
Not sure exactly what you mean but in any cell

="for the period ended "&A1

would concatenate whatever was in A1 to the end of the string.

Does that work?

Mike

> I believe there is a way to set up a cell so that I can have text and a
> formula in the same cell.
[quoted text clipped - 3 lines]
>
> any help?
Teethless mama - 28 Feb 2007 15:01 GMT
"for the period ended "&Sheet2!A1

> I believe there is a way to set up a cell so that I can have text and a
> formula in the same cell.
[quoted text clipped - 3 lines]
>
> any help?
Daveo - 28 Feb 2007 15:14 GMT
Hi Melanie,

If the (ref) part is a date, you will need use something like the
following formula:

="For the period ended " & DAY(B1)&"/"&MONTH(B1)&"/"&YEAR(B1)

Where B1 is the cell with the ref in it.

Otherwise, excel will just display the date as a number e.g. "For the
period ended 86928"

Cheers - David
Dave Peterson - 28 Feb 2007 15:32 GMT
Or just:
="For the period ended " & text(b1,"dd/mm/yyyy")

> Hi Melanie,
>
[quoted text clipped - 9 lines]
>
> Cheers - David

Signature

Dave Peterson

Daveo - 28 Feb 2007 15:41 GMT
Aaah! Cheers for that Dave. I couldnt find the worksheet function
equivalent of Format().
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.