I couldnt seem to find anything in a search

I was looking for a simple way to say have (an item in a lsitbox for example) so u can click on it. and and have all items with certain ages of ID's in a diag change to "hide" except the few that i want to be shown "visible" for the current "screen"
I may be missing something or could have given it more thought. i also dont quite understand the significance of (grouping) ID's ..and so on. maybe someone could help clarify as to what this entails

kThx in advance