![]() |
#1
|
|||
|
|||
![]()
I am trying to add two countif statements together. I need to set the criteria for column H for Real Estate and then add countif for Column M for Promote.
If I use the statement below it is adding the both columns together. =COUNTIFS('2014'!$H:$H,"Real Estate")+COUNTIFS('2014'!$M:$M,"Promote") |
#2
|
||||
|
||||
![]()
Alaska, my first reaction is "but he said he wants to add the two COUNTIFs together, and he told it to add the two COUNTIFs together, and it's adding the two COUNTIFs together—so what's the problem?"
This formula will produce the number of "Real Estate"s in column H plus the number of "Promote"s in column M. Since you're not happy with it, I'm guessing what you want must be the number of lines that have both values—{AND}, not {OR}. If so, I've never used it but I think what you want is this: Code:
=COUNTIFS('2014'!$H:$H,"Real Estate",'2014'!$M:$M,"Promote") |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Jamal NUMAN | Excel | 16 | 11-15-2022 11:59 PM |
If Statements in a form | Sammie0Sue | Word VBA | 4 | 03-12-2014 01:16 AM |
Multiple If statements | bremen22 | Excel | 2 | 10-15-2013 06:37 AM |
![]() |
m&co | Mail Merge | 3 | 01-06-2012 07:27 PM |
IF statements that shifts to right. | kent | Excel | 0 | 01-19-2006 02:23 PM |