Hi Timonthy,
I’m glad to be here and share this suggestion with you.
First, please allow me to do a summary about your requirement. Per your description, you want to let 3 HR to access this worksheet but can’t edit, meantime they need to see filter view after they open the worksheet in SharePoint site. You can your head of IT can edit this file.
Second, I will provide some suggestion about your question.
- Open Excel in SharePoint Online will open that file in Excel Online. There is not auto-filter feature which is based on SharePoint site permission. Because the SharePoint permission only can control can you access this file, edit or read. Excel Online can't auto-filter based on that.
- As your requirement, you want to let HR can only see view of specific departments, you can filter column C (Department) and create different sheets in one document. To keep this filtered view. Upload this worksheet to SharePoint library and grant unique permission to this worksheet. Based on your requirement to share with different people.(Give HR Read-only permission, you and head of IT have Edit permission.)
- If you don’t want to HR can see the data of other department, you can give the password to other department sheet, so that HR can’t access the protected sheets. They can only access the specific department filter view.
- When you save the file into SharePoint Online and edit it in Excel Online or Excel client, it will update automatically. You can save this worksheet from Excel client to SharePoint site-> Library directly.
- In my opinion, the better way to restrict who can access different filter view in SharePoint Online is to separate the filtered results and give different permission.
For more information, you can refer to these articles:
Customize SharePoint site permissions
Understanding permission levels in SharePoint
Protection and security in Excel
If there is any misunderstanding, please help me to point out and we will investigate further to give a better solution for you.
Regards,
Ivy