Need to return max date - only if two criterias have been met otherwise left blank
Hello!
I'm struggling to get this function right - I need to return the max date ONLY if the GCA approved and DAC completed column have a date otherwise left blank. This is what I have so far:
As you can see - a date is still being returned even if both columns don't have a date. It is only left blank if both columns don't have a date.
Appreciate any help or tips! I'm new to smartsheet.
Best Answer
-
Hi @Ashlynn,
This formula should do what you'd like:
=IF(AND(NOT(ISBLANK([GCA Approved (Date)]@row)), NOT(ISBLANK([DAC Completed (Date)]@row))), MAX([GCA Approved (Date)]@row:[DAC Completed (Date)]@row), "")
Some example data:
Hope this helps; any questions etc. then just ask! ☺️
Answers
-
Hi @Ashlynn,
This formula should do what you'd like:
=IF(AND(NOT(ISBLANK([GCA Approved (Date)]@row)), NOT(ISBLANK([DAC Completed (Date)]@row))), MAX([GCA Approved (Date)]@row:[DAC Completed (Date)]@row), "")
Some example data:
Hope this helps; any questions etc. then just ask! ☺️
-
Perfect! Thank you @Nick Korna!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!