creating a formula using text

B

Brian

I'm trying to put a formula in a cell to show text and the
content of 2 other cells. I've tried:

="HP "&J171" & "&K171

and it keeps giving me an error but doesn't show me how to
fix it.
 
A

Alan

="HP "&J171&" "&K172

assuming that the extra data is in J 171 and J172

Regards,
Alan.
 
D

Dan E

Brian,

You need to use
="HP " & J171 & " & " & K171
you missed /\ & operator

Dan E
 
D

Dan E

="HP " & J171 & " & " & K171
Should do what you ask basically in enlish the formula says
equals "HP " AND the contents of cell J171 AND " & " AND
the contents of cell K171

Dan E
 
D

Dave R.

can u see that using &"text"& adds text in the middle of other values?

=+"bleh "&F15&" & "&G15
 

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