Hi All,
I have looked through the blogs and have been unable to locate a formula that works properly (I'm assuming this is user error).
Scenario:
I am trying to count all the rows that match the following criteria.
If
Column A value = 1 and
Column B value = A
Then
Count the Row
Else
Do not count
I have used the 2 formulas below.
=SUMPRODUCT((A:A="1")+(B:B="A")) - this only seems to be counting the B column because when I use the same formula with a different value in the A column, I receive the same results as the previous formula (and I should not)
=COUNTIF(A:A,"1")+COUNTIF(B:B,"A") - this adds up both columns. So if there are 100 results from column A and 10 results from column B, it gives me a total of 110
Any help is greatly appreciated.
I have looked through the blogs and have been unable to locate a formula that works properly (I'm assuming this is user error).
Scenario:
I am trying to count all the rows that match the following criteria.
If
Column A value = 1 and
Column B value = A
Then
Count the Row
Else
Do not count
I have used the 2 formulas below.
=SUMPRODUCT((A:A="1")+(B:B="A")) - this only seems to be counting the B column because when I use the same formula with a different value in the A column, I receive the same results as the previous formula (and I should not)
=COUNTIF(A:A,"1")+COUNTIF(B:B,"A") - this adds up both columns. So if there are 100 results from column A and 10 results from column B, it gives me a total of 110
Any help is greatly appreciated.