내 커뮤니티 업적 표시줄을 확대합니다.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Calculated Field Referencing Multi-Select Checkbox Field

Avatar

Level 1

I have a multi-select checkbox field (let's call it "Field 1") with three choices: Team A, Team B, Team C.

I'm trying to make a calculated field ("Field 2") that references Field 1, returning a true expression whenever Team A is selected in Field 1 (regardless of whether the other options are also selected).

I've tried various forms of IF, IFIN, IN, etc, but I am only able to return a true expression when only Team A is selected in Field 1. If multiple selections are made in addition to "Team A", I'm getting the false expression.

One example of a calc I've tried (have tried a few and scrapped):

IFIN(Teams Involved,"Team A","Yes","No")

At this point, "why" I was doing this is moot, but I still want to know what's going on and if there's a proper calculation to use for this scenario.

0694X00000HET4HQAX.png0694X00000HET4lQAH.pngCan anyone help here?

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi Ashley, have you tried a CONTAINS?

IF(CONTAINS("Team A",Teams Involved),"Yes","No")

If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/4rbpr7hf

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 1

@Doug Den Hoed‚ @William English‚ can either of you help with this one? I hope I'm just doing something silly and don't need to account for sorting or something 🙂

Avatar

정확한 답변 작성자:
Community Advisor

Hi Ashley, have you tried a CONTAINS?

IF(CONTAINS("Team A",Teams Involved),"Yes","No")

If you like my content, please take a moment to view and vote on my Idea Requests: https://tinyurl.com/4rbpr7hf

Avatar

Level 1

@William English‚ well this is officially the silliest I've asked in a while! Total facepalm moment--thank you, that worked! Excuse me while I oil my rusty brain...

For my knowledge, do you know why IFIN doesn't work in this situation?

Avatar

Community Advisor

Hi Ashley,

The IFIN syntax lets you "look for a specific value in a string of possible values", such as this:

IFIN({owner}.{name},"Jennifer Campbell","Rick Kuvec","Marketing Team","Other Teams")

Given that, it might be possible (untested) in your case to use:

IFIN("Team A",Teams Involved,"Yes","No")

Which (if it works) means that IFIN is "smart enough" to treat the Teams Involved multi-select array as if it were a string of possible values...but (if it fails) means that it isn't that smart (e.g. and is treating them as an array of strings, perhaps only ever matching on the first item in the array, which would then yield inconsistent results).

Bill's CONTAINS approach solves that neatly because CONTAINS will scan through all selected items for a match.

Regards,

Doug