0

Formula help please.

What formula could I use to to display the value of this choice field if one is marked, or "Not Rated" text if the field is empty?

Screen Shot 2021-02-20 at 10.16.27 AM

4 replies

null
    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    Rarity = null (for the empty option - i think you might be able to use 0 to but check) 

    as for all other options

    Rarity = 1 or Rarity = "Rare"

    you are better sticking with the numbers cos thats how choice fields save the index (and then it will still work is you cahnged the text

    2 for Exrtrem Rare)

    etc etc

    • Mr_K
    • 3 yrs ago
    • Reported - view

    I think I need an if/then formula so I can get the text to display when Rarity = null?

    • Tim
    • 3 yrs ago
    • Reported - view

    This should work:

    if Rarity then text(Rarity) else "Not Rated" end

    • Mr_K
    • 3 yrs ago
    • Reported - view

    Beauiful. That works great. Thanks Tim and Mel.

Content aside

  • 3 yrs agoLast active
  • 4Replies
  • 319Views