Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I´m doing price calculation in my Excel. I have a problem in rounding the
final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm not sure I fully understand what you mean by a tenth but the following
adds or subtract 1/10 of the value of the cell either up or down =IF(B6=5,B6+(B6/10),IF(B6<=4.99,B6-(B6/10))) "Orninn" wrote: I´m doing price calculation in my Excel. I have a problem in rounding the final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Let´s take a sample. If I get a price of 1145 or more I want to round up to
1150 but if price is 1144,99 or lower I want to round down to 1140 "Mike" wrote: I'm not sure I fully understand what you mean by a tenth but the following adds or subtract 1/10 of the value of the cell either up or down =IF(B6=5,B6+(B6/10),IF(B6<=4.99,B6-(B6/10))) "Orninn" wrote: I´m doing price calculation in my Excel. I have a problem in rounding the final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Well, that was nothing like what you originally asked, but for your new
question, is there anything wrong with =ROUND(A1,-1) ? -- David Biddulph "Orninn" wrote in message ... Let´s take a sample. If I get a price of 1145 or more I want to round up to 1150 but if price is 1144,99 or lower I want to round down to 1140 "Mike" wrote: I'm not sure I fully understand what you mean by a tenth but the following adds or subtract 1/10 of the value of the cell either up or down =IF(B6=5,B6+(B6/10),IF(B6<=4.99,B6-(B6/10))) "Orninn" wrote: I´m doing price calculation in my Excel. I have a problem in rounding the final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=ROUND(A1,-1) is the solution.
Thanks a lot! "David Biddulph" wrote: Well, that was nothing like what you originally asked, but for your new question, is there anything wrong with =ROUND(A1,-1) ? -- David Biddulph "Orninn" wrote in message ... Let´s take a sample. If I get a price of 1145 or more I want to round up to 1150 but if price is 1144,99 or lower I want to round down to 1140 "Mike" wrote: I'm not sure I fully understand what you mean by a tenth but the following adds or subtract 1/10 of the value of the cell either up or down =IF(B6=5,B6+(B6/10),IF(B6<=4.99,B6-(B6/10))) "Orninn" wrote: I´m doing price calculation in my Excel. I have a problem in rounding the final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A1<5,ROUNDDOWN(A1,1),ROUNDUP(A1,1))
-- David Biddulph "Orninn" wrote in message ... I´m doing price calculation in my Excel. I have a problem in rounding the final figure. I want prices to be rounded up to the next tehth for prices from 5 and over and lowered to the next tenth for prices 4,99 and under. Can anyone guide me? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
rounding a number created by a formula to a retail price | Excel Worksheet Functions | |||
Retail Price rounding help needed | Excel Worksheet Functions | |||
Price function difference in Output formula vis a vis Manual Calculation | Excel Worksheet Functions | |||
SUMIF function in "Price quote with tax calculation" templae | Excel Worksheet Functions | |||
MSNStockQuote Function Parameters | Excel Worksheet Functions |