ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sumproduct (https://www.excelbanter.com/excel-programming/373437-sumproduct.html)

Darin Kramer

Sumproduct
 


Hi there,

row 1 has either Section I or Section II in it
Row 2 has numbers

both rows run from A to BY

In BZ I need to sum all section I
In CA I need to sum all section II

Eg

a1 section I
a2 10

b1 section II
b2 5

c1 Section II
C2 8

so sum of section II should be 13

Thanks!!!!

Darin

*** Sent via Developersdex http://www.developersdex.com ***

Bernie Deitrick

Sumproduct
 
=SUMIF(A1:BY1,"Section I",A2:BY2)
=SUMIF(A1:BY1,"Section II",A2:BY2)

--
HTH,
Bernie
MS Excel MVP


"Darin Kramer" wrote in message
...


Hi there,

row 1 has either Section I or Section II in it
Row 2 has numbers

both rows run from A to BY

In BZ I need to sum all section I
In CA I need to sum all section II

Eg

a1 section I
a2 10

b1 section II
b2 5

c1 Section II
C2 8

so sum of section II should be 13

Thanks!!!!

Darin

*** Sent via Developersdex http://www.developersdex.com ***




Darin Kramer

Sumproduct
 


Thanks Bernie!

*** Sent via Developersdex http://www.developersdex.com ***


All times are GMT +1. The time now is 04:14 PM.

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