ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct Help (https://www.excelbanter.com/excel-worksheet-functions/24817-sumproduct-help.html)

Steve

Sumproduct Help
 
Greetings
In A5 I have the following formula:

=SUMPRODUCT(($E$4:$IV$4<"hourly")*($E$5:$IV$5))
this works fine until a column is inserted then it be comes
=SUMPRODUCT(($F$4:$IV$4<"hourly")*($F$5:$IV$5))
How can I change the formula to always sum across the the entire row from
e5:iv5

thanks!

Ron Coderre

Will this work for you?

=SUMPRODUCT((INDIRECT("$E$4:$IV$4")<"hourly")*IND IRECT("$E$5:$IV$5"))

--
Regards,
Ron



Steve

Like a champ.
Thanks

"Ron Coderre" wrote:

Will this work for you?

=SUMPRODUCT((INDIRECT("$E$4:$IV$4")<"hourly")*IND IRECT("$E$5:$IV$5"))

--
Regards,
Ron




All times are GMT +1. The time now is 05:00 PM.

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