Help with Index using Aggregate with multiple criteria

JacksonKee

New Member
Joined
Apr 24, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,
I want names for the ALL! worksheet (Column L) to auto populate in the RAND! worksheet based on them being Active (Column X) and those with in "X") in Column J. I was able to make it work for 1 of the criteria for "x" in column J ...... =INDEX(ALL!L:L,AGGREGATE(15,6,ROW(ALL!$J$1:$J$2000)/(ALL!$J$1:$J$2000="x"),ROW(1:1)))

any help with be appreciated

Staff (including Adjunct)First + Last TitleDEPTQS ReviewerFront line Team MemberTeam MemberAMRM Team MemberTraining / Onboarding / KM Core TeamAdvisor Under Letter AgreementManagement Team MemberLeadership Team MemberCharged Project During Past 60 daysStatus
xAmy CPhysical Scientist, Sr.xActive
xAlexandra ZResearch Assistant, IxActive
xAlexa KimberlyPolicy Analyst IIIxActive
xAlba S. P.Research Project Specialist, IxActive
xAmara CEngineer, AdjunctxActive
xAnushara YResearch Project Specialist, IVxActive
xAshley TomPolicy Analyst, III, AdjunctxActive
xBeckky EPolicy Researcher, SeniorxActive
xBenny TPolicy Researcher, FullxActive
xBeverly OResearch Project Specialist, IxActive
xBrian VDefense Analyst, IVxActive
xBriam KrisQuantitative Analyst, IVxxxActive
xBrandon CPolicy Researcher, AssocxActive
xCarlos G. M.Physician Policy Researcher, FullxxActive
xCharlie GrossCommunications Analyst, IVxActive
xChristina M.DPolicy Researcher, FullxActive
xChristopher BPolicy Researcher, FullxActive
xChristina CPolitical Scientist, Sr.xActive
xStoryResearch Programmer, IIIxActive
xOarry IPhysician Policy Researcher, Sr.xActive
xDaniel NPolicy Researcher, AssocxActive
xDavid GanzPhysician Policy Researcher, AdjxActive
xDebbie IPhysician Policy Researcher, AdjxActive
xDestini HResearch Project Specialist, IIIxInactive
xDelvin TResearch Programmer, IxActive
xColleen YoungTechnical Analyst, IIxxActive
xHonchPolicy Analyst, IVxActive
xErica ChenQuantitative Analyst, IIIxActive
xLancaseteraPolicy Researcher, Sr.xActive
xLockwoodResearch Project Specialist, IIxActive
xSmithAdministrative Assistant, IIIxActive
x CehinePolicy Researcher, Sr.xActive
xHaque IsaResearch Project Specialist, IIxActive
xArciniegas REconomist, SrxActive
x HastingsPolicy Analyst, IVxActive
x RingelEconomist, SrxActive
xJalen EscobarResearch Project Specialist, IIxxActive
xJessica OOperations Researcher, Sr.xxActive
xJoddy LPolicy Researcher, AssocxActive
xJoshua Lou
xJoshua C
xJoey LBehavioral/Social Scientist, Sr.xInactive
xJohnPolicy Researcher, AssocxActive
xJonathan CPolicy Researcher, FullxActive
xJonathan CPolicy Analyst, IIxActive
xDawsonPhysical Scientist, AsscxActive
xJ NewellResearch Software Engineer, IIIxActive
xJ LeeResearch Programmer, IIxActive
xJustin HummerBehavioral/Social Scientist, AssocxActive
xJ SheetyPhysician Policy Researcher, FullxxActive
xDillmanResearch Operations Administrator, IxActive
xKatherine CarmanEconomist, SrxActive
xKatie BristolResearch Project Specialist, IxActive
xKyle WPolicy Researcher, Sr.xActive
xK WilleyEngineer, Sr.xActive
xKelly EResearch Project Specialist, IIxActive
xKiberlyResearch Project Specialist, IIxxActive
x Scott Physician Policy Researcher, AdjActive
xKrisResearch Project Specialist, IIxActive
xGaleBehavioral/Social Scientist, SrxxActive
xChristophe SereAdministrative Assistant, IVxActive
xKely-EvansEngineer, SrxActive
xLawrence FPhysician Policy Researcher, FullxActive
xMichelle PfeiferEditorial AssiatantxActive
xLiam PainePolicy Analyst, IIxActive
xLisa SerranoResearch Project Specialist, IIxActive
xMeredithBehavioral/Social Scientist, Sr.xActive
xKen NguyenPhysical Scientist, FullxActive
xLance N. APhysician Policy Researcher, Assoc.xActive
xMaxine DBehavioral/Social Scientist, Sr.xActive
xAbir M.Physician Policy Researcher, Sr.no longer?Active
xWeden Sx
xVega DexResearch Editor, IxActive
x Laura FPhysician Policy Researcher, Sr.xActive
xBecky KResearch Project Specialist, IIIxActive
xMark HansonQuantitative Analyst, IVxxActive
xMarygail BraunerOperations Researcher, AdjunctxActive
xMaxine R.YAdministrative Assistant, IVxActive
xAndrew K.OBehavioral/Social Scientist, FullxActive
xBeckBehavioral/Social Scientist, FullxActive
xLisa SResearch Assistant, AdjunctxActive
xPolicy Researcher, Sr.xActive
xResearch Assistant, IActive
xBeyeneEngineer, SrxActive
xHuertaResearch Programmer, IxActive
xErnecoffPolicy Researcher, Assoc.Active
xTena PResearch Project Specialist, IIIxActive
xBrener QManagement Scientist, Sr.xActive
x BriscombePhysician Policy Researcher, FullxActive
xPeterEngineer, Sr.xActive
x RaoalEconomist, FullxActive
x VardMathematician, Sr.xxActive
xAli RameyTechnical Analyst, IIIxActive
xSepich CAdministrative Assistant, IVxActive
xKasey PPhysician Policy Researcher, AdjxActive
xRusahanaTechnical Analyst, II
xSamuel HResearch Project Specialist, IxActive
xSlawnikowskiAdministrative Assistant, IIxActive
xDuhachekPhysical Scientist, Assoc.xActive
xMalvoyPolicy Analyst, VxActive
xScott StephensonxActive
xShahzeb KhanResearch Project Specialist, IIxActive
xShakeela Jackson
xShareeka Abdul MohaiminResearch Project Specialist, IxActive
xShelly CulbertsonPolicy Researcher, Sr.xActive
xShira FischerPhysician Policy Researcher, FullxxActive
xSusan CatalanoAdministrative Assistant VxActive
xSusan GatesEconomist, SrxActive
xSuzanne GencPhysical Scientist, FullxxActive
xSydney VolpeResearch Project Specialist, IxActive
xTalia ShapiroResearch Project Specialist, IIxActive
xTerry KellyMathematician Principal, Sr.xActive
xTim ConleyOperations Researcher, Sr.xActive
xTim GuldenPolicy Researcher, SrxxActive
xTom LaTourettePhysical Scientist, Sr.xActive
xTom WebsterResearch Project Specialist, IIxxActive
xTom Concannon
xWenny GBehavioral/Social Scientist, AssocxActive
xWesley JOperations Researcher, AdjunctxActive
xNham PPolicy Analyst, AdjxActive
xAbduala FResearch Project Specialist, IIxActive
xDarmaResearch Project Specialist, IIIxInactive
Alyssa Pozniakx
Chad Coganx
Christina Sx
Christopher Sx
Daniella Mx
Laurne B
Erica Lx
Ericson Ix
Jeff Px
Jill Sx
Kamon Mx
Katie Fx
Marc Ex
Talia S
Harry Mx
Happy N. Mx
Mary TActive
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
@JacksonKee , welcome to the forum.
Which of above are what worksheets and what are the column letters? There is an add in (xl2bb, link below) that allows you to copy mini workbooks of data that include the formulas and row/column headers, and sheet names. Please help the forum help you.

