Share via

Format cell range in a Parenthesis

Anonymous
2016-08-08T15:06:20+00:00

How to custom format a cell range with a parenthesis around text.

for example I need to format this column which contain Name of people inside a parenthesis, so how do I do that, anyone help me please? here is a screen shot

Name
Hon
For
Che
Hon
Toy
Toy
Hon
For
Che
Che
GMC
GMC
For
Hon
Toy
GMC
Che
Hon
Toy
For

Moved from Internet Explorer

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2016-08-09T14:47:19+00:00

    Custom Format   

    "("General")";"("General")";"("General")";"("@")"

    I think you can reduce that Custom Format down to this...

    (General);(@)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-08-08T17:04:52+00:00

    Custom Format   

    "("General")";"("General")";"("General")";"("@")"

    Or Macro

    Sub Test()

    Dim cell As Range

    For Each cell In Selection

    cell.Value = "(" & cell.Value & ")"

    Next cell

    End Sub

    Note: the macro does not format. . . . .it hard codes the parens.

    Gord

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2016-08-09T15:01:49+00:00

    Your construct works as advertised Rick

    Thanks for the update.

    Gord

    Was this answer helpful?

    0 comments No comments