Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Displaying multiples of 10

I need to display only numbers divisable by 10 in a cell, if the calculation
is not divisable by 10 it still needs to display in multiples of 10.
Example: The product of 100 x .102 equals 102, but the value displayed needs
to be 110. whatever the product of the formula, the display must be
multiples of 10.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Displaying multiples of 10

I have used the "ROUND" in the formula however it only rounds to the nearest
number not the nearest number divisible by 10

here is the formula that works for the problem, but it does not give me the
desired result as I need only display multiples of 10 for the input of other
data to finalize the operation
=ROUND(MIN(10)*B8*0.202,0)+98
in this formula "B8" can equal any number from 1 to 1000
if B8=1 the resulting product equals 100 which is the minimum value I can
allow
when B8=100 the resulting product equals 300 which is the desired result
when B8=numbers between 1 & 6, 7 & 11, 12 & 16 and so on the result is not
divisible by 10


"Sheeloo" wrote:

Use
=ROUND(A1,-1)

replace A1 with the formula used to calculate the value in A1
or you can have the formula in B1

If you want to round up to the next multiple of 10 then use
=ROUNDUP(A1,-1)

"WavMaster" wrote:

I need to display only numbers divisable by 10 in a cell, if the calculation
is not divisable by 10 it still needs to display in multiples of 10.
Example: The product of 100 x .102 equals 102, but the value displayed needs
to be 110. whatever the product of the formula, the display must be
multiples of 10.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Displaying multiples of 10

=CEILING(102,10)

HTH. Best wishes Harald

"WavMaster" wrote in message
...
I need to display only numbers divisable by 10 in a cell, if the
calculation
is not divisable by 10 it still needs to display in multiples of 10.
Example: The product of 100 x .102 equals 102, but the value displayed
needs
to be 110. whatever the product of the formula, the display must be
multiples of 10.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Displaying multiples of 10

Sheeloo said:
Use =ROUND(...,-1)
Why not try that?

Hint: ROUND(...,0) gives a different result from ROUND(...,-1)
If you need to know more about the ROUND function, look it up in Excel help.
--
David Biddulph

WavMaster wrote:
I have used the "ROUND" in the formula however it only rounds to the
nearest number not the nearest number divisible by 10

here is the formula that works for the problem, but it does not give
me the desired result as I need only display multiples of 10 for the
input of other data to finalize the operation
=ROUND(MIN(10)*B8*0.202,0)+98
in this formula "B8" can equal any number from 1 to 1000
if B8=1 the resulting product equals 100 which is the minimum value I
can allow
when B8=100 the resulting product equals 300 which is the desired
result when B8=numbers between 1 & 6, 7 & 11, 12 & 16 and so on the
result is not divisible by 10


"Sheeloo" wrote:

Use
=ROUND(A1,-1)

replace A1 with the formula used to calculate the value in A1
or you can have the formula in B1

If you want to round up to the next multiple of 10 then use
=ROUNDUP(A1,-1)

"WavMaster" wrote:

I need to display only numbers divisable by 10 in a cell, if the
calculation is not divisable by 10 it still needs to display in
multiples of 10. Example: The product of 100 x .102 equals 102, but
the value displayed needs to be 110. whatever the product of the
formula, the display must be multiples of 10.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Displaying multiples of 10

Use following formula,
Let the values are in column A and you want the corresponding values in
Column B the numbers divisible by 10,
Select a cell in column B and paste following formula
=IF((A1-TRUNC(A1,-1))=5,TRUNC(A1,-1)+10,TRUNC(A1,-1))

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Displaying multiples of 10

Use following formula,
Let the values are in column A and you want the corresponding values in
Column B the numbers divisible by 10,
Select a cell in column B and paste following formula
=IF((A1-TRUNC(A1,-1))=5,TRUNC(A1,-1)+10,TRUNC(A1,-1))






Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1

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
Displaying multiples of 10 Sheeloo[_3_] Excel Discussion (Misc queries) 0 February 7th 09 04:35 AM
Displaying multiples of 10 Sheeloo[_3_] Excel Discussion (Misc queries) 0 February 7th 09 04:35 AM
COUNTIF for multiples of 3 mwam423 Excel Worksheet Functions 3 June 4th 08 06:25 PM
lookup multiples need help Excel Worksheet Functions 2 July 25th 07 07:38 PM
Multiples of 4 in an IF statement Barry Clark Excel Worksheet Functions 3 August 22nd 06 01:22 PM


All times are GMT +1. The time now is 02:20 AM.

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"