A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

ROUNDUP to nearest 1/16 (in decimals)



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2009, 02:13 PM posted to microsoft.public.excel.worksheet.functions
[email protected]
external usenet poster
 
Posts: 90
Default ROUNDUP to nearest 1/16 (in decimals)

How can I ROUNDUP a number to the nearest 1/16? I currently have a
column with 1/16 increments listed in decimals:
1/16 = 0.0625
1/8 = 0.125
3/16 = 0.1875
etc.

Do I simply do a lookup on that column? If so, how can I do this?

THANKS!
  #2  
Old May 12th, 2009, 02:34 PM posted to microsoft.public.excel.worksheet.functions
Bernd P
external usenet poster
 
Posts: 613
Default ROUNDUP to nearest 1/16 (in decimals)

=ROUNDUP(A2*16,0)/16
will round UP to next 1/16. Take ROUND if you want to round to closest
1/16.

Regards,
Bernd
  #3  
Old May 12th, 2009, 02:45 PM posted to microsoft.public.excel.worksheet.functions
[email protected]
external usenet poster
 
Posts: 90
Default ROUNDUP to nearest 1/16 (in decimals)

On May 12, 9:34*am, Bernd P wrote:
=ROUNDUP(A2*16,0)/16
will round UP to next 1/16. Take ROUND if you want to round to closest
1/16.

Regards,
Bernd


Thanks, Bernd. I should've been more specific. I need to round the
result of the following function to the nearest 1/16:
=(V5*D5)-AB12+AC12

How can I modify this to round accordingly?
  #5  
Old May 12th, 2009, 03:04 PM posted to microsoft.public.excel.worksheet.functions
[email protected]
external usenet poster
 
Posts: 90
Default ROUNDUP to nearest 1/16 (in decimals)

On May 12, 9:55*am, Glenn wrote:
wrote:
On May 12, 9:34 am, Bernd P wrote:
=ROUNDUP(A2*16,0)/16
will round UP to next 1/16. Take ROUND if you want to round to closest
1/16.


Regards,
Bernd


Thanks, Bernd. I should've been more specific. I need to round the
result of the following function to the nearest 1/16:
=(V5*D5)-AB12+AC12


How can I modify this to round accordingly?


Substitute your function for A2 in Bernd's function.

=ROUNDUP(((V5*D5)-AB12+AC12)*16,0)/16


Good grief! Thanks, Glenn! I was going about this the hard way!
Thanks, Bernd!
  #6  
Old May 12th, 2009, 04:55 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default ROUNDUP to nearest 1/16 (in decimals)

=CEILING((V5*D5)-AB12+AC12,1/16)
--
David Biddulph

wrote in message
...
On May 12, 9:34 am, Bernd P wrote:
=ROUNDUP(A2*16,0)/16
will round UP to next 1/16. Take ROUND if you want to round to closest
1/16.

Regards,
Bernd


Thanks, Bernd. I should've been more specific. I need to round the
result of the following function to the nearest 1/16:
=(V5*D5)-AB12+AC12

How can I modify this to round accordingly?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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