Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I combine text and formula within the same cell?

if I wanted to have the word TOTAL or any other general text (eg Total cost
of project) then a formula that sums a number of values
total =SUM(A2:A10) in the SAME cell Everything I have tried to do this
either end up with the text staying and the formula doesn't calculate....or
the text is removed and the formula calculates
Your help would be greatly appreciated :)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I combine text and formula within the same cell?

Try it like this:

="Total cost of project "&SUM(A2:A10)

--
Biff
Microsoft Excel MVP


"Office" wrote in message
...
if I wanted to have the word TOTAL or any other general text (eg Total
cost
of project) then a formula that sums a number of values
total =SUM(A2:A10) in the SAME cell Everything I have tried to do this
either end up with the text staying and the formula doesn't
calculate....or
the text is removed and the formula calculates
Your help would be greatly appreciated :)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I combine text and formula within the same cell?

Another way to give the amount a nice format:
="Total cost of project: " & text(sum(a2:a10),"$#,##0.00")

But you could keep the value in the cell a number and use a custom format:
Put
=sum(a2:a10)
in the cell
Format|Cells|Number tab|custom|
"Total cost of project: " $#,##0.00





Office wrote:

if I wanted to have the word TOTAL or any other general text (eg Total cost
of project) then a formula that sums a number of values
total =SUM(A2:A10) in the SAME cell Everything I have tried to do this
either end up with the text staying and the formula doesn't calculate....or
the text is removed and the formula calculates
Your help would be greatly appreciated :)


--

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
how to combine text into a cell??? Henry Excel Worksheet Functions 1 February 25th 06 12:07 AM
Combine text and formula? Curalice Excel Worksheet Functions 4 January 19th 06 11:20 AM
How to combine 2 cells' text into 1 cell [email protected] Excel Discussion (Misc queries) 1 October 12th 05 12:54 AM
Combine Formula and static Text Beginer Excel Discussion (Misc queries) 2 August 23rd 05 06:31 AM
Formula to combine text? coal_miner Excel Worksheet Functions 5 August 18th 05 04:29 PM


All times are GMT +1. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"