Link to home
Start Free TrialLog in
Avatar of jaymz69
jaymz69

asked on

VB Code to consolidate

I have a ODBC query bringing in order header files on the orders by routes.
but there are three companies with three routes that equal one.

Route: 1A, 2B, 2C

I don't want to have three filters on the routes I would like to have a lookup or something so they can be consolidated as one in the view
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

It would be useful to see a data sample. I think you just need a lookup table, but it's not clear from the question. You could also simply group those items in a pivot table if that works for your needs.
Avatar of jaymz69
jaymz69

ASKER

That would sound like the easiest way.

How would I go about on a data lookup table?
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaymz69

ASKER

How would I group in a Pivot Table
I would have to somehow setup every route consolidation
If you have a lot of them to group, use a lookup table and formulas. Doing it in the pivot table would be a real pain.
Avatar of jaymz69

ASKER

OK so back to looking up lookup table.

thanks