• Resolved F1st3R

    (@f1st3r)


    Hey, is it possible to return something other than a number with the if condition?
    When I try to do so, I always get an error.
    here is how I do it:
    = if(D2>0,1,+)
    and I get the following error: !ERROR! unexpected operator ‘+’

    I tried putting the charcater/string in ” or “”, but that wouldn’t help.

    https://www.ads-software.com/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, sorry, the external PHP library that TablePress uses to evaluate formulas can only return numbers.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Returning a string or character with if condition’ is closed to new replies.