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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!