close

How do I find the percent difference between two numbers. I am working in a
police department and am comparing our last year 2004 stats to our 2005
stats. I want to use 2005 as the baseline and show either a % increase or %
decrease to 2004 stats. Sometimes I have a zero which throws the forumlas
I've used off.

I would sure appreciate any help on this matter.

Thanks.

Steve,

If you have 2004 in column A, and 2005 values in column B, your formula (in
column C) should look like:

=(B2-A2)/A2

The error you are getting from Excel when you have a zero in the 2004
column is because mathematically, you can't take a % of zero.

So, if you had 0 crimes in 2004 and 3 in 2005, you mathematically can't do
a % change on that. What you could say instead is that there were 3 more
crimes in 2005 than 2004.

Good luck. Hope most of your numbers are negative!

Heidi

quot;Officer Stevequot; wrote:

gt; How do I find the percent difference between two numbers. I am working in a
gt; police department and am comparing our last year 2004 stats to our 2005
gt; stats. I want to use 2005 as the baseline and show either a % increase or %
gt; decrease to 2004 stats. Sometimes I have a zero which throws the forumlas
gt; I've used off.
gt;
gt; I would sure appreciate any help on this matter.
gt;
gt; Thanks.

Hi Steve,
First off, typically the older stat is the base line. That said, use this
formula, substituting the Cell Coordinates for the years...

=if(2004=0,quot;quot;,(2005 - 2004)/2005)
or
=if(2004=0,0,(2005 - 2004)/2005)

using 2004 as a base line...
=if(2004=0,quot;quot;,(2005 - 2004)/2004)
or
=if(2004=0,0,(2005 - 2004)/2004)

Format the cell with the formula as a '%'.

HTH,
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.quot;Officer Stevequot; wrote:

gt; How do I find the percent difference between two numbers. I am working in a
gt; police department and am comparing our last year 2004 stats to our 2005
gt; stats. I want to use 2005 as the baseline and show either a % increase or %
gt; decrease to 2004 stats. Sometimes I have a zero which throws the forumlas
gt; I've used off.
gt;
gt; I would sure appreciate any help on this matter.
gt;
gt; Thanks.

quot;Officer Stevequot; wrote:
gt; How do I find the percent difference between two numbers.

=(A1-B1)/B1

where column B is quot;beforequot; (old) and column A is quot;afterquot; (new).
Remember to format the cell as Percentage if you want quot;%quot;.

gt; Sometimes I have a zero which throws the forumlas
gt; I've used off.

=IF(B1 = 0, quot;somethingquot;, (A1-B1)/B1)

The question only you can answer is: what is quot;somethingquot;?
I like the following:

=IF(B1 = 0, A1, (A1-B1)/B1)

Thus, if B1 is 0 and A1 is 3, the result will be 300%. Purists
will tell you that is wrong: you cannot have a percentage
increase over 0; and mathematically, they are correct. But
the alternative is to display something that is inconsistent
with all other cells where B1 is not zero. If you are okay
with that, fine. I prefer consistency, and I think 300% is
not unreasonable; compare with B1=1 (200%).

Ok but what happens then if you are trying to use the data to predict future
data...let's say for sales projections based on prior year percents of change
and then using the average of those percents of change? If you suddenly have
300% growth this will throw all other years out of alignment and the average
will be way too high.

quot; wrote:

gt; quot;Officer Stevequot; wrote:
gt; gt; How do I find the percent difference between two numbers.
gt;
gt; =(A1-B1)/B1
gt;
gt; where column B is quot;beforequot; (old) and column A is quot;afterquot; (new).
gt; Remember to format the cell as Percentage if you want quot;%quot;.
gt;
gt; gt; Sometimes I have a zero which throws the forumlas
gt; gt; I've used off.
gt;
gt; =IF(B1 = 0, quot;somethingquot;, (A1-B1)/B1)
gt;
gt; The question only you can answer is: what is quot;somethingquot;?
gt; I like the following:
gt;
gt; =IF(B1 = 0, A1, (A1-B1)/B1)
gt;
gt; Thus, if B1 is 0 and A1 is 3, the result will be 300%. Purists
gt; will tell you that is wrong: you cannot have a percentage
gt; increase over 0; and mathematically, they are correct. But
gt; the alternative is to display something that is inconsistent
gt; with all other cells where B1 is not zero. If you are okay
gt; with that, fine. I prefer consistency, and I think 300% is
gt; not unreasonable; compare with B1=1 (200%).

On Oct 27, 1:49*pm, lstreet gt; wrote:
gt; Ok but what happens then if you are trying to use the data to predict future
gt; data...let's say for sales projections based on prior year percents of change
gt; and then using the average of those percents of change? If you suddenly have
gt; 300% growth this will throw all other years out of alignment and the average
gt; will be way too high.

Did you have zero sales last year? I fail to see how this issue will
impact normal calculations, as there would be no need for an altered
formula. Even if you are talking about a business that doesn't exist
yet, perhaps creating a business plan, you will start from actual
assumptions, not $0.

And you do know that the thread is more than 2.5 years old.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()