LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Rounding formulas

=ROUND(G8*H8,C4)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"pdberger" wrote in message
...
Sorry for not being clear enough.

I'd like to multiply the number in [G8] (for example, 11.27) times [H8]
(for
example, 71.50), and allow the user to pick an interval stored in [C4]
(for
example, 0.25] and round the answer to that -- either the nearest, or
forcing
it up or down. There would be many such computations -- we're preparing
price sheets.

So -- result of multiplication is 11.27 x 71.5 = 80.57

I'd like to allow the user to round the result to:

forcing it up (like the Excel RoundUp function) -- 80.75
forcing it down (like the RoundDown function) -- 80.50
nearest (like the MRound function) -- 80.50

Thanks in advance.

"Jerry W. Lewis" wrote:

An example would greatly clarify what you mean by rounding "to an
interval"

Jerry

"pdberger" wrote:

Good morning.

I want the workbook user to be able to round values -- either up to a
selected interval, down, or to the nearest. The only related VBA
function
I'm able to find is rounding to a number of digits. For example, I
want to
multiply [G8] x [H8], and round to an interval stored in [C4].

Can I accomplish this directly in a VBA statement?

Thanks in advance.



 
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
Rounding Formulas Judy Excel Worksheet Functions 4 January 3rd 07 01:52 AM
Help with rounding formulas TriciaF Excel Worksheet Functions 2 September 5th 06 10:14 PM
Rounding-Formulas fak119 New Users to Excel 2 May 10th 06 01:15 PM
formulas / rounding JT Excel Worksheet Functions 3 January 19th 06 10:49 PM
Rounding Formulas Chandra Excel Discussion (Misc queries) 5 July 5th 05 05:18 PM


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

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"