Format and Specify Rounding of Formula(Numeric) on Saved Searches

You want to create a sales search and divide your sales amount by 3. You want the result to use the format 999,999.9999

1.       Lists > Search > Saved Searches > New Search Type= Transaction

2.       Criteria tab

a.       Type = Invoice

b.       Main Line= True

3.       Results tab

a.        Name

b.       Number

c.       Amount

d.       Formula (Numeric) ; Formula: To_char({amount}/3,’999,999.9999′)

4.      Save and Run

5.       Sample Preview:

NameNumberAmountFormula (Numeric)
ABC121,000.00333.3333
FGH15900.00300.0000
DEF14100,300.0033,433.3333

‘999,999.9999’  is the format you can change depending on the customer’s requirement.

You can also use the Round formula, however, this will not automatically add commas to values and will not add decimal places to whole numbers.

a.       Ex: Formula (Numeric) ; Formula: Round({amount}/3,4)

b.       Result:

NameNumberAmountFormula (Numeric)
ABC121,000.00333.3333
FGH15900.00300
DEF14100,300.0033433.3333

Leave a comment

Your email address will not be published. Required fields are marked *