Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

How to round to nearest 5.99 or 9.99

Topic Labels: Formulas
1105 2
cancel
Showing results for 
Search instead for 
Did you mean: 

I’ve got a column that automatically generates our suggested retail price (based on labor, materials, etc.). I want to add a column that rounds that number (up or down) to the nearest 5.99 or 9.99.

So if it calculates the suggested retail is $10.25, I want there to be a second column that says $9.99. If it suggests $14.87, the other column says $15.99 etc.

2 Replies 2

Hi @Colette_Rennier - $4.99/$9.99 would be easier as it is a series of $5 increments, but $5.99 and $9.99 can be done:

56

The easy version is:

(ROUND(value/5, 0) * 5) -0.01 (format as currency)

The more complicated $5.99/$9.99 formula is:

IF(
  MOD(ROUND(value/5, 0), 2) > 0, 
  (ROUND(value/5, 0) * 5) + 0.99, 
  (ROUND(value/5, 0) * 5) - 0.01
)

JB