# Possible to sort by "user type"? (help needed)

**URL:** <https://community.glideapps.com/t/possible-to-sort-by-user-type-help-needed/3804>\
**Category:** Ask for Help\
**Created:** [January 20, 2020, 6:19pm UTC](https://community.glideapps.com/t/possible-to-sort-by-user-type-help-needed/3804 "2020-01-20T18:19:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vbehnke](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vbehnke/32/2824_2.png) [@vbehnke](https://community.glideapps.com/u/vbehnke)\
**Post date:** [January 20, 2020, 6:19pm UTC](https://community.glideapps.com/t/possible-to-sort-by-user-type-help-needed/3804/1 "2020-01-20T18:19:12Z")

</div>

Hi Glide community,

I’m trying to figure out if it’s possible to create something analogous to a per-user filter except for multiple users.

For example, say I have a calendar and two types of users, A and B (for clarification there are multiple users A and multiple users B). In the calendar tab, I want users A to see entries only relevant to them and vice versa for B. Essentially, I’m trying to organize by _user type_ as opposed to _individual user_. Is this possible?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 21, 2020, 1:15am UTC](https://community.glideapps.com/t/possible-to-sort-by-user-type-help-needed/3804/2 "2020-01-21T01:15:22Z")

</div>

Using your calendar example, create a column in your calendar entries sheet that contains “Group A” or “Group B”. Also create a sheet that contains a list of users and the group that they belong to. Now you can create a multiple relation column in the calendar sheet to link the group name column to the group name column in the users sheet. Next you will create a lookup column that uses that relation to build an array list of users emails. You can now use the lookup column you created in a filter to filter by signed in user. Each user will only see calendar entries for the group that they belong to.
