Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Rounding up/down to .95

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default Rounding up/down to .95

hi, Marc !

try with something like: [A3] =int(a1*a2)+1-0.05

hth,
hector.

__ OP __
This is a Mircosoft Office 2007 Excel spread sheet.
I need to figure out a formula that can round up or down to $xx.95 using the following situation
cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81
A1= Cost
A3= Retail
A2= Mark up
Formula used in A3 is- =A1*A2
My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.
Is there a formula that can be entered to do such a funtion? ...



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 806
Default Rounding up/down to .95

Hello,

I suggest to use
=ROUND(A1*A2+0.05,0)-0.05

Please check against Hectors suggestions with values like 0.44 and
0,45 which version you really need...

Regards,
Bernd
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Rounding up/down to .95

=ROUNDUP(A1*A2,0)-0.05
--
Have a Great Day!
HagridC


"MarcV" wrote:

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Rounding up/down to .95

Hi MarcV

The formulae to go in A3 is:

= INT(A1*A2) + IF( ROUND( MOD(A1*A2 , 1) ,2) < 0.45 , -1 , 0) + 0.95

If instead you want to leave the formula you currently have in A3 and enter
the above in A4, it would read:

= INT(A3) + IF( ROUND( MOD(A3 , 1) ,2) < 0.45 , -1 , 0) + 0.95

This would give you the means to check each result, though I have tested the
above and it seemed to work fine for me.

Good luck. Hope this helps.

David



"MarcV" wrote:

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Rounding up/down to .95

Hi again

Just noticed HagridC's response. Just to clarify:

If you have $31.01 and you wanted it to be rounded up to $31.95, then
HagridC's formula will do that. His formula basically works on even if there
is just one cent, round up to the next 95 cents.

I assumed you wanted rounding based on the 45c mark, so if is $31.44, it
will round down to $30.95, but $31.45 will round up to $31.95. If this is
the case, use my formula.

Hope this clarifies.

David



"MarcV" wrote:

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Rounding up/down to .95

My mistake. I neglected to consider the round down.
--
Have a Great Day!
HagridC


"David-Melbourne-Australia" wrote:

Hi again

Just noticed HagridC's response. Just to clarify:

If you have $31.01 and you wanted it to be rounded up to $31.95, then
HagridC's formula will do that. His formula basically works on even if there
is just one cent, round up to the next 95 cents.

I assumed you wanted rounding based on the 45c mark, so if is $31.44, it
will round down to $30.95, but $31.45 will round up to $31.95. If this is
the case, use my formula.

Hope this clarifies.

David



"MarcV" wrote:

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Rounding up/down to .95

On Sat, 6 Feb 2010 13:00:03 -0800, MarcV
wrote:

This is a Mircosoft Office 2007 Excel spread sheet.

I need to figure out a formula that can round up or down to $xx.95 using the
following situation

cost: 18.23
mark up: 1.8
Retail-based on this alone would be $32.81

A1= Cost
A3= Retail
A2= Mark up

Formula used in A3 is- =A1*A2

My problem is that the owner wants all cents to be rounded up or down to .95
and costs are all different throught the cost columns.

Is there a formula that can be entered to do such a funtion?

Thanks for any assistance you can offer.


If you are rounding "up or down", where is the "dividing line". In other
words, at what value to you change from rounding down to rounding up?
--ron
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
rounding pfdubz Excel Discussion (Misc queries) 4 April 15th 09 09:12 PM
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
Rounding ynissel Excel Discussion (Misc queries) 2 July 5th 05 07:42 PM
Rounding Alex Martinez Excel Worksheet Functions 1 May 13th 05 06:07 AM


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