+ Reply to Thread
Results 1 to 5 of 5

Increase % over 0

Hybrid View

  1. #1
    Registered User
    Join Date
    01-23-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    12

    Increase % over 0

    I am trying to illustrate a % increase for month over month sales with a formula, where i am running into a problem is when there were $0 sales in 2008 and i get the #DIV/0!.

    How do i write a formula to show the % increase if there were $0 sales in 1/08, but 52 in 1/09?

    Thanks, John

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065
    =IF(A1=0,0,B1/A1*100)

    where A1 is sales in 2008 and B1 is sales in 2009
    (replace as applicable)
    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
    01-23-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    12
    But won't that still result in a "0", rather than a % increase?

  4. #4
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    523
    It isn't possible to compute a % increase over a zero value- for example, if sales are 0 in period 1 and then either 10 in period 2 or 20 in period 2, how can you represent either of period 2's results as a % increase?

    If period 1 is 0, you'll need to have a formula that states "Prior period sales were 0 therefore a % increase has not been computed".
    You could do this by modifying th esuggested solution as follows:

    =IF(A1=0,"Prior period sales were 0 therefore a % increase has not been computed",B1/A1*100)

  5. #5
    Registered User
    Join Date
    01-23-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    12
    Got it, thanks for the help!

+ 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