In the above which column headers that you have above apply to the column letters you mention.
 
Upvote 0
Thank you for responding. Yes I was trying to upload it but having some trouble.
This worksheet displayed is ALL! and the names in (Column L) I would like to auto populate to another worksheet called RAND! in Column A. The criteria is those with an "x" in column J and those with and "Active" status in Column X. I was able to solve for "x" using this formula =INDEX(ALL!L:L,AGGREGATE(15,6,ROW(ALL!$J$1:$J$2000)/(ALL!$J$1:$J$2000="x"),ROW(1:1))) ...... I haven't had any luck trying to add another criteria.
 
Upvote 0
ok. well, keep trying.
You still did not give the associated column names with the column letters in your description.
 
Upvote 0
See the attached link which will show how to us the INDEX / AGGREGATE functions to return multiple cells.

However since you have Excel 365 you should be able to us the FILTER function.
 
Upvote 0
I'm sorry @awoohaw , Thank you
I've including the names of the columns. For some reason my Excel isn't giving me access to use xL2bb


This worksheet displayed is ALL! and the names in Column L=First+Last I would like to auto populate to another worksheet called RAND! in Column A. The criteria is those with an "x" in column J=Staff (Including Adjunct) and those with and "Active" status in Column X=Status. I was able to solve for "x" using this formula =INDEX(ALL!L:L,AGGREGATE(15,6,ROW(ALL!$J$1:$J$2000)/(ALL!$J$1:$J$2000="x"),ROW(1:1))) ...... I haven't had any luck trying to add another criteria.
 
Upvote 0
Try something like this:

Book1
A
1Names
2Name1
3Name7
4Name10
Rand
Cell Formulas
RangeFormula
A2:A4A2=FILTER(ALL!L2:L11,(ALL!J2:J11="x")*(ALL!X2:X11="Active"),"")
Dynamic array formulas.


Book1
IJKLMWX
1StaffNamesStatus
2xName1Active
3Name2Active
4xName3
5Name4Active
6Name5
7Name6
8xName7Active
9Name8
10Name9
11xName10Active
ALL
 
Upvote 0
Did you get an error??? Did you change ranges to match your data?
 
Upvote 0
Hi @AhoyNC I tried it again. It works, I needed to update!! thank you. I will keep this formula in my arsenal.

I was trying to create a formula that wouldn't leave any blanks in the list if they didn't meet the two criteria but just display those that did. And when I update the workbook ALL! it would update the workbook RAND!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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