Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Something more than VLOOKUP?

Hi All,

This is what i am trying to do.

Column A - Agents' names
Column B - Team Leaders' names
Column C onwards - Other data.

Now in another what I want is that if I enter the Team leader's name, all
the data for his team is returned. For example I enter John in column A, i
want sales in column B, Average in Column C, Agent's name in column D etc.

The problem is that in the first sheet, the team leader's name may appear
several times.

makes sense?

Thanks in advance for any help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Something more than VLOOKUP?

Gary,
You may try Index and Match functions. Better would be to have a VBA
programme written.

Easiest option, in my opinion, would be to use DataAutofilter and select
John in the team leader's name and copy them to sheet 2 ( where ever you want
the filtered data) and use average and other functions as per your
requirement.

From your question, the average of what you want is not clear. It is also
not clear whether you want the sum of sales data for each team leader or for
each agent.

If "team leader's name may appear several times" means you want the sum of
sales etc., data in respect of each team leader, then try sumif or sumproduct
functions.
Best Wishes


"Gary" wrote:

Hi All,

This is what i am trying to do.

Column A - Agents' names
Column B - Team Leaders' names
Column C onwards - Other data.

Now in another what I want is that if I enter the Team leader's name, all
the data for his team is returned. For example I enter John in column A, i
want sales in column B, Average in Column C, Agent's name in column D etc.

The problem is that in the first sheet, the team leader's name may appear
several times.

makes sense?

Thanks in advance 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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 07:28 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"