Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
VLOOKUP, ISNA, IF Statement
Hi!
I would like to know is this kind of formula available in smartsheet?
=IF(ISNA(VLOOKUP(C2;I:I;1;FALSE));"NO";"YES")
In short- If there is the same name in other collumn mark YES
Thnak you!
Comments
-
Hi Someone,
Yes, there is that kind of formula in SmartSheet.
If your column is a checkbox then the formula could be:
=NOT(ISERROR(MATCH([Find this]2, [In this]:[In this], 0)))
If you want those Yes/No answers then the formula could be:
=IF(ISERROR(MATCH([Find this]2, [In this]:[In this], 0)), "No", "Yes")
Personally, I prefer the former and the boolean result can be tested more robustly in other formulas (i.e. any misspelling yes or no is avoided).
Cheers,
Rob.
-
Hi again,
Just realised that you may have a blank entry in your "Find this" field and wish to treat that as "not found" in the array. Thus,
=AND([Find this]2 <> "", NOT(ISERROR(MATCH([Find this]2, [In this]:[In this], 0))))
Cheers,
Rob.
-
Hi, thank you for your reply.
But the last formula is not working, error is #INVALID COLUMN VALUE
What could be the issue?
-
Hi Someone,
The first formula must be in a column of type Checkbox as it returns a boolean value.
The second formula must be in a column of type Text/Number as it returns text.
My second post also requires a column of type Checkbox.
Hope that resolves the issue.,
Cheers,
Rob.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives