If Statements
Hi everyone,
I hope this is an easy answer, but I am having trouble finding it despite checking the forums. I have a sheet where there are two columns. Column 1 is a Yes/No and the second is a date. What I am trying to do is create an IF statement where if Column 1 is Yes and the second is not a date that is past, it will return a "Yes." However, if either of the conditions are not met, it will return a "No."
The problem I am having is that when the first check (Column 1) has "No", it doesn't return any value. I am not sure if it it should be an IF(AND or something different.
Thank you!
Best Answer
-
Hey @Whalstead1,
IF(AND()) is what you'll want to use:
=IF(AND([Column 1]@row = "Yes", [Column 2]@row > TODAY()), "Yes", "No")
Hope this helps!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
Answers
-
Hey @Whalstead1,
IF(AND()) is what you'll want to use:
=IF(AND([Column 1]@row = "Yes", [Column 2]@row > TODAY()), "Yes", "No")
Hope this helps!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
Thank you! That worked perfectly. I must have had a typo somewhere. Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!