A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Percentage Calcs



 
 
Thread Tools Display Modes
  #1  
Old May 17th, 2010, 10:08 PM posted to microsoft.public.excel.misc
Muskoka83
external usenet poster
 
Posts: 1
Default Percentage Calcs

Trying to figure out the % difference(increase or decrease) between two #s
(A1 was last year, B1 is this year):
A1 = $65,902
B1 = $32,732

The way I did it was: IF(ISERROR((B1-A1)/B1),"--",(B1-A1)/B1)
which returns a value of: 101%

Which is wrong as it should be approximately 50%. I don't want to have to
change my formula in each row based on if last year was higher or lower than
this year...

Thanks!

  #2  
Old May 17th, 2010, 11:35 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Percentage Calcs

=IF(A1=0,"--",(B1-A1)/A1)
--
David Biddulph


"Muskoka83" wrote in message
...
Trying to figure out the % difference(increase or decrease) between two #s
(A1 was last year, B1 is this year):
A1 = $65,902
B1 = $32,732

The way I did it was: IF(ISERROR((B1-A1)/B1),"--",(B1-A1)/B1)
which returns a value of: 101%

Which is wrong as it should be approximately 50%. I don't want to have to
change my formula in each row based on if last year was higher or lower
than
this year...

Thanks!


 




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 Off
HTML code is Off
Forum Jump


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


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