How to put parenthesis in concatenated text (Numbers App)

Numbers latest version under Yosemite


When concatenating text in Numbers App how can I put " (parenthesis) in the string.

e.g. concatenate cella&"Example"&&"""&cellb&"""&"somethingelse"

I am trying to put parenthesis around some text which is in a cell as part of the concatenation.

Has me beat...

Thanks in advance

MacBook Pro, OS X Yosemite (10.10.2), (13-inch, Mid 2012)

Posted on Mar 9, 2015 9:43 PM

Reply
7 replies

Mar 10, 2015 1:46 AM in response to 8383

Hi 8383,


In my last reply, the formula in cell D3 is:


="""We had "&A3&" (but no "&B3&")"""

That concatenates (joins together)

a quote character,

We had ,

the contents of Cell A3,

(but no ,

the contents of Cell B3,

another quote character


Giving the result

"We had Apples (but no Bananas)"

In Cell D3.


Please reply with a screen shot of a small part of your screen (command shift 4 and drag). Full screen shots (command shift 3) are often difficult to read. Please show the contents of the cells that you want to concatenate, and say where you want other characters such as ( ) or"


Wayne Contello has written a User Tip on how to post a screen shot.


https://discussions.apple.com/docs/DOC-6591


Regards,

Ian.

Mar 10, 2015 7:11 AM in response to 8383

Are you saying:

you tried the example Ian posted and it works though you do not understand how it works? or

you tried the example and it doesn't work and you do not know why? or

you did not try the example because you do not understand?


It certainly makes sense to me but it is difficult to help you when we do not know what the problem is.


In all spreadsheet programs I am aware of there is a concatenate operator (the "&") that joins text.


if you type

=A1&" Hi"


then whatever is in cell A1 will be concatenated with (joined to) the test " Hi"

so... is A1 contains "Wayne", then result will be "Wayne Hi"

if A1 contains "Apple" then the result will be "Apple Hi"


if A1 contains "Apple" and B1 contains "Banana" you can join then using the formula:

=A1&B1


this will result in "AppleBanana"


if you want a space between then you could use:

= A1 & " " & B1


if you want parenthesis around the word in call B1 you could use:

= A1 & " ("& B1 & ")"

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to put parenthesis in concatenated text (Numbers App)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.