+ Reply to Thread
Results 1 to 6 of 6

Put brackets around text in cell that has a formula in it

  1. #1
    Registered User
    Join Date
    01-17-2017
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    44

    Question Put brackets around text in cell that has a formula in it

    A1 200
    B1 400
    C1 =sum(A1+B1)

    I want C1 to be formatted as Percentage.

    This shows me "600%" in C1.

    However, I want to add brackets around the result in C1, like this:

    C1 (600%)

    How can I do this?
    Last edited by King Mustard; 01-17-2017 at 09:13 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Put brackets around text in cell that has a formula in it

    =A1+A2 and custom-format the cell as (General)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-17-2017
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    44

    Re: Put brackets around text in cell that has a formula in it

    Quote Originally Posted by shg View Post
    =A1+A2 and custom-format the cell as (General)
    Sorry, I have edited my post with additional information.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Put brackets around text in cell that has a formula in it

    I always wonder why people wrap a calculation into the SUM function. King Mustard, why do you write

    =sum(A1+B1)

    when just

    =A1+B1

    does the same thing?

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Put brackets around text in cell that has a formula in it

    Use custom format

    (0)\%

  6. #6
    Registered User
    Join Date
    01-17-2017
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    44

    Thumbs up Re: Put brackets around text in cell that has a formula in it

    Quote Originally Posted by teylyn View Post
    I always wonder why people wrap a calculation into the SUM function. King Mustard, why do you write

    =sum(A1+B1)

    when just

    =A1+B1

    does the same thing?
    Because I wasn't aware of that.

    Quote Originally Posted by teylyn View Post
    Use custom format

    (0)\%
    I used the Custom category and set Type to (0%) and it worked a treat - thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Replace text in brackets with another cell's value
    By Lowa in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-19-2016, 11:37 PM
  2. Replies: 13
    Last Post: 08-28-2014, 08:00 PM
  3. Replies: 1
    Last Post: 07-17-2014, 04:54 AM
  4. [SOLVED] Find text between brackets in a cell
    By jwillis07 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2014, 06:03 AM
  5. need to add [brackets] to numbers in a cell that contain text and numebrs
    By steve21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2013, 02:30 PM
  6. Replies: 5
    Last Post: 04-19-2012, 09:02 AM
  7. [SOLVED] Custom format a text cell with square brackets: [ ] ?
    By StargateFan in forum Excel General
    Replies: 2
    Last Post: 02-06-2005, 12:06 PM

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