Counting results of formula
Hi,
I have a sheet with two date columns. I want to count the rows where only one of the date columns have a value. I´ve tried to create a third column with a formula that sets it to 0 or 1 depending on whether the second date column ISBLANK. It works but a cant count the zero's or one's since it seems smartsheet cant count the result of a formula in a cell. Any ideas on how to do this better?
Thanks!
Mikael
Comments

If your count formula is in a Checkbox type column, convert it to text like this
=YOUR_FORMULA + ""
for example
=COUNT([Date]:[Date]) + ""
If you need to use that number in a calculation somewhere else, use VALUE() in the formula referencing it.
Craig

Also, this formula should work:
=COUNTIFS(DateA:DateA, NOT(ISBLANK(@cell)), DateB:DateB, ISBLANK(@cell)) + COUNTIFS(DateB:DateB, NOT(ISBLANK(@cell)), DateA:DateA, ISBLANK(@cell))
There might be a shorter way, but my coffee has not kicked in yet.
This is what is known as an "exclusive OR". Smartsheet does not have that function yet.
Craig
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 63K Get Help
 380 Global Discussions
 212 Industry Talk
 442 Announcements
 4.6K Ideas & Feature Requests
 140 Brandfolder
 129 Just for fun
 130 Community Job Board
 449 Show & Tell
 30 Member Spotlight
 1 SmartStories
 305 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!