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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives