+ Reply to Thread
Results 1 to 10 of 10

Showing Negative Percentage

  1. #1
    Registered User
    Join Date
    03-17-2016
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    7

    Showing Negative Percentage

    I am putting together a spreadsheet to show cost vs budget saving as a percentage

    My formulas work ok until I have a £0 (Zero Value) as the budget (sometimes we do not budget for freight) - the cost vs budget saving % is then showing as 0% which it should show a negative percentage

    Can anyone assist me with the formula?

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Showing Negative Percentage

    Please provide example data and your formulas
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-17-2016
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    7

    Re: Showing Negative Percentage

    Thank you for your reply Special K

    I have tried to copy a screen shot of my sheet into here but it won't let me

    basically I have a budget column(G), an actual column(H), a cost vs budget saving (GBP) coumn(I) and a Cost vs budget saving % column(J)

    The formula in the cost vs budget saving GBP column is =G2-H2
    The formula in the cost vs budget saving % column is =IFERROR((H2-G2)/G2,0) showing the figure as a percentage

    The formula works fine unless the value in column G is zero . The value in column J then shows as 0%

    Is that enough to go on?

    Is that enough to go on

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Showing Negative Percentage

    There is a option to add attachments via a paper clip icon which doesnt work on this forum.
    If you want to add attachments you need to clicl Go Advanced at the bottom and select manage Attachments.
    Using this could attach a file with input and expected results?

  5. #5
    Registered User
    Join Date
    03-17-2016
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    7

    Re: Showing Negative Percentage

    Dear Special K I think I have now atached my file

  6. #6
    Registered User
    Join Date
    03-17-2016
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    7

    Re: Showing Negative Percentage

    Dear Special K I think I have now attached my file

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Showing Negative Percentage

    If G2 is zero result will be #DIV/0! and IFERROR will do for you result 0

    btw. You CAN'T divide anything by 0 because it will give you error #DIV/0!, that is why in Excel IFERROR fuction exist

    maybe =IFERROR((G2-H2)/G2,H2) ?
    Last edited by sandy666; 01-30-2017 at 11:57 AM.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Showing Negative Percentage

    Quote Originally Posted by Matron74 View Post
    My formulas work ok until I have a £0 (Zero Value) as the budget (sometimes we do not budget for freight) - the cost vs budget saving % is then showing as 0% which it should show a negative percentage
    Hi,

    Why should it show a negative percentage? Since you are showing all the savings as a percentage of the budget, if the budget is 0, what do you expect the result to be?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  9. #9
    Registered User
    Join Date
    03-17-2016
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    7

    Re: Showing Negative Percentage

    Hi I think it is the column headers that are confusing the situation here sorry

    I want to show the percentage difference whether it is a saving or not. Anything under budget I want to show as a negative percentage in green to show I am that percentage under budget and anything over budget I want to show as a positive percentage value in red to show I am that percentage over budget - Is there a formula I can add to apply the positive percentage in red if the budgt is 0?

  10. #10
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Showing Negative Percentage

    But that does not make sense. If you had nothing budgeted, what percentage have you saved/overspent? The plausible answers are 0, or plus/minus infinity.

+ 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. Replies: 3
    Last Post: 09-02-2011, 06:55 AM
  2. Excel 2007 : Showing negative months
    By hpasso217 in forum Excel General
    Replies: 1
    Last Post: 03-04-2011, 06:20 PM
  3. Showing a percentage of a percentage in pie chart
    By jimbob76 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-17-2009, 09:52 AM
  4. Showing Negative Values As 0
    By AlanWade in forum Excel General
    Replies: 6
    Last Post: 06-25-2008, 02:52 PM
  5. Showing negative balances in red
    By Ricardo in forum Excel General
    Replies: 3
    Last Post: 05-19-2006, 11:15 AM
  6. Zero showing as a negative number
    By Missygal in forum Excel General
    Replies: 3
    Last Post: 04-05-2006, 03:45 PM
  7. [SOLVED] Showing Negative as Postive
    By klafert in forum Excel General
    Replies: 3
    Last Post: 01-25-2006, 08:55 AM
  8. showing negative numbers
    By dzeitler in forum Excel General
    Replies: 2
    Last Post: 06-08-2005, 01:05 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