#1   Report Post  
Posted to microsoft.public.excel.misc
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
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!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averageif Calcs Help Excel Discussion (Misc queries) 6 August 21st 09 02:19 PM
Mercantile Plumbing calcs Codeman Excel Worksheet Functions 5 March 6th 09 09:34 PM
What are the calcs in PMT Micky G Excel Worksheet Functions 7 November 22nd 07 07:31 PM
Time calcs srb Excel Discussion (Misc queries) 1 April 5th 06 07:04 AM
Time Calcs Tcs Excel Worksheet Functions 7 November 6th 04 06:02 PM


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

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

About Us

"It's about Microsoft Excel"