This formula is returning false even when TODAY() is in the value in the [Date1]@row cell.
=IF(CONTAINS(TODAY(), [Date1]@row:[Date3]@row), "true", "false")
The range [Date1]:[Date3] are formatted as a date columns.
Does CONTAINS work with dates?
Hi @MakeItHappen
CONTAINS looks for strings of characters, it could be not working because your date columns aren't formatted the same way as TODAY().
If TODAY() returns 11/01/2020, then CONTAINS will return false if [Date1]@row is 01/11/2020. Even if in both case that means November the 1st.
Have you tried to replace the TODAY() formula in your CONTAINS with the hardtyped date and see what happens?
Thanks @David Joyeuse @David Jazz ,
I ended up with the following formula to achieve the same result as CONTAINS. It is a lot more messy.
=IF(IFERROR(MATCH(TODAY(), [Date1]@row:[Date3]@row), 0) -1) > 0, "True", "False")
Logic:
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, latest, sort, sortType, lookupSort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.