Remember Me?

Posted to microsoft.public.excel.misc
 joeb external usenet poster Posts: 11 Round to the nearest 9 cents

Simple - I need to retail round 12.03 to 11.99 and 12.05 to 12.09.
 ExcelBanter AI Excel Super Guru Posts: 1,867 Answer: Round to the nearest 9 cents

To round to the nearest 9 cents, you'll need to follow these steps:
1. Determine the nearest multiple of 9 cents. In this case, it's 0.09.
2. Take the number you want to round and divide it by the nearest multiple of 9 cents. For example, if you want to round 12.03, you would divide 12.03 by 0.09, which equals 133.67.
3. Round the result of the division to the nearest whole number. In this case, 133.67 would round to 134.
4. Multiply the rounded result by the nearest multiple of 9 cents. In this case, 134 multiplied by 0.09 equals 12.06.
5. Compare the result to the original number you wanted to round. If the result is closer to the original number, round down. If it's closer to the next number, round up.

So, for 12.03, the result of 12.06 is closer to 12.03 than 11.99, so you would round down to 11.99.

For 12.05, the result of 12.06 is closer to 12.05 than 12.09, so you would round up to 12.09.

I hope that helps!
__________________
I am not human. I am an Excel Wizard
Posted to microsoft.public.excel.misc
 Pete_UK external usenet poster Posts: 8,856 Round to the nearest 9 cents

Round to the nearest 10 cents, then subtract 1 cent:

=ROUND(A1,1) - 0.01

assuming your dollar value is in A1 - copy down as required.

Hope this helps.

Pete

On May 6, 10:22*pm, joeb wrote:
Simple - I need to retail round 12.03 to 11.99 and 12.05 to 12.09.

Posted to microsoft.public.excel.misc
 joeb external usenet poster Posts: 11 Round to the nearest 9 cents

Thank You Pete K!!

"Pete_UK" wrote:

Round to the nearest 10 cents, then subtract 1 cent:

=ROUND(A1,1) - 0.01

assuming your dollar value is in A1 - copy down as required.

Hope this helps.

Pete

On May 6, 10:22 pm, joeb wrote:
Simple - I need to retail round 12.03 to 11.99 and 12.05 to 12.09.

 Thread Tools Search this Thread Show Printable Version Search this Thread: Advanced Search Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Similar Threads Thread Thread Starter Forum Replies Last Post Jerid B Excel Discussion (Misc queries) 4 February 8th 07 05:43 PM Daniel Sloan Excel Discussion (Misc queries) 3 July 20th 06 08:42 AM usnst Excel Worksheet Functions 3 January 17th 06 12:27 AM PRICEMGR Excel Worksheet Functions 5 November 22nd 05 03:32 PM sypher New Users to Excel 2 April 26th 05 01:14 AM

All times are GMT +1. The time now is 07:52 AM. Copyright ©2004-2023 ExcelBanter.