A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I find a % difference between two numbers (comparing 2005 .



 
 
Thread Tools Display Modes
  #1  
Old January 10th 06, 05:41 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default 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.
Ads
  #2  
Old January 10th 06, 06:23 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default 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  
Old January 10th 06, 06:50 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default 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

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"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  
Old January 10th 06, 07:04 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default 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  
Old October 27th 08, 07:49 PM posted to microsoft.public.excel.worksheet.functions
lstreet
external usenet poster
 
Posts: 3
Default 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  
Old October 28th 08, 03:56 PM posted to microsoft.public.excel.worksheet.functions
Spiky
external usenet poster
 
Posts: 622
Default 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.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 10:52 AM
find duplicate numbers in a column? JENNYC Excel Discussion (Misc queries) 5 November 3rd 05 11:05 PM
How to find MATCH numbers ? toyota58 Excel Worksheet Functions 8 September 20th 05 09:33 AM
how to find duplicate cells in large array of numbers wonkywombat Excel Worksheet Functions 3 August 17th 05 08:57 PM
How do you find duplicate values in excel- 2 columns of numbers rickmanz Excel Discussion (Misc queries) 1 December 16th 04 12:16 AM


All times are GMT +1. The time now is 06:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2004-2014 ExcelBanter.
The comments are property of their posters.