Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

[Excel] Complicated Data Extraction

Status
Not open for further replies.

Lion_Engineer

Industrial
Sep 19, 2022
10
Salutations!

Recently I've been given the task of trying to take a list of items from one sheet, and consolidating them into a better format.
Unfortunately for me, this list of items needs to be cross-referenced with another sheet to check if the item must be included or not, a system which is not strictly one-to-one (Sometimes an item is listed twice on the reference sheet, and must be checked under both entries)

So far it's been easy getting the data from the reference sheet, and I can very easily extract one column of data, then find the corresponding row entry that's been checked off, however I'm running into trouble extracting that information across multiple columns.

In a programming sense, I want to do a lookup with multiple outputs for each column entry, then repeat that process for however many duplicate entries there are while appending to the original lookup results, but it looks like there aren't many Excel functions to deal with this?

I've given the following a try:
[ul]
[li]VLOOKUP[/li]
[li]XLOOKUP[/li]
[li]FILTER[/li]
[li]FILTER w/ conditional array attached[/li]
[li]AGGREGATE[/li]
[/ul]

If anyone else has had to do a similarly complicated referencing using Excel, I'd love to hear about it.
 
Replies continue below

Recommended for you

Two options that come to mind are:

1) Use MATCH and INDEX with helper columns so you can do the lookups in stages.
2) Do it in VBA, probably using scripting dictionaries.

For more specific advice, some examples of the sort of data giving problems would be helpful.


Doug Jenkins
Interactive Design Services
 
As with almost any and every complicated situation, the devil is in the details. And until that is revealed, the best anyone can offer has been offered.

Oh and I could offer another possible alternative method of some sort of SQL solution.

Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
use the website Fiver. pay someone in India to do it for 5 dollars.

No joke, I use it all the time for data extraction.

Its great as you learn many tricks from their work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor