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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives