How to if statement for more than one cell ?
How to if statement for more than one cell ?
What I have is three cells with dates and I want the sheet to check if there is a date in the 3rd cell to count from that date if not to check the second and if not to check the first cell
Best Answer
-
Try something like this...
=IF(ISDATE([3rd Column]@row), [3rd Column]@row, IF(ISDATE([2nd Column]@row), [2nd Column]@row, IF(ISDATE([1st Column]@row), [1st Column]@row))) + n
Just replace n with however far out you want to go.
Answers
-
Try something like this...
=IF(ISDATE([3rd Column]@row), [3rd Column]@row, IF(ISDATE([2nd Column]@row), [2nd Column]@row, IF(ISDATE([1st Column]@row), [1st Column]@row))) + n
Just replace n with however far out you want to go.
-
Dear Paul ,
Thank you for your reply,
I got an error message (#INVALID COLUMN VALUE)
-
The formula above would need to go into a date type column.
-
It is all date type column
-
Are you able to provide a screenshot of the columns and the formula generating the error?
-
And can you provide a screenshot of the column properties for the column that the formula is in?
-
That's for Date 2 which is referenced in the formula. What about the column the formula is actually in?
-
I got you
Now It is working perfectly
Thank you Paul
-
Great! Happy to help. 👍️
-
This content has been removed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!