views:

41

answers:

2

I want to be able to insert a reference into a cell with arbitrary text around it.

ex. use a reference to cells A1, B1

  C1 => "blah blah <A1 text> foobar <B1 text>"

Is there any way to do something like this while still maintaining the references?

+3  A: 

You have a couple of options:

& operator:

="blah blah " & A1 & " foobar " & B1

or CONCATENATE():

=CONCATENATE("blah blah ",A1," foobar ",B1)
Adam Bernier
Perfect! I knew there had to be a simple way. Thanks a lot!
notnot
+1  A: 
=CONCATENATE("blah blah ", A1, " foobar ", B1)

Put the above formula in cell C1.

shahkalpesh
thanks, but Adam got there just before you did
notnot