Text sentence with a formula ... is it possible

C

cmm

I want to have in one cell for example:

The wagon is at a cost of $

after the dollar sign I want to have a formula referenced
from another cell. Is this possible?

Thanks.
 
M

Max

Assuming the text phrase "The wagon is at a cost of $" is in A1,
and in A2 is a formula, say: =SUM(E1:F1) evaluating to say, a number 3, then

:=A1&A2
gives "The wagon is at a cost of $3"

:=A1&TEXT(A2,"#,##0.00")
gives "The wagon is at a cost of $3.00"
 
C

CLR

Right-click on your cell, Format > Custom > in the window type "The wagon is
at a cost of $###.## > ok
then, put whatever formula you want in the cell and it will read as you
desire......

Vaya con Dios,
Chuck, CABGx3
 
C

CLR

sorry, left out a "
should be
"The wagon is at a cost of $"###.##

Vaya con Dios,
Chuck, CABGx3
 

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