in excel how to display results of a function and text in the sam.

E

ez123

in excel how to display results of a function and text in the same cell, for
example:
The total is <here come the results of a function>
 
J

JulieD

Hi

this can be achieved by changing the formatting of the cell, put your
formula in the cell first and then click on the cell, choose format / cells
and click on the number tab. Click on custom and on the right hand side
you'll see "General" change it to look like this:
"The total is" General
and click OK
This method leaves the format of the cell as a number so you can use it in
future calculations.

alternatively, you can modify the formula in the cell to read
="The total is " & SUM(A2:A11)
this, however, makes the field a text field so it can not be used in future
calculations.

Cheers
JulieD
 
R

Ron Rosenfeld

in excel how to display results of a function and text in the same cell, for
example:
The total is <here come the results of a function>

If the text is always the same, you could use a Custom Format.

For example, with you formula in A1, select A1 and Format/Cells/Number Custom
Type: "The result is "0.00




--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top