ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   need help with formula (https://www.excelbanter.com/excel-worksheet-functions/40256-need-help-formula.html)

jeremy via OfficeKB.com

need help with formula
 
This formula

=SUMPRODUCT((MONTH(AO9:AO272)=1)*(AM9:AM272))

sums up the weight per month. How would I sum up the weight per week--the
weeks ar entered in anywhere between 1 week and 15 weeks....ie add up all
the weight for those that took 1 week, all the weight that took too weeks etc.
.....

There's two columns: weeks and weight.....

thanks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200508/1

Aladin Akyurek

=SUMIF(WeekRange,Week,SumRange)

jeremy via OfficeKB.com wrote:
This formula

=SUMPRODUCT((MONTH(AO9:AO272)=1)*(AM9:AM272))

sums up the weight per month. How would I sum up the weight per week--the
weeks ar entered in anywhere between 1 week and 15 weeks....ie add up all
the weight for those that took 1 week, all the weight that took too weeks etc.
....

There's two columns: weeks and weight.....

thanks




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

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