+ Reply to Thread
Results 1 to 3 of 3

Percentage Increase/Decrease formula for all values including 0

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Percentage Increase/Decrease formula for all values including 0

    Hi,

    I am currently working on a yearly comparison of sales by individual month. I am having a problem finding the right formula that will not return the error #DIV/0 if the month the previous year was 0 or vice versa.

    I need a formula that will calculate percentage increase/ decrease and recognise that there has been an increase if the previous year's month was a 0 and this years month is say 14, instead of returning the error.

  2. #2
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: Percentage Increase/Decrease formula for all values including 0

    Hi,

    you can't calculate percent increase from "0", that would be a division by zero. If you think about it, if "0" is 100%, how many percent is 14? You can't tell, it doesn't make sense.

    You could, however, calculate the absolute difference between the values of the two years. Or you could make a formula that returns something like "Last year was 0" if last year was actually zero. Something like this:
    Please Login or Register  to view this content.
    Last edited by RHCPgergo; 12-10-2012 at 08:07 AM. Reason: grammar

  3. #3
    Registered User
    Join Date
    12-10-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Percentage Increase/Decrease formula for all values including 0

    Thank you for your reply

+ 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