backsidedriver
New Member
- Joined
- Mar 1, 2023
- Messages
- 2
- Office Version
- 365
- 2021
- 2019
- 2016
- Platform
- Windows
I am struggling with countifs. Perhaps I am not using it properly. Here is my scenario.
I want to count cells only if column A = "Applications", column B = "Yes", and column C = column D for each row in a range. Here is my example data
With the above data I expect the count to be equal "1" since there is only one row where all the critera matches. However, I seem to get different answers. I have used the following:
=countifs(A:A,"Applications",B:B,"Yes",C:C,D:D)
and
=countifs(A:A,"Applications",B:B,"Yes",C:C,"="&D:D)
Should this work or am I using the wrong formula?
Thanks in advance for your advice.
I want to count cells only if column A = "Applications", column B = "Yes", and column C = column D for each row in a range. Here is my example data
A | B | C | D |
Applications | Yes | Web | Web |
Applications | No | Windows Client | Web |
Database | Yes | Oracle | Oracle |
Database | Yes | Oracle | Oracle |
Server | No | Linux | Linux |
Server | No | Linux | Windows |
Applications | Yes | Web | Windows Client |
With the above data I expect the count to be equal "1" since there is only one row where all the critera matches. However, I seem to get different answers. I have used the following:
=countifs(A:A,"Applications",B:B,"Yes",C:C,D:D)
and
=countifs(A:A,"Applications",B:B,"Yes",C:C,"="&D:D)
Should this work or am I using the wrong formula?
Thanks in advance for your advice.