#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Rounding in Excel

I ave read many publications on rounding, but can't get an answer. I know how
to round a given cell. How do you round the result of an equation to the
lowest eigth? In other words, =sum(a1-b2), where a1 is = to 3.75 and b2 is =
..05 , result (3.70), but the result should be rounded down to the next lowest
1/8th? 3.625 in the equation shown.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Rounding in Excel

Firstly, it I want A1-B1 I do not need the SUM function, I can use just
=A1-B1
Secondly, to round to a fraction (1/N) we multiple by N, round to zero
decimals and divide by N
You asked for round down, so use =ROUNDDOWN((A1-B1)*8,0)/8
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Jday" wrote in message
...
I ave read many publications on rounding, but can't get an answer. I know
how
to round a given cell. How do you round the result of an equation to the
lowest eigth? In other words, =sum(a1-b2), where a1 is = to 3.75 and b2 is
=
.05 , result (3.70), but the result should be rounded down to the next
lowest
1/8th? 3.625 in the equation shown.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Rounding in Excel

Try this:

=ROUNDDOWN((A1-B2)/.125,0)*.125

HTH,
Elkar


"Jday" wrote:

I ave read many publications on rounding, but can't get an answer. I know how
to round a given cell. How do you round the result of an equation to the
lowest eigth? In other words, =sum(a1-b2), where a1 is = to 3.75 and b2 is =
.05 , result (3.70), but the result should be rounded down to the next lowest
1/8th? 3.625 in the equation shown.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Rounding in Excel

one way:

=FLOOR(A1-B2,0.125)

In article ,
Jday wrote:

I ave read many publications on rounding, but can't get an answer. I know how
to round a given cell. How do you round the result of an equation to the
lowest eigth? In other words, =sum(a1-b2), where a1 is = to 3.75 and b2 is =
.05 , result (3.70), but the result should be rounded down to the next lowest
1/8th? 3.625 in the equation shown.

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I stop excel from rounding numbers? c-swym Excel Discussion (Misc queries) 6 June 16th 06 02:04 AM
How do I record (.468) time in Excel without it rounding to .5? SuperDav Excel Discussion (Misc queries) 2 May 17th 06 10:43 PM
stop excel from rounding a result Hazeldean Excel Worksheet Functions 3 May 13th 05 10:42 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM


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

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

About Us

"It's about Microsoft Excel"