excel - Assistance with Dynamic Lists -


i'm trying create dynamic list based on set criteria. have list of agents, , list of team codes , want able "select" team code , "extract" list of agents said team based on criteria.

it's not more complicated (as far data concerned) this:

team          agent team1         him team1         team2         me team2         

and select team1 , him , in list, or team2 , me , in list.

i assume want these via formula. can version of index-small pattern.

picture ranges

image of range

the formula in f2 array formula (enter ctrl+shift+enter). needs copied down far enough matches. overdid in picture above. input taken cell e3

=index($c$3:$c$6,small(if($b$3:$b$6=$e$3,row($b$3:$b$6)-row($b$3)+1), row(1:1))) 

you can see related post has fuller explanation of how formula works.

if not want errors, wrap formula in iferror(..., "").


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -