Countifs
Hi, I am hoping someone can help me. I am trying to count the number of "dates" in one column, compared to how many "dates" are not entered in another column. So for example, Column A has 15 dates in it and Column B has 5 dates in them. I'm looking to determine out of the 15, how many don't have a date - which would be 10. Thanks you in advance for your help.
Tony
Best Answer
-
So I would go about it like this...
=COUNTM([Column A]:[Column A]) - COUNTM([Column B]:[Column B])
Basically, this formula will count all of the non-blanks in column A and subtract them from the total non-blanks in column B. Keep in mind that this will not produce a row-context formula. Your number will be the same for every row. So in your case, if column A has 15 dates and column B has 10, then you would have a 5 repeating for every row in that dataset.
Hope that helps! 👍😎👍
Let me know if you have any issues. If this answers your question, then go ahead and accept it as a solution and give me a vote up!
Answers
-
So I would go about it like this...
=COUNTM([Column A]:[Column A]) - COUNTM([Column B]:[Column B])
Basically, this formula will count all of the non-blanks in column A and subtract them from the total non-blanks in column B. Keep in mind that this will not produce a row-context formula. Your number will be the same for every row. So in your case, if column A has 15 dates and column B has 10, then you would have a 5 repeating for every row in that dataset.
Hope that helps! 👍😎👍
Let me know if you have any issues. If this answers your question, then go ahead and accept it as a solution and give me a vote up!
-
Thank-you Cody, that worked perfectly. 😀
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!