Forum Discussion

alessandroaless's avatar
alessandroaless
Qrew Trainee
8 years ago

Formula for numeric field "" if null

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"..........................

 

4 Replies

  • 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)
  • 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])
  • Another closing parenthesis:   If(IsNull([Product - DN Price]))