+ Reply to Thread
Results 1 to 13 of 13

Thread: Applying parenthesis to a cell that is formularized?

  1. #1
    Registered User
    Join Date
    12-03-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    1

    Applying parenthesis to a cell that is formularized?

    Hey guys I'm totally new to Excel Here is my first question, how do you apply parenthesis to a cell, where a number is generated by a formula? i.e. b2 = 100 b3 = 50, how do you apply a pair of parenthesis to b4 where b4 =b2-b3 ?

    Thanks a lot

    P.S. = the format of the cell is accounting and how do you put a $ sign in there?
    Last edited by Jwan830; 12-03-2010 at 06:41 PM.

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,165

    Re: Applying parenthesis to a cell that is formularized?

    This is done through formatting. In 2007, click on the home tab on the ribbon. Click on the small arrow in the lower right corner of the Font section. Click on Number. Select currency. Select how you wish your cell to look.

    Alan

  3. #3
    Registered User
    Join Date
    11-18-2010
    Location
    Johannesburg South Africa
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Applying parenthesis to a cell that is formularized?

    If you need to have the value of b4 in perenthesis ie. (20) then your formula should look like this:
    b4="("&b2-b3&")"
    Last edited by DanExel; 12-04-2010 at 05:56 AM.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: Applying parenthesis to a cell that is formularized?

    Just right click on the cell, select Format cells, Number, Currency, select the format you want.

    I am assuming you want to show parenthesis when the value is negative.

  5. #5
    Registered User
    Join Date
    11-18-2010
    Location
    Johannesburg South Africa
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Applying parenthesis to a cell that is formularized?

    There dont seem be the option to have negative values in perenthesis anymore.
    This is more aquestion than a statement.

  6. #6
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,590

    Re: Applying parenthesis to a cell that is formularized?

    Maybe
    Format > Custom
    _-$* #,##0.00_-;_-$* (#,##0.00);_-$* #,##0.00_-;_-@_-

    Hope this helps
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: Applying parenthesis to a cell that is formularized?

    That's strange,
    Check this picture out
    http://www.excelforum.com/members/da...t-currency.jpg

    That pic was kind of small, try this

    http://www.excelforum.com/members/da...-currency.html
    Last edited by davesexcel; 12-04-2010 at 06:56 AM.

  8. #8
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,799

    Re: Applying parenthesis to a cell that is formularized?

    #,##0.00;[Red](#,##0.00);0
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,590

    Re: Applying parenthesis to a cell that is formularized?

    Hmmm?

    @ davesexcel
    I thought that was a possibility, but the option doesn't seem to be in my version.

    I can't select a $ sign on its' own.

    I seem to remember this option on other machines, is it a set-up thing?
    Attached Images Attached Images

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: Applying parenthesis to a cell that is formularized?

    that's Interesting,
    Did you notice mine reads
    $ English(U.S.)
    and your reads
    $ English(United States) ,and doesn't have the parenthesis option, just shows the same format twice


    ------------------------------------------------------------
    I did a little experiment, went to control panel and set my regional settings to English(UK), i assume that's what your settings would be.
    I went to format cells and came up with the same image as yours

  11. #11
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,799

    Re: Applying parenthesis to a cell that is formularized?

    -ve in parenthesis is also settable in regional options from control panel
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  12. #12
    Registered User
    Join Date
    11-18-2010
    Location
    Johannesburg South Africa
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Applying parenthesis to a cell that is formularized?

    Custom format, then modify an existing format to $ # ##0.00;$(# ##0.00) works well.

  13. #13
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,590

    Re: Applying parenthesis to a cell that is formularized?

    I thought this thread was getting a bit long for following easily, so I have put the various custom formats offered into one worksheet for you to compare.

    Remember the settings options offered in posts #10 & 11
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0