TISS
asked on
Excell Question
I have 2 separate workbooks in Excell 97 format.
The first one has a list of values in the A Column. For simplicity, let's say there are 50 different values.
In worksheet 2, I have a sub-list of about 10 values. These 10 values can all be found in the first spreadsheet.
The small list are values that I need to delete out of the first list. How can I compare these two lists, and find which values are present in both lists? Is there a Union function or something that will do it?
The first one has a list of values in the A Column. For simplicity, let's say there are 50 different values.
In worksheet 2, I have a sub-list of about 10 values. These 10 values can all be found in the first spreadsheet.
The small list are values that I need to delete out of the first list. How can I compare these two lists, and find which values are present in both lists? Is there a Union function or something that will do it?
ASKER
That's one solution I thought of too, but I counldn't figure out how to code a macro to look at the value in another workbook.
If it were too lists on the same workbook sheet, I'd be fine.
Any ideas on this?
If it were too lists on the same workbook sheet, I'd be fine.
Any ideas on this?
Can you use the DGET() database function to extract the fields that match? Check Excel help on this function. DGET() extracts the single values that match fields with a pattern you name. Really, what you want to do amounts to database manipulation and excel is not the best tool, but it sounds like you may be stuck with it.
RoseFire
RoseFire
If you want to do this only once, you can cut and paste the small database into the larger sheet too. This will be messy if you are trying to automate this process, however.
RoseFire
RoseFire
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
Run a macro w/ a nested loop that compares each value in the big list to each value in the small list. When a match is found, the current cell in the big list ="", then exit the exit the nested loop and proceed to the next value in the big list.