+ Reply to Thread
Results 1 to 5 of 5

How do I add brackets to every cell in Excel?

  1. #1
    Terri
    Guest

    How do I add brackets to every cell in Excel?

    I have a column in Excel that I want to enclose the contents with brackets in
    every cell. Is there an easy way to do that?

  2. #2
    Bernard Liengme
    Guest

    Re: How do I add brackets to every cell in Excel?

    Insert a column to left (assume stuff is in A)
    In B1 ="("&A1&")"
    Copy down column
    Select all of B; Copy followed by Edit|Paste Special->Values
    Now you can delete column A
    best wishes
    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "Terri" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column in Excel that I want to enclose the contents with brackets
    >in
    > every cell. Is there an easy way to do that?




  3. #3
    Earl Kiosterud
    Guest

    Re: How do I add brackets to every cell in Excel?

    Terri,

    If you just want the brackets to appear, but not really be in the cell
    contents, you can use Format - Cells - Number - Custom:
    "["General"]";"["General"]";"["General"]";"["@"]"

    Paste it in from this post. If you have numbers that require specific
    number formatting, replace the word General with any number format you want.
    The first is for positive numbers, then negative, then zero. The last part,
    "["@"]" , is for text.

    If you want to actually put the brackets into the cells, it will require a
    formula in another cell, which could be pasted back over the original stuff
    to make the brackets permanent in your original cells. The formula used
    depends on what you have in the cells, numbers or text. If any of the
    original cells are formulas, they'll have to be modified to include the
    brackets; don't use this method, though you can use the first.
    --
    Earl Kiosterud
    mvpearl omitthisword at verizon period net
    -------------------------------------------

    "Terri" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column in Excel that I want to enclose the contents with brackets
    >in
    > every cell. Is there an easy way to do that?




  4. #4
    James
    Guest

    Re: How do I add brackets to every cell in Excel?

    You could enter the following fomula in the column next to it

    ="(" & A1 &")"

    Alternatively you could select the cells and run the macro below

    Sub Test()
    Dim cell As Range
    For Each cell In Selection
    cell.Value = "(" & cell.Value & ")"
    Next cell

    End Sub

    James

    "Terri" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column in Excel that I want to enclose the contents with brackets
    >in
    > every cell. Is there an easy way to do that?




  5. #5
    Registered User
    Join Date
    12-09-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    6

    Re: How do I add brackets to every cell in Excel?

    Nice thank you very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1