Using IF and Concat Calculation together

Viewing 3 reply threads
  • Author
    Posts
  • April 7, 2026 at 9:49 PM #53934

    Martin Furse
    Participant

    Hi I am wondering if anyone can see what I am doing wrong with the following calculation:

    IF(Party Status)
    =”Party1″;CONCAT(LEFT(
    , 3), RIGHT(
    , 3));”Nothing”)

    Party Status is the Field Name and Party 1 forms part of a “Single Value Popover” Picklist.

    The result I am after is to return the CONCAT providing the Party Status equals “Party One”
    What seems to be happening is the If calculation is not being triggered and regardless of what Single Value picklist I use, it will still return the CONCAT.

    Thank you in advance

    Trusty

    April 7, 2026 at 10:24 PM #53935

    Martin Furse
    Participant

    Apologies – The calculation didn’t all copy across but in the CONCAT I have First Name and Last Name, so:
    IF(Party Status)
    =”Party1″;CONCAT(LEFT(First Name
    , 3), RIGHT(Last Name
    , 3));”Nothing”)

    Cheers
    Martin

    April 7, 2026 at 10:57 PM #53936

    Brendan
    Keymaster

    Hi Martin,

    For the IF() function, you should use IFEQUAL() instead when comparing text values. The IF() function is for doing numeric comparisons.

    So it would be:

    IFEQUAL(Party Status; "Party 1"; LEFT(First Name; 3) + " " + RIGHT(Last Name; 3); "Nothing")

    You don’t have to use CONCAT(). You can just use + to concatenate strings together. I put a space in there just for example.

    Thanks,

    Brendan

    April 8, 2026 at 1:27 AM #53940

    Martin Furse
    Participant

    Thank you Brenan, It worked a treat!

Viewing 3 reply threads

You must be logged in to reply to this topic.