View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Round to a number in a list

With
A1:A7 containing your posted list
and
B1: (a number to match)

If you want exact matches to use the matched item,
otherwise...use the next highest item:
C1: =INDEX(A1:A7,MATCH(1,FREQUENCY(B1,A1:A7),0))

If B1: 200
the formula returns 200

If B1: 214
the formula returns 300

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Huber57" wrote in message
...
Hello:

I have a list of numbers:
10
15
200
300
500
650
775

I have a cell that returns numbers in between 10 adn 775 (example: 214).
I
need that number to round to the next higher number in the list (in this
case: 300).

I have tried Rounding in several ways and it hasn't worked. Does this
require an array formula?

Thanks!