IF formula for dates in the past and future
Hi,
I need a cell to do the following:
If Cell B is dated past Cell A date, leave Cell C blank. (for example, Cell A is dated 1/1/23. Cell B is dated 1/1/24. I need Cell C to be blank)
However, I already have the following formula in Cell C:
=[Cell A]$51 + 60
What do I need to add to the current formula to do the above?
Thank you!
Answers

You can have another formula as a condition of an IF formula! Put this in Cell C:
=IF([Cell B] > [Cell A], "", ([Cell A]$51 + 60))
English: If the Cell B date is after the Cell A date, leave Cell C blank, otherwise, execute this formula ([Cell A]$51 + 60).
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.2K Get Help
 320 Global Discussions
 197 Industry Talk
 415 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 123 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 276 Events
 34 Webinars
 7.3K Forum Archives