Hi! I just want to add another sheet reference into the below IF formula... It might need an AND statement, but I could not find a solution for it.
=IF(CONTAINS(Number@row, {Sessions 1 Range 1}), "True", "False")
Any ideas?
Would need more information about what you are trying to do to know for sure but it sounds like you would need a nested if statement
If(Contains(number@row,{Sessions 1 Range 1}),If(Contains(number@row,{Sessions 2 Range 1},"True","False"))
Thanks for your feedback! I'll try to use the nested IF statement as you proposed, see here:
=IF(CONTAINS(Number@row, {Sessions 1 Range 1}), IF(CONTAINS(Number@row, {Sessions 2 Range 1}, "True", "False")))
Unfortunately with an Error saying "#INCORRECT ARGUMENT SET".
Basically I want to check if a certain cell in multiple sheets has the same value as in a certain cell (Number column) in the main sheet where the formula is located.
Try an IF/OR.
=IF(OR(CONTAINS(sheet1), CONTAINS(sheet2), CONTAINS(sheet3)), "True", "False")
Ok, this one did not work...
=IF(OR(CONTAINS(Number@row), CONTAINS ({Sessions 1 Range 1}), CONTAINS ({Sessions 2 Range 1})) "True", "False")
Any suggestions?
You would use the same CONTAINS syntax you have in your first formula. Just update the range in each for sheet 1, sheet 2, etc..
I can't make it work... struggle with the syntax. Can you correct this formula accordingly?
Thanks for your help! I really appreciate it.
You already have the proper syntax for CONTAINS in your original formula:
CONTAINS(Number@row, {Sessions 1 Range 1})
You would use that same syntax but create new cross sheet references in each to point at each of the sheets in question.
Thanks Paul, it worked now! :-)
Happy to help. 👍️
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, sort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.