Skip to main content
Question

Formula for numeric field "" if null

  • January 14, 2017
  • 0 replies
  • 195 views

Hello Everyone,

I'm trying to write a formula where if my price field is left empty the default list price is inserted.



This SELL PRICE (currency field) is in the LINE ITEM table where the lookup on the PRODUCTS table where DEFAULT PRICE(currency field)  is located.

In Salesforce it was something like " if null = default price"..........................

 
This topic has been closed for replies.

  • Quickbase Alumni
  • January 14, 2017
It depends on the field properties of [Default Price].

If Treat blank values as 0 in calculation is checked:

If([Default Price]=0,then statement,else statement)

If Treat blank values as 0 in calculation is not checked:

If(IsNull([Default Price]),then statement,else statement)

  • Author
  • Quickbase Alumni
  • January 14, 2017
Thanks I will try the second option

  • Author
  • Quickbase Alumni
  • January 16, 2017
Hey dwhave
I'm getting this message:
Please check the syntax of your entire formula. Possible culprits are a mismatched set of parentheses, missing quotes, or an extra bracket.

This is my formula .
The DNprice field is a look up in  the PRODUCT TABLE

If(IsNull([Product - DN Price])

  • Quickbase Alumni
  • January 16, 2017
Another closing parenthesis:   If(IsNull([Product - DN Price]))