Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default round to the nearest 1/8

how would you convert this formula for the nearest 1/8%
  #2   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default round to the nearest 1/8

sorry, the formula is =round(A1*8,0)/8
I am looking for a way to enter a % as A1 (ie. 3.485% and have it return
3.50%)

"Xhawk57" wrote:

how would you convert this formula for the nearest 1/8%

  #3   Report Post  
Posted to microsoft.public.excel.misc
mphell0
 
Posts: n/a
Default round to the nearest 1/8


Use MROUND

=MROUND(A1,0.125)

You will have to load the analysis toolpak to get the MROUND Function.


--
mphell0
------------------------------------------------------------------------
mphell0's Profile: http://www.excelforum.com/member.php...o&userid=30153
View this thread: http://www.excelforum.com/showthread...hreadid=513298

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default round to the nearest 1/8

On Thu, 16 Feb 2006 10:00:26 -0800, "Xhawk57"
wrote:

sorry, the formula is =round(A1*8,0)/8
I am looking for a way to enter a % as A1 (ie. 3.485% and have it return
3.50%)

"Xhawk57" wrote:

how would you convert this formula for the nearest 1/8%



=ROUND(A1/(1/8)%,0)*(1/8)%

or

=ROUND(A1*800,0)/800


--ron
  #5   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default round to the nearest 1/8

Changing the 8 to 800 did the trick, thank you.

"Ron Rosenfeld" wrote:

On Thu, 16 Feb 2006 10:00:26 -0800, "Xhawk57"
wrote:

sorry, the formula is =round(A1*8,0)/8
I am looking for a way to enter a % as A1 (ie. 3.485% and have it return
3.50%)

"Xhawk57" wrote:

how would you convert this formula for the nearest 1/8%



=ROUND(A1/(1/8)%,0)*(1/8)%

or

=ROUND(A1*800,0)/800


--ron



  #6   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default round to the nearest 1/8

On Thu, 16 Feb 2006 12:58:28 -0800, "Xhawk57"
wrote:

Changing the 8 to 800 did the trick, thank you.


Both work. Just different ways of expressing the same number.

--ron
  #7   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default round to the nearest 1/8

On Thu, 16 Feb 2006 12:58:28 -0800, "Xhawk57"
wrote:

Changing the 8 to 800 did the trick, thank you.


Both work. Just different ways of expressing the same number.

Thanks for the feedback.
--ron
  #8   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default round to the nearest 1/8


...or another way

=ROUND(A1*8,2)/8


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=513298

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Round a number to the Nearest .25 Dave E Excel Worksheet Functions 3 May 15th 23 11:47 AM
How do i round up a price to the nearest 5,10,15 etc pence Millsy Excel Worksheet Functions 1 May 18th 05 02:20 PM
i need an excell formula that will round up to the nearest 9.99 Brian Excel Worksheet Functions 4 May 11th 05 10:51 PM
Round Up to Nearest 10 Marek Excel Worksheet Functions 4 April 29th 05 01:16 PM
Round time to nearest quarter hr John Excel Worksheet Functions 2 March 16th 05 09:41 PM


All times are GMT +1. The time now is 01:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"