We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Oh Good, Another Excel Query

jghal
Posts: 129 Forumite
in Techie Stuff
In a cell in excel can I have text AND a reference to another cell, ie
If the contents of cell A1 were 15, then in cell d5 i might have
"The contents of cell A1 are =(a1)"
which would show up in the cell d5 as
The contents of cell A1 are 15
Thanks in advance
If the contents of cell A1 were 15, then in cell d5 i might have
"The contents of cell A1 are =(a1)"
which would show up in the cell d5 as
The contents of cell A1 are 15
Thanks in advance
0
Comments
-
Try something like this:
=CONCATENATE("The contents of cell ", CELL("address",A1), " are = ", CELL("content",A1))
Look up help on the CELL command, it's got a few different uses0 -
Thanks Ringo_24601
Looked up the CONCATENATE function and have got it to do what I want.
A slight adjustment required though as one of the cell contents is a date formatted as dd/mm/yyyy, but CONCATENATEing (is that a word) removes the formatting and the date is entered in the new cell as a general number
Any ideas to get the date in the correct format0 -
Use the TEXT function to format the date:
=CONCATENATE("Contents of A1 = ",TEXT(A1,"dd/mm/yyyy"))0 -
Sure... try this:
=CONCATENATE("The contents of cell ", CELL("address",A1), " are = ", TEXT(A1,"dd/mm/yyyy") )
The word is concatenating0 -
Absolutely superb
Many thanks guys
:beer:0 -
You can also shorten it to
="The contents of cell A1 are " & TEXT(A40,"dd/mm/yy")
as an & replaces the need to know how to spell concatenate0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.7K Banking & Borrowing
- 253.4K Reduce Debt & Boost Income
- 454K Spending & Discounts
- 244.7K Work, Benefits & Business
- 600.1K Mortgages, Homes & Bills
- 177.3K Life & Family
- 258.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards