ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum If (https://www.excelbanter.com/excel-worksheet-functions/151434-sum-if.html)

Alex

Sum If
 
Hi - can comeone help me please

Into B21 I want to add the values of rows B2:B18 where ant of the rowsC2:C18
contain the word "Premier"

tks



Mike H

Sum If
 
Try,

=SUMPRODUCT((C2:C18="Premier")*(B2:B18))

Mike

"Alex" wrote:

Hi - can comeone help me please

Into B21 I want to add the values of rows B2:B18 where ant of the rowsC2:C18
contain the word "Premier"

tks




Bob Phillips

Sum If
 
=SUMIF(C2:C18,"Premier",B2:B18)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Alex" wrote in message
...
Hi - can comeone help me please

Into B21 I want to add the values of rows B2:B18 where ant of the
rowsC2:C18 contain the word "Premier"

tks




Alex

Sum If
 
Thanks both

Alex

"Alex" wrote in message
...
Hi - can comeone help me please

Into B21 I want to add the values of rows B2:B18 where ant of the
rowsC2:C18 contain the word "Premier"

tks





All times are GMT +1. The time now is 09:54 AM.

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