Price list roundup with different parameter

nazeem

New Member
Joined
May 26, 2016
Messages
27
BarcodePriceResult
11002200209543.753545
220000000001978.7580
2200000000026105105
2200000000033105105
2200000000040105105
2200000000057105105
2200000000064175.0035175
220000000007152.555
220000000009515.7516
220000000010130.628531
220000000011830.628531
220000000012552.555
220000000017052.555
220000000018752.555
220000000032531.532
220000000055231.532
220000000056943.753544
220000000057626.2527
220000000058334.996535
220000000059043.0544
220000000060626.2527
6291100001004 75.0004575
6291100004003115.0002115
62911006847170.87150.88
62911006847240.78750.79
62911006847310.3990.4
62911006847480.5250.53
62911006847550.3990.4
62911006847620.5250.53
62911006847860.5250.53
62911006899416.36.3

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>

All price below 10 will have the no price change.

10-40 range all will round off to next number.

40 and above will be round off to next 5th number.

All figures should have max 2 decimal.

Thanks in advance.

Appreciate your effort.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I don't understand some of your examples.

0.8715
According to your written instructions, this value should have no change (because < 10) but be a max of 2 decimal places. By my reckoning that should give 0.87, not 0.88 per your example results.

43.05
"40 and above will be round off to next 5th number". How do you calculate that the "next 5th number" in that case is 44, not 45?

43.7535
Same as the last example.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top