andreas_udby
Registered User.
- Local time
- Today, 00:11
- Joined
- May 7, 2001
- Messages
- 76
OK, I'll set this up for you. I'm using Access to create a set of reports that previously took days and days of Excel pivot tables. The reports are fed by a single gargantuan spreadsheet downloaded once a month from our HR database, so my Access tool is purposely not normalized.
There is a column called Org Name that contains the name of the sub-organization a person belongs to -- an example is "IT Sales Application Development", "CBA Sales West Team 1", or "CBA Risk Underwriting South". Based on these Org Names, I have to manually create a column I call Business Segment that tells the people reading these reports what higher-level business segment these employees belong to -- again, as an example, the first Org Name I mentioned would fall under the "IT" bucket, while both of the other Org Names would fall under the "CBA" bucket.
I've been using a VLOOKUP in an Excel spreadsheet to add the Business Segment column, but I'd like to dispense with that step. I'm hoping, once I build a table in Access that equates Org Names with Business Segments, that there is some way to run a query or macro that automatically creates a new column in the master table, calls it Business Segment, and fills in the appropriate values based on each record's Org Name. Can someone point me in the right direction to go with this?
Thanks much!
Andreas
(My ultimate intent is to hand this tool off to someone once I leave this role, and I want to make it as automated for them as possible. Few of my coworkers have any understanding of Access.)
There is a column called Org Name that contains the name of the sub-organization a person belongs to -- an example is "IT Sales Application Development", "CBA Sales West Team 1", or "CBA Risk Underwriting South". Based on these Org Names, I have to manually create a column I call Business Segment that tells the people reading these reports what higher-level business segment these employees belong to -- again, as an example, the first Org Name I mentioned would fall under the "IT" bucket, while both of the other Org Names would fall under the "CBA" bucket.
I've been using a VLOOKUP in an Excel spreadsheet to add the Business Segment column, but I'd like to dispense with that step. I'm hoping, once I build a table in Access that equates Org Names with Business Segments, that there is some way to run a query or macro that automatically creates a new column in the master table, calls it Business Segment, and fills in the appropriate values based on each record's Org Name. Can someone point me in the right direction to go with this?
Thanks much!
Andreas
(My ultimate intent is to hand this tool off to someone once I leave this role, and I want to make it as automated for them as possible. Few of my coworkers have any understanding of Access.)