Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default Lookup with multiple matches

Hi,

I have a rather unusual problem here... Excel 2007. I also have Access
2007 if it would be better/helpful...

I have a spreadsheet containing all my volunteers' names, and the committees
they serve on (along with contact info, etc.). It's actually a
copy-and-paste from Outlook - the committte names are Outlook categories...

What I want to do is use the lookup function (or another way) to generate a
chart which would have my committees across the top, the members' names down
the side, and check marks showing which committee each member is on. For
example, it would say something like:

Board Executive Committee Strategic
Planning Committee
Tom x x
Joe x
x
Ralph x
x

So I need to look up Tom and see if Tom has the Board category - if so,
place a X there, if not, don't. Then see if Tom has the Exec category - if
so, place an x; if not, don't.

Any help would be appreciated!!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Lookup with multiple matches

A couple of ways to do this.

1. Concatenate the name and committee together to make a unique identifier
in your source data. You can then just use a countif function to determine if
an instance of the name and committee exist. My XL is tied up at the moment
so this is off the top of my head but something like this would do

=if(countif($A2 & B$1, Sheet2!($A$1:$Z$1000)) 0, "X", "")

2. Use a pivot table. Select your source data. Select Data - Pivot Table -
Follow the wizard. Place the committees across the top and the names down the
ledft side. Place th committees in the Data area and you will get exactly
what you wanted except that instead of X you will get 1's or 0's.

--
HTH...

Jim Thomlinson


"Gary" wrote:

Hi,

I have a rather unusual problem here... Excel 2007. I also have Access
2007 if it would be better/helpful...

I have a spreadsheet containing all my volunteers' names, and the committees
they serve on (along with contact info, etc.). It's actually a
copy-and-paste from Outlook - the committte names are Outlook categories...

What I want to do is use the lookup function (or another way) to generate a
chart which would have my committees across the top, the members' names down
the side, and check marks showing which committee each member is on. For
example, it would say something like:

Board Executive Committee Strategic
Planning Committee
Tom x x
Joe x
x
Ralph x
x

So I need to look up Tom and see if Tom has the Board category - if so,
place a X there, if not, don't. Then see if Tom has the Exec category - if
so, place an x; if not, don't.

Any help would be appreciated!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Lookup with multiple matches

Jim,

Your Pivot Table suggestion worked beautifully! No problem with 1's or
Zeros - it actually gave me 1 or blank field - which is just fine.

Thanks,

Gary
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
Using the If or lookup statement to find matches RocketMan Excel Worksheet Functions 3 January 9th 07 06:50 PM
How do I use lookup to return multiple matches and sum them? Nat Excel Discussion (Misc queries) 1 August 15th 06 07:23 PM
Multiple matches using LOOKUP Sonya795 Excel Discussion (Misc queries) 1 August 10th 05 07:13 PM
Multiple matches using LOOKUP Sonya795 Excel Worksheet Functions 0 August 9th 05 11:17 PM
Is it possible to do a vertical lookup that matches on 2 criteria lshaw Excel Worksheet Functions 4 May 16th 05 08:00 PM


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

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

About Us

"It's about Microsoft Excel"