Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Machel_C
 
Posts: n/a
Default Multiply one cell by a factor and make that result round

I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

It sounds like you want this:

=ceiling(a7*b7,.05)

I'm not sure where 2.66 comes from.

I would think that this formula would not go in B7--you'll end up with a
circular reference problem if you use it this way.

Machel_C wrote:

I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful


--

Dave Peterson
  #3   Report Post  
Steve R
 
Posts: n/a
Default

Have your tried mround()
=MROUND(A7*2.66,0.05)

"Machel_C" wrote in message
...
I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be
done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful



  #4   Report Post  
Steve R
 
Posts: n/a
Default

Whoops, forgot to pass the infomation Celing() rounds up, not to the
nearest.


"Steve R" wrote in message
...
Have your tried mround()
=MROUND(A7*2.66,0.05)

"Machel_C" wrote in message
...
I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be
done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful





  #5   Report Post  
Machel_C
 
Posts: n/a
Default

Steve, Ceiling rounds to the nearest multiple that you specify,ie. 0.05.

"Steve R" wrote:

Whoops, forgot to pass the infomation Celing() rounds up, not to the
nearest.


"Steve R" wrote in message
...
Have your tried mround()
=MROUND(A7*2.66,0.05)

"Machel_C" wrote in message
...
I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be
done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful








  #6   Report Post  
Machel_C
 
Posts: n/a
Default

Dave, the 2.66 is the multiplying factor I want to use. Here is what I have.
On one sheet I have costing for multiple products. On a second sheet I have
our multiplying factor to use for our costing. Lets say product A costs us
$2.50 to buy and our selling price is 2.66% markup. I want our markup
percentage to multiply by our cost and round to the nearest nickel for our
pricebooks. I dont want to have to create a 3rd sheet to do this.

"Dave Peterson" wrote:

It sounds like you want this:

=ceiling(a7*b7,.05)

I'm not sure where 2.66 comes from.

I would think that this formula would not go in B7--you'll end up with a
circular reference problem if you use it this way.

Machel_C wrote:

I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful


--

Dave Peterson

  #7   Report Post  
Dave Peterson
 
Posts: n/a
Default

maybe...

=ceiling(a7*$b$7*2.66%,.05)

Machel_C wrote:

Dave, the 2.66 is the multiplying factor I want to use. Here is what I have.
On one sheet I have costing for multiple products. On a second sheet I have
our multiplying factor to use for our costing. Lets say product A costs us
$2.50 to buy and our selling price is 2.66% markup. I want our markup
percentage to multiply by our cost and round to the nearest nickel for our
pricebooks. I dont want to have to create a 3rd sheet to do this.

"Dave Peterson" wrote:

It sounds like you want this:

=ceiling(a7*b7,.05)

I'm not sure where 2.66 comes from.

I would think that this formula would not go in B7--you'll end up with a
circular reference problem if you use it this way.

Machel_C wrote:

I am trying to multiply A7 by B7, I then want that result to round to the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful


--

Dave Peterson


--

Dave Peterson
  #8   Report Post  
Steve R
 
Posts: n/a
Default

From Help:
Ceiling()
Returns number rounded up, away from zero, to the nearest multiple of
significance.
Mround()
Returns a number rounded to the desired multiple.

Steve

"Machel_C" wrote in message
...
Steve, Ceiling rounds to the nearest multiple that you specify,ie. 0.05.

"Steve R" wrote:

Whoops, forgot to pass the infomation Celing() rounds up, not to the
nearest.


"Steve R" wrote in message
...
Have your tried mround()
=MROUND(A7*2.66,0.05)

"Machel_C" wrote in message
...
I am trying to multiply A7 by B7, I then want that result to round to
the
nearest 0.05. This is what I have and it wont work.Or maybe it cant be
done?
=(A7*2.66),Ceiling(B7,0.05)
This formula is in cell B7

Is it possible?
Any help greatful







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



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