Extract Multiple Leadership positions from a list for the same person

bearcub

Well-known Member
Joined
May 18, 2005
Messages
734
Office Version
  1. 365
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
I have a list of members where some hold more than one position. If I use a regular Vlookup or Index Match formula I will only get the first one and will be repeated.

For Example, Jane Doe is a president , secretary and bargaining chair.

I have 3 records in my list where I would expect to populate record 1 with president, record 2 with secretary and record three with bargaining chair. I know that the small or aggregate function is used for this formula but I can't remember how to set it up specifically.

Thank you for your help,

Michael
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
See if this helps:

Formula in B8 needs to be entered with CTRL-SHIFT-ENTER.
Formula in B10 using aggregate just ENTER.

Drag formulas across columns as needed.
Excel Workbook
ABCD
1NamePost.
2Jane DoePresident
3Sam SmithVP
4Jane DoeSec.
5Jane DoeBar. Chair
6
7NameRecord1Record2Record3
8Jane DoePresidentSec.Bar. Chair
9
10Jane DoePresidentSec.Bar. Chair
Sheet
 
Upvote 0
I was able to get the first position to pull properly but I'm getting a NUM error for the rest of the members.

This is the formula that I'm using:

=+INDEX('LocalStateSCC Falcon Positions'!$C$3:$C$553,AGGREGATE(15,6,(ROW($A$2:$CA$553)-ROW($A$2)+1)/('LocalStateSCC Falcon Positions'!$A$3:$A$553=[@[ind_cst_recno]]),ROWS(F$5:F5)))

The LocalStateSCC is the source table and I need to populate members on another sheet that starts at row 2 - instead of row 3 as on the source sheet. Is there something wrong with the way i set up my formulas

Thank you

Michael
 
Upvote 0
See if this helps.
This is an array formula that must be entered with CTRL-SHIFT-ENTER.

Excel Workbook
AB
1NameJane Doe
2President
3Sec.
4Bar. Chair
Sheet2
Excel Workbook
ABC
1
2NamePost.
3Jane DoePresident
4Sam SmithVP
5Jane DoeSec.
6Jane DoeBar. Chair
LocalStateSCC Falcon Positions
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top