Actually, for the way your data is set up, Vlookup is not appropriate, since
the lookup value is not in the left most column.
You mention 40 arguments (rows), so you can just expand on what I did to
follow your example.
A1 to A10 = as you posted,
B1 to B10
0
1000
3000
6000
10000
15000
21000
28000
36000
45000
The number to lookup is entered in G1.
And try this formula:
=INDEX(A1:A10,MATCH(G1,B1:B10,1))
With this formula, *any* number larger then 45,000 will return 10th.
--
HTH,
RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
Ok, I have been looking through the VLOOKUP function, and im not sure how
exactly I would do that. ill give you an example as best I can for what im
doing
A1 B2
1st =between 0 and 999
2nd =between 1000 and 2999
3rd =between 3000 and 5999
4th =betweem 6000 and 9999
5th =between 10000 and 14999
6th =between 15000 and 20999
7th =between 21000 and 27999
8th =between 28000 and 35999
9th =between 36000 and 44999
10th =between 45000 and 54999
I dont actually have the =between x and x in the cell, I actually need to
know how to do that to =). Also how would I make vlookup find the range lets
say 500, should find that its in the cell 'between 0 and 999' it should
output '1st' in the formula cell. I hope that makes sense =). If you need
more info let me know =)