IF statement help
Hello,
I'm trying to write an IF statement that checks three cells to determine if the values are equal and excluded blank cells. Below are the scenarios:
cell 1, cell 2, and cell 3 all have the same value (not blank) = Yes
cell 1 and cell 2 have the same value (not blank) = Yes
I thought I could use: =IF(OR([cell 1]@row = [cell 2]@row, (AND([cell 1]@row = [cell 2]@row = [cell 3]@row, [cell 2]@row <> ""))), "Yes", "No")
where the OR portion compares cell 1 and cell 2 and the AND portion evaluates all three together. I feel like I'm chasing my tail a bit here. Any help would be greatly appreciated.
Thank you.
Answers
-
Hey @Khari Shiver
Try this
=IF(OR([cell 1]@row = [cell 2]@row, AND([cell 1]@row = [cell 2]@row = [cell 3]@row, [cell 2]@row <> "")), "Yes", "No")
Kelly
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