Ternary operator

Hi,

Usage example:

INDEX(SELECT(...), 1) || 0

This would have the same result as:

IF(ISBLANK(INDEX(SELECT(...), 1)), 0, INDEX(SELECT(...), 1))

It would be much clearer and possibly a performance gain as you could exec one query instead of two.

Status Open
0 3 1,103
3 Comments
Marc_Dillon
Platinum 1
Platinum 1

I thought about posting this exact request a week or so ago. But instead I posted the following one. The reason being that Appsheet generally follows spreadsheet-esque formulas, instead of coding language type syntax. I don’t believe any spreadsheet systems have a ternary operator (but would happily be proven wrong), but they do have IFERROR().

Steve
Platinum 4
Platinum 4
Status changed to: Open
Pratyusha
Community Manager
Community Manager