ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to compute a range of cells based on another range of cells? (https://www.excelbanter.com/excel-worksheet-functions/62508-how-compute-range-cells-based-another-range-cells.html)

HAROLD

how to compute a range of cells based on another range of cells?
 
What is wrong with this formula? =AVERAGE(E8:AH8)*.0.33, IF(E3:AH3, "HW")

Elkar

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")



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com