LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default working out % of correctness gives #DIV/0!

Hi,
can nayone help please?(using excel 2003)
I am using a table, part of which is shown below, which needs to show the %
of correctness of predictions given for a period of time. The problems come
if I need to divide by 0 or if both figures are 0.
currently I am using: =IF((E7E8),E8/E7,E7/E8) which gives the correct
answer as long as there are no zeros.
I have tried using =if(iserror(formulae),0,formulae) but it does not work.
I know that I need to check for zeros first but not sure how to check in
both E8 and E7 or how to get the correct answer if only 1 is a zero.

International Trade Advisor
G. Symonds J. Dorman R. Partos M. Brodin R Harvey
April Prediction 500 2500 1000 3400 1500
Actual 3000 2000 1500 2300 1000
% correct 600% 80% 150% 68% 67%
May Prediction 500 500 1000 500 1000
Actual 400 0 500 0 500
% correct 80% 0% 50% 0% 50%
June Prediction 1 0 1000 500 1000
Actual 400 0 500 0 500
% correct 0% #DIV/0! 50% 0% 50%

--
any help gratefully received
thanks
carrach
 
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
Get next working day Savio Excel Discussion (Misc queries) 6 February 1st 09 12:18 PM
Calculate working days but change working week SamB Excel Discussion (Misc queries) 1 September 1st 08 09:17 PM
Making weekend days working days - the system cuts the working tim Fluffy Excel Discussion (Misc queries) 1 May 30th 08 10:02 PM
UDF not working. Rao Ratan Singh Excel Discussion (Misc queries) 3 January 8th 08 06:02 PM
IF not working amandooshna Excel Worksheet Functions 9 March 28th 07 02:11 PM


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

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"