Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Does anyone know how I can round a number up to a specific set of numbers. I need to round a number to the nearest of the following numbers: 250 350 450 550 650 750 850 950 1050 1150 1250 ... ... etc The numbers above are in a range B3:AC3. Eg 1: 260 becomes 350 Eg 2: 700 becomes 750 Any ideas? Bradles -- bradles ------------------------------------------------------------------------ bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 View this thread: http://www.excelforum.com/showthread...hreadid=569322 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Try something like this, with your value in A2 =HLOOKUP(A2+90,B3:AC3,1,TRUE) Hope this helps. Andy. "bradles" wrote in message ... Does anyone know how I can round a number up to a specific set of numbers. I need to round a number to the nearest of the following numbers: 250 350 450 550 650 750 850 950 1050 1150 1250 .. .. etc The numbers above are in a range B3:AC3. Eg 1: 260 becomes 350 Eg 2: 700 becomes 750 Any ideas? Bradles -- bradles ------------------------------------------------------------------------ bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 View this thread: http://www.excelforum.com/showthread...hreadid=569322 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Hi Try something like this, with your value in A2 =HLOOKUP(A2+90,B3:AC3,1,TRUE) Hope this helps. Andy. That almost had it Andy. Only problem is: what if the number is 250.1. I need that to be rounded up to 350 because it is greater than 250. Your formular in that case would be looking up 250.1+90 = 349.1. So it would still drop down to 250. Any more ideas? Brad -- bradles ------------------------------------------------------------------------ bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 View this thread: http://www.excelforum.com/showthread...hreadid=569322 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Change the A2+90 to A2+99.9999 or similar. Sorry, I didn't realise you'd be using decimals. Andy. "bradles" wrote in message ... Hi Try something like this, with your value in A2 =HLOOKUP(A2+90,B3:AC3,1,TRUE) Hope this helps. Andy. That almost had it Andy. Only problem is: what if the number is 250.1. I need that to be rounded up to 350 because it is greater than 250. Your formular in that case would be looking up 250.1+90 = 349.1. So it would still drop down to 250. Any more ideas? Brad -- bradles ------------------------------------------------------------------------ bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 View this thread: http://www.excelforum.com/showthread...hreadid=569322 |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Change the A2+90 to A2+99.9999 or similar. Sorry, I didn't realise you'd be using decimals. Andy. Thanks Andy, I think that's done it. Much appreciated. Brad. -- bradles ------------------------------------------------------------------------ bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 View this thread: http://www.excelforum.com/showthread...hreadid=569322 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
With 1250,1150...250 in A1:A11 (sorted descending) and your number in B1:
=INDEX(A1:A11,MATCH(B1,A1:A11,-1)) -- Kind regards, Niek Otten Microsoft MVP - Excel "bradles" wrote in message ... | | Does anyone know how I can round a number up to a specific set of | numbers. | | I need to round a number to the nearest of the following numbers: | 250 | 350 | 450 | 550 | 650 | 750 | 850 | 950 | 1050 | 1150 | 1250 | .. | .. | etc | | The numbers above are in a range B3:AC3. | | Eg 1: 260 becomes 350 | Eg 2: 700 becomes 750 | | Any ideas? | | Bradles | | | -- | bradles | ------------------------------------------------------------------------ | bradles's Profile: http://www.excelforum.com/member.php...nfo&userid=998 | View this thread: http://www.excelforum.com/showthread...hreadid=569322 | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Rounding numbers up or down | Excel Discussion (Misc queries) | |||
Select specific numbers from a list based on position | Excel Discussion (Misc queries) | |||
counting only specific numbers in column | Excel Worksheet Functions | |||
How do I add a range of numbers to sum a specific total? | Excel Worksheet Functions | |||
How do I make Excel stop rounding off my numbers that are 16 digi. | Excel Discussion (Misc queries) |