Remember Me?

#1
January 10th 06, 04:41 PM posted to microsoft.public.excel.worksheet.functions
 Officer Steve Posts: n/a
How do I find a % difference between two numbers (comparing 2005 .

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.

#2
January 10th 06, 05:23 PM posted to microsoft.public.excel.worksheet.functions
 Heidi Posts: n/a
How do I find a % difference between two numbers (comparing 2005 .

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

"Officer Steve" wrote:

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.

#3
January 10th 06, 05:50 PM posted to microsoft.public.excel.worksheet.functions
 Gary L Brown Posts: n/a
How do I find a % difference between two numbers (comparing 2005 .

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,"",(2005 - 2004)/2005)
or
=if(2004=0,0,(2005 - 2004)/2005)

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

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

HTH,
--
Gary Brown

"Officer Steve" wrote:

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.

#4
January 10th 06, 06:04 PM posted to microsoft.public.excel.worksheet.functions
 [email protected] Posts: n/a
How do I find a % difference between two numbers (comparing 2005 .

"Officer Steve" wrote:
How do I find the percent difference between two numbers.

=(A1-B1)/B1

where column B is "before" (old) and column A is "after" (new).
Remember to format the cell as Percentage if you want "%".

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

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

The question only you can answer is: what is "something"?
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%).
#5
October 27th 08, 06:49 PM posted to microsoft.public.excel.worksheet.functions
 external usenet poster First recorded activity by ExcelBanter: Oct 2008 Posts: 3
How do I find a % difference between two numbers (comparing 20

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.

" wrote:

"Officer Steve" wrote:
How do I find the percent difference between two numbers.

=(A1-B1)/B1

where column B is "before" (old) and column A is "after" (new).
Remember to format the cell as Percentage if you want "%".

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

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

The question only you can answer is: what is "something"?
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%).

#6
October 28th 08, 02:56 PM posted to microsoft.public.excel.worksheet.functions
 external usenet poster First recorded activity by ExcelBanter: Mar 2008 Posts: 622
How do I find a % difference between two numbers (comparing 20

On Oct 27, 1:49*pm, lstreet wrote:
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.

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.

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM JENNYC Excel Discussion (Misc queries) 5 November 3rd 05 10:05 PM toyota58 Excel Worksheet Functions 8 September 20th 05 09:33 AM wonkywombat Excel Worksheet Functions 3 August 17th 05 08:57 PM rickmanz Excel Discussion (Misc queries) 1 December 15th 04 11:16 PM

All times are GMT +1. The time now is 10:01 AM.