Match & Index

G

Guest

Here's the scenario:

A B C
1 10 0
2 20 1
3 30 2
4 40 3

I want to index column C then match column A & B with criteria on another
worksheet. However the criteria to match column B will not be an exact match.
I want it to find the number or match the next number higher. For example:
if the number to match is 35 then I want to return number 3, since it's the
next higher number than 35. Does that make sense?

I'm able to get the formula to work with an exact match, but not without.

Thanks.
Phyllis
 
G

Guest

Here's my formula:

{=IF(I1="S",INDEX(p15t!D7:D1491,MATCH('Employee 007'!D6&'Employee
007'!I2,p15t!B7:B1491&p15t!C7:C1491,1),IF('Employee
007'!I1="M",INDEX(p15t!J7:J1502,MATCH('Employee 007'!D6&'Employee
007'!I2,p15t!H7:H1502&p15t!I7:I1502,1),0))))}
 
F

Frank Kabel

Hi
try something like the following array formula
=INDEX(C1:C100,MATCH(1,(A1:A100=4)*(B1:B100>30),0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top