Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Sums divisible by 12

I'd like a cell, thats adding cells, to round up or down to equate to a
whole number divisible by 12. One example would be a cell formal equaling 16,
I would want to round down to indicate only 12, and in another example a cell
may equal 21 and I would want to round up to 24. I'm building a spreadsheet
dealing with percentages, but need my outcome to be divisible by 12. Is there
anyone out there that can help? Id really appreciate it.--
Thanks,
Guy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default Sums divisible by 12

You could use Analysis ToolPak add-in function MROUND to round to the nearest
12, e.g.

=MROUND(A1,12)

A1 can be a cell value or replace with another formula.

Note: if you mean round the nearest 12% then change to

=MROUND(A1,0.12)

Without Analysis ToolPak

=ROUND(A1/12,0)*12

Again, for rounding to the nearest 12% change to

=ROUND(A1/12%,0)*12%

"Guy" wrote:

I'd like a cell, thats adding cells, to round up or down to equate to a
whole number divisible by 12. One example would be a cell formal equaling 16,
I would want to round down to indicate only 12, and in another example a cell
may equal 21 and I would want to round up to 24. I'm building a spreadsheet
dealing with percentages, but need my outcome to be divisible by 12. Is there
anyone out there that can help? Id really appreciate it.--
Thanks,
Guy

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Sums divisible by 12

This will really help my spreadsheet.
Thanks for the quick and accurate reply. --
Thanks,
Guy


"daddylonglegs" wrote:

You could use Analysis ToolPak add-in function MROUND to round to the nearest
12, e.g.

=MROUND(A1,12)

A1 can be a cell value or replace with another formula.

Note: if you mean round the nearest 12% then change to

=MROUND(A1,0.12)

Without Analysis ToolPak

=ROUND(A1/12,0)*12

Again, for rounding to the nearest 12% change to

=ROUND(A1/12%,0)*12%

"Guy" wrote:

I'd like a cell, thats adding cells, to round up or down to equate to a
whole number divisible by 12. One example would be a cell formal equaling 16,
I would want to round down to indicate only 12, and in another example a cell
may equal 21 and I would want to round up to 24. I'm building a spreadsheet
dealing with percentages, but need my outcome to be divisible by 12. Is there
anyone out there that can help? Id really appreciate it.--
Thanks,
Guy

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
getting numbers that are divisible by 4 ramana Excel Worksheet Functions 4 June 19th 07 08:18 AM
Check if Equally Divisible John Excel Worksheet Functions 4 April 1st 06 02:10 PM
Roundup to the nearest number that is divisible by 3 Raju Boine. Excel Worksheet Functions 1 June 22nd 05 01:15 PM
How get true response when numbers divisible by 12? lax_fan Excel Worksheet Functions 2 May 16th 05 11:39 PM
how do an @if formula to meet criteria where x is divisible by 12 lax_fan Excel Worksheet Functions 2 May 16th 05 11:12 PM


All times are GMT +1. The time now is 06:21 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"