
Originally Posted by
MAPepin
I don't think that LOOKUP or the VLOOKUP function will work with what I have. It's looking for an exact number and I need to look at a range.
Not true...See Excel Help for each of the functions:
LOOKUP does not look for an exact match.
VLOOKUP uses approximate matches when the 4th argument is 1 or omitted.
MATCH uses approximate matches when the 3rd argument is 1 or omitted.
Using the setup from my previous post and your percent samples in H1:H8
AND...any of these formulas:
I1: =VLOOKUP(H1,$A$1:$B$5,2,1)
I1: =LOOKUP(H1,{0;0.25;0.5;0.75;0.9},{1;2;3;4;5})
I1: =MATCH(H1,{0;0.25;0.5;0.75;0.9})
Copy the I1 formula down through I8.
These are the returned values:
51% 3
0% 1
3% 1
47% 2
15% 1
19% 1
12% 1
10% 1
Are those value incorrect? Am I missing something?
Bookmarks