Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Vlookup with multiple answers

I've spent hours trawling through the various answers to this but
can't get one that will help in this specific case.

I have a a list of names in one column. Each name corresponds to a
department number in the adjacent column.

Lets say there are 10 names and three dept numbers.

I would like to aggregate the names that correspond to each department
in a simple columnar list on a separate sheet. However, I would also
like to be able to add names at the bottom of the list that
automatically appear on the correct department sheet when added.

I can give more detail if necessary but trying to keep it simple.

Many thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Vlookup with multiple answers

Hugh:

We were doing just fine until I read your sentence containing "...able
to add names at the bottom...". This means that your departmental worksheets
have to have ample VLOOKUPs to cover any new addition to the "base"
worksheet. This approach means that you have to set some expected maximum
number of names that would ever be expected on the starting worksheet. Even
if you decided to use PivotTables on the departmental worksheets, you'd have
the same issue as the PivotTable ranges (back to the main worksheeet) would
have to include enough blank rows to cover growth.
Writing code in VBA makes this problem simple but your posting doesn't
suggest that you want to (or can) go this route.

Steve in Ohio

"HughWB" wrote:

I've spent hours trawling through the various answers to this but
can't get one that will help in this specific case.

I have a a list of names in one column. Each name corresponds to a
department number in the adjacent column.

Lets say there are 10 names and three dept numbers.

I would like to aggregate the names that correspond to each department
in a simple columnar list on a separate sheet. However, I would also
like to be able to add names at the bottom of the list that
automatically appear on the correct department sheet when added.

I can give more detail if necessary but trying to keep it simple.

Many thanks for any help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup returning multiple answers soph Excel Worksheet Functions 6 August 28th 07 03:06 AM
multiple answers AndyS Excel Worksheet Functions 3 October 16th 06 09:14 AM
How do I only get valid "answers" in a VLOOKUP function (no #N/A's SWEdwards Excel Worksheet Functions 6 October 16th 05 05:46 AM
VLOOKUP-How do I get answers pulled from different appropriate col rOn Excel Worksheet Functions 2 May 14th 05 02:35 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"