#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 183
Default Look up?

Hello,
I have a simple table: header row is clients, 1st column are employees. Each
employee is assigned a primary client and 1 or more secondary clients. Where
the employee meets the primary client, a "P" is put in the cell. "S's" are
put in cells where employees meet their 2ndary client(s). These P's and S's
may vary daily.
I want to use a function to build two tables out of this data: one with all
the employees names and their corresponding primary and secondary clients,
and one with the clients name and their "primary" corresponding employee.
This would change when the P's and S's would move in the main table.
I tried the LOOKUP function and it worked for most employees but not all.
The order in which the P's and S's are is not what's affecting this.
Should I use a different function altogether? Will I have problem having
more than one S in several rows? (If so, I can rename S1, S2, etc...)
Thank you,
Caroline
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Look up?

Have you looked into Data | AutoFilter?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Caroline" wrote in message
...
Hello,
I have a simple table: header row is clients, 1st column are employees.
Each
employee is assigned a primary client and 1 or more secondary clients.
Where
the employee meets the primary client, a "P" is put in the cell. "S's" are
put in cells where employees meet their 2ndary client(s). These P's and
S's
may vary daily.
I want to use a function to build two tables out of this data: one with
all
the employees names and their corresponding primary and secondary clients,
and one with the clients name and their "primary" corresponding employee.
This would change when the P's and S's would move in the main table.
I tried the LOOKUP function and it worked for most employees but not all.
The order in which the P's and S's are is not what's affecting this.
Should I use a different function altogether? Will I have problem having
more than one S in several rows? (If so, I can rename S1, S2, etc...)
Thank you,
Caroline



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 183
Default Look up?

No, I don't see how filters would work for this particular example...

"Bernard Liengme" wrote:

Have you looked into Data | AutoFilter?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Caroline" wrote in message
...
Hello,
I have a simple table: header row is clients, 1st column are employees.
Each
employee is assigned a primary client and 1 or more secondary clients.
Where
the employee meets the primary client, a "P" is put in the cell. "S's" are
put in cells where employees meet their 2ndary client(s). These P's and
S's
may vary daily.
I want to use a function to build two tables out of this data: one with
all
the employees names and their corresponding primary and secondary clients,
and one with the clients name and their "primary" corresponding employee.
This would change when the P's and S's would move in the main table.
I tried the LOOKUP function and it worked for most employees but not all.
The order in which the P's and S's are is not what's affecting this.
Should I use a different function altogether? Will I have problem having
more than one S in several rows? (If so, I can rename S1, S2, etc...)
Thank you,
Caroline




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Look up?

You could extract (then copy and paste) just those records with P, and again
just those records with S
But maybe I am misreading the question
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Caroline" wrote in message
...
No, I don't see how filters would work for this particular example...

"Bernard Liengme" wrote:

Have you looked into Data | AutoFilter?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Caroline" wrote in message
...
Hello,
I have a simple table: header row is clients, 1st column are employees.
Each
employee is assigned a primary client and 1 or more secondary clients.
Where
the employee meets the primary client, a "P" is put in the cell. "S's"
are
put in cells where employees meet their 2ndary client(s). These P's and
S's
may vary daily.
I want to use a function to build two tables out of this data: one with
all
the employees names and their corresponding primary and secondary
clients,
and one with the clients name and their "primary" corresponding
employee.
This would change when the P's and S's would move in the main table.
I tried the LOOKUP function and it worked for most employees but not
all.
The order in which the P's and S's are is not what's affecting this.
Should I use a different function altogether? Will I have problem
having
more than one S in several rows? (If so, I can rename S1, S2, etc...)
Thank you,
Caroline





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



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