Hi everyone!
I have a nested formula that supplies me with tag suggestions. The tags depend on info from 8 different columns. I’ve gotten it to do almost everything I want it to, it suggests tags really well. The problem is the ELSE part of the formula. If it finds no tags I would like it to say “« No Tag »\n”.
I can get it to do that just fine by using a second column, but I would like it all in the one if possible.
Here’s what I’m working with. It’s way longer, but this is the gist of it structure wise.
IF(
OR(
{Column 1},
{Column 2},
{Column 3},
{Column 4},
{Column 5},
{Column 6},
{Column 7},
{Column 8}
),
IF(
OR(
FIND("light", LOWER({Column 1})),
FIND("vanilla", LOWER({Column 8})),
AND({Column 2} >= "2020-11-01",{Column 2} <= "2020-11-16")
),
"« Tag 1 »\n",
""
)&''&IF(
OR(
FIND("bi", LOWER({Column 1})),
FIND("barn", LOWER({Column 1})),
FIND("bi", LOWER({Column 8})),
FIND("barn", LOWER({Column 8}))
),
"« Tag 2 »\n",
""
)&''&IF(
OR(
FIND("bi", LOWER({Column 1})),
FIND("barn", LOWER({Column 1})),
FIND("bi", LOWER({Column 8})),
FIND("barn", LOWER({Column 8}))
),
"« Tag 3 »\n",
""
)&''&IF(
OR(
FIND("week", LOWER({Column 1})),
FIND("week", LOWER({Column 8})),
AND({Column 2} >= "2020-08-01",{Column 2} <= "2020-08-09")
),
"« Tag 4 »\n",
""
)&''&IF(
OR(
FIND("beethoven", LOWER({Column 1})),
FIND("beethoven", LOWER({Column 8}))
),
"« Tag 5 »\n",
""
),
"«
No Tag »\n")
Is it possible to do in one column as my brain keeps telling me?
Additionally, as icing on the cake with a cherry on top, I would like « Tag 2 » suggested only if the record has a start date, {Column 2}, within the first half of the year and reversely « Tag 3 » when the record falls in the years second half.
I’m beyond greatful for any and all help with this.