ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how do I get excel to round to specific numbers? (https://www.excelbanter.com/excel-programming/387535-how-do-i-get-excel-round-specific-numbers.html)

medic

how do I get excel to round to specific numbers?
 
I need to get excel to round a number to one of the following number those
numbers are
32
37
46
53
60
66
76
84
94
105


Corey

how do I get excel to round to specific numbers?
 
So if the number 33 was input, would it need to use 32 or the next highest number?
(Closest or Next Highest number)
"medic" wrote in message
...
I need to get excel to round a number to one of the following number those
numbers are
32
37
46
53
60
66
76
84
94
105



NickHK

how do I get excel to round to specific numbers?
 
Round up or down ?

NickHK

"medic" wrote in message
...
I need to get excel to round a number to one of the following number those
numbers are
32
37
46
53
60
66
76
84
94
105




JE McGimpsey

how do I get excel to round to specific numbers?
 
One way:

Put this in, say, another sheet (which could be hidden):

A B
1 -1.0E+307 32
2 34.49999999999 37
3 41.49999999999 46
4 49.99999999999 53
5 56.49999999999 60
6 62.99999999999 66
7 70.99999999999 76
8 79.99999999999 84
9 88.99999999999 94
10 98.49999999999 105


And use the formula:

=VLOOKUP(J1, Sheet2!A:B, 2, TRUE)



In article ,
medic wrote:

I need to get excel to round a number to one of the following number those
numbers are
32
37
46
53
60
66
76
84
94
105



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com