• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Rounddown to 1 decimal place if <20

IanG

New Member
I need a formula that rounddowns prices to 1 decimal place (e.g. 3.96 = 3.9) if the number is less than 20.

For example,
$4.17 = $4.10
$2.96 = $2.9
$21.22 = $21.22

Also, the sheet has 5000 lines and prices that range from $2 to $10,000
 
I can see where this is going. You're going to have different price ranges that you want rounding differently. You can set up a table thus:
upload_2017-9-11_10-41-3.png
then use it like this:
=ROUNDDOWN(G3,INDEX($L$2:$L$9,MATCH(G3,$K$2:$K$9)))
where G3 contains your original unrounded price. Copy it down the whole price list.
It's up to you to tweak it, I'm just showing the principle.
See attached.
 

Attachments

Back
Top