1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

How to have a multi-criteria lookup find the most specific result when multiple results are possible?

Our take

Struggling with multi-criteria lookups that yield multiple results? You're not alone. In Google Sheets, finding the most specific outcome from a dataset can be tricky, especially when dealing with overlapping data points. By leveraging advanced functions and strategic criteria, you can ensure that your lookups pull the most relevant results, even when "All" is involved. This guide will walk you through creative solutions to refine your search and maximize accuracy, ensuring your data retrieval process is both efficient and effective. Let’s dive in!

Example File

I've never used google docs before to share, so let me know if that link doesn't work.

I created a test doc similar to the real doc I'm working on. Essentially I have data that utilizes multiple columns of information to create a unique scenario. I need it to look up the result from a seperate sheet based on the most specific data it can and give me the result.

For example on my test sheet:

State - Ohio, City - Cincinnati, County - Hamilton, Township - Delhi, School - Oak Hills should pull results H from tab A and 8 from tab B

The issue I run into is that from tab A, the results H, I and J could all fit for the data point in the example above. So figuring out a way to only produce the most specific result (specific being the furthest column to the right) as well as account for any data points that include "All" instead of something specific.

Any creative solutions for this?

submitted by /u/LOP5131
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with