ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   countif using multiple if statements (https://www.excelbanter.com/excel-worksheet-functions/242718-countif-using-multiple-if-statements.html)

Raymond

countif using multiple if statements
 
I am trying to do a countif formula using multiple if statements. For example:

if B7:B25="a" and C7:C25="b" then A= count



Eduardo

countif using multiple if statements
 
Hi,
=sumproduct((B7:B25="a")+(C7:C25="b"))

"Raymond" wrote:

I am trying to do a countif formula using multiple if statements. For example:

if B7:B25="a" and C7:C25="b" then A= count



Glenn

countif using multiple if statements
 
Raymond wrote:
I am trying to do a countif formula using multiple if statements. For example:

if B7:B25="a" and C7:C25="b" then A= count




Look he

http://www.contextures.com/xlFunctio...tml#SumProduct

Eduardo

countif using multiple if statements
 
OOPPss
Sorry I misread your post use this formula

=SUMPRODUCT((A1:A4="A")*(B1:B4="B"))

"Eduardo" wrote:

Hi,
=sumproduct((B7:B25="a")+(C7:C25="b"))

"Raymond" wrote:

I am trying to do a countif formula using multiple if statements. For example:

if B7:B25="a" and C7:C25="b" then A= count



David Biddulph[_2_]

countif using multiple if statements
 
Should that + sign be a * ?
--
David Biddulph

"Eduardo" wrote in message
...
Hi,
=sumproduct((B7:B25="a")+(C7:C25="b"))

"Raymond" wrote:

I am trying to do a countif formula using multiple if statements. For
example:

if B7:B25="a" and C7:C25="b" then A= count






All times are GMT +1. The time now is 03:26 AM.

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