Set column to empty value with IF in initial value compute

Minoas
New Member

Hello,

I have a number column called X which gets a calculated initial value depending on what is selected in another field in the form.
IF([Other column] <> โ€œโ€, [Price]/2.0, โ€œโ€)

When [Other column] is empty X is set to be 0.00 euros, what I would like instead is to have X be set to empty, is there a value i can return from IF to achieve this?

Solved Solved
0 3 688
1 ACCEPTED SOLUTION

Or likeโ€ฆ IFS(ISNOTBLANK([Other column]), [Price]/2.0)

View solution in original post

3 REPLIES 3

@Minoas
You can use this expression:

IF(ISNOTBLANK([Other column]), [Price]/2.0, NUMBER(""))

Or likeโ€ฆ IFS(ISNOTBLANK([Other column]), [Price]/2.0)

Minoas
New Member

Thank you both! Works perfectly!

Cheers

Top Labels in this Space