Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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