need to calculate a number of dates entered
Hello,
what would be the formula to calculate how many dates were entered?
I have 4 date type columns that people can enter or not a date. So i need a total of number of dates entered (not counting if no value in the cell). So it would be number 3 in this example.
thank you!
Best Answer
-
Easiest is =countm([additional date 1]@row:[additional date 3]@row)
if you really need to know whether they're dates...
=COUNTIF([additional date 1]@row:[additional date 3]@row, >DATE(1950, 01, 01))
not the most elegant, but it works - something about countif(ref, isdate... seems not to work well
Answers
-
Easiest is =countm([additional date 1]@row:[additional date 3]@row)
if you really need to know whether they're dates...
=COUNTIF([additional date 1]@row:[additional date 3]@row, >DATE(1950, 01, 01))
not the most elegant, but it works - something about countif(ref, isdate... seems not to work well
-
thank you @Austin Smith. the easiest one is what i needed. Many thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!