View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default how to compute a range of cells based on another range of cells?

I think this might get the results you're looking for:

=(SUMIF(E3:AH3,"=HW",E8:AH8)/COUNTIF(E3:AH3,"=HW"))*0.33

HTH,
Elkar

"HAROLD" wrote:

What is wrong with this formula? =AVERAGE(E8:AH8)*.0.33, IF(E3:AH3, "HW")