Summing in a sentance...

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

Hello,

If cells A1 & B1 represent Apples.

A1 = 10
B1 = 10

C1 = "There are 20 apples total"

What is the formula to have my answer (20) appear within a
sentance?

Thank you,
Jay Gustafson
 
Hi Jay

in C1
="There are " & a1+b1 & " apples total"
or
=CONCATENATE("There are ",A1+B1," apples total")

Cheers
JulieD
 
Thanks for replying to my post. But unfortunatly, I
should have given more of the true example. How do I use
your example below, but with the sum function "sum(A1:B1)"
 
Hi

you don't need to use the sum function
=sum(A1:B1)
is exactly the same (only more typing) than
=A1+B1

but if you really, really want to do this then
=There are "&sum(A1:B1)&" apples total."
or
=CONCATENATE("There are ",sum(A1:B1)," apples total")

Cheers
JulieD
 

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

Back
Top