+ Reply to Thread
Results 1 to 6 of 6

Percentage in brackets became negative values

  1. #1
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Unhappy Percentage in brackets became negative values

    Hi everyone,

    I have a macro to make all values static as below. The trouble is if I run this macro, all text cells with values like (%33.3) will become -33.3%. I just want the text values remain the same. Is it possible to modify the code?

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Percentage in brackets became negative values

    Hi Billj,

    Your calculation will return a negative number as you're dividing the small number by the large.

    Try

    Please Login or Register  to view this content.
    in A2 then drag across and see if this solves your issue

    Failing that I use the code

    Please Login or Register  to view this content.
    Could edit this for used range instead?
    Last edited by PFDave; 08-01-2016 at 10:40 AM.

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

    Re: Percentage in brackets became negative values

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Percentage in brackets became negative values

    tidy shg! I'll borrow that too

  5. #5
    Forum Contributor
    Join Date
    01-15-2013
    Location
    London
    MS-Off Ver
    Excel 2003, 2007, 2010, 2019
    Posts
    436

    Re: Percentage in brackets became negative values

    Many thanks, shg. It is a great code which does solve the problem.

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

    Re: Percentage in brackets became negative values

    You're welcome.

+ 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. Using brackets to display negative values
    By gordclark in forum Excel General
    Replies: 6
    Last Post: 01-16-2016, 09:13 AM
  2. Brackets for negative numbers
    By pam43 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2014, 01:10 PM
  3. Replies: 0
    Last Post: 05-25-2012, 08:52 AM
  4. Replies: 4
    Last Post: 01-03-2012, 06:05 PM
  5. [SOLVED] I seem unable to display negative values with brackets
    By Ferd in forum Excel General
    Replies: 3
    Last Post: 01-31-2006, 06:40 PM
  6. [SOLVED] How do I get brackets around negative numbers?
    By Valtam in forum Excel General
    Replies: 9
    Last Post: 02-27-2005, 08:06 PM
  7. Negative Numbers in Brackets - HELP!
    By Hélène in forum Excel General
    Replies: 21
    Last Post: 02-18-2005, 07: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