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
- 65.3K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 72 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!