Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default can't find a correct formula

Hi...
This is what I want

ItemA 6hours 6 8 9 6 7
ItemB 6hours 7 7 6 8 8
ItemC 6hours 7 8 6 6 8
ItemD 1 hour 5 8 6 7 8

First 3 items are 6 times as important then TemD

I have to calculate a %
This is my current formula: (SUM(D1:E8)*100/COUNT(D1:E8))/10
This formula however calculates all items as "heavy"
How should I solve this problem and....
What if all cells of ItemD are empty??? Then I devide by 0 and get an
errormessage.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default can't find a correct formula

Hi
try
=IF(COUNT(B1:E8),AVERAGE(D1:E8)*10,"")

--
Regards
Frank Kabel
Frankfurt, Germany

"Jean-Paul De Winter" schrieb im Newsbeitrag
...
Hi...
This is what I want

ItemA 6hours 6 8 9 6 7
ItemB 6hours 7 7 6 8 8
ItemC 6hours 7 8 6 6 8
ItemD 1 hour 5 8 6 7 8

First 3 items are 6 times as important then TemD

I have to calculate a %
This is my current formula: (SUM(D1:E8)*100/COUNT(D1:E8))/10
This formula however calculates all items as "heavy"
How should I solve this problem and....
What if all cells of ItemD are empty??? Then I devide by 0 and get an
errormessage.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default can't find a correct formula

I also get an errormessage when cells are empty...
Also the formula I currently use wasn't correct... it should have been:

=(SUM(E6:I8)*6+SUM(E9:I9))*100/950
JP

"Frank Kabel" schreef in bericht
...
Hi
try
=IF(COUNT(B1:E8),AVERAGE(D1:E8)*10,"")

--
Regards
Frank Kabel
Frankfurt, Germany

"Jean-Paul De Winter" schrieb im Newsbeitrag
...
Hi...
This is what I want

ItemA 6hours 6 8 9 6 7
ItemB 6hours 7 7 6 8 8
ItemC 6hours 7 8 6 6 8
ItemD 1 hour 5 8 6 7 8

First 3 items are 6 times as important then TemD

I have to calculate a %
This is my current formula: (SUM(D1:E8)*100/COUNT(D1:E8))/10
This formula however calculates all items as "heavy"
How should I solve this problem and....
What if all cells of ItemD are empty??? Then I devide by 0 and get an
errormessage.

Thanks





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default can't find a correct formula

Hi
my formula should return a blank cell if all cells are empty. what have
you tried exactly

Your formula should not return an error as you don't divide at all by
zero

--
Regards
Frank Kabel
Frankfurt, Germany

"Jean-Paul De Winter" schrieb im Newsbeitrag
...
I also get an errormessage when cells are empty...
Also the formula I currently use wasn't correct... it should have

been:

=(SUM(E6:I8)*6+SUM(E9:I9))*100/950
JP

"Frank Kabel" schreef in bericht
...
Hi
try
=IF(COUNT(B1:E8),AVERAGE(D1:E8)*10,"")

--
Regards
Frank Kabel
Frankfurt, Germany

"Jean-Paul De Winter" schrieb im

Newsbeitrag
...
Hi...
This is what I want

ItemA 6hours 6 8 9 6 7
ItemB 6hours 7 7 6 8 8
ItemC 6hours 7 8 6 6 8
ItemD 1 hour 5 8 6 7 8

First 3 items are 6 times as important then TemD

I have to calculate a %
This is my current formula: (SUM(D1:E8)*100/COUNT(D1:E8))/10
This formula however calculates all items as "heavy"
How should I solve this problem and....
What if all cells of ItemD are empty??? Then I devide by 0 and

get an
errormessage.

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
find the correct sum reza Excel Worksheet Functions 8 May 25th 10 12:22 AM
find the correct sum reza Excel Discussion (Misc queries) 1 May 21st 10 11:52 AM
How to find the correct end date dan dungan Excel Worksheet Functions 3 October 17th 08 07:49 PM
Can you please hel me to find the correct formulas george24 Excel Worksheet Functions 1 January 11th 07 11:38 AM
Can't Find Correct Value bw Excel Programming 2 September 19th 04 11:56 PM


All times are GMT +1. The time now is 08:23 PM.

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

About Us

"It's about Microsoft Excel"