• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Index w/ Match variables

Hello,

The formula I'm using is:

=index(WR!A:G,match(A1&A2,WR!A:A&WR!F:F,0),2)

This works fine so long as the values in A1 and A2 are fixed values.

But what I'd like to do is replace A2 something that says "anything greater than zero." Fiddling with the match_type just returns the wrong values.

Thanks in advance.

Seth
0
IntegriNet
Asked:
IntegriNet
  • 2
1 Solution
 
NBVCCommented:
Try changing it around like so:

=INDEX(WR!A:G,MATCH(1,INDEX((WR!A:A>0)*(WR!F:F=A2),0),0),2)

note, this formula doesn't need CTRL+SHIFT+ENTER confirmation, but it is an array formula and so you should minimize the range sizes for better efficiency.
0
 
NBVCCommented:
Hi Seth,

I was wondering if you tried this solution and if it was successful?
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now