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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives