Permission & Access Issues

How to Control Excel Rows and Sheets by User Permissions

Phi Hung VoPhi Hung Vo Nov 10, 2026 869 views

Question details

The user wants to set up row-level viewing permissions and restrict sheet access for different users within the same shared Excel workbook.

How to Control Excel Rows and Sheets by User Permissions
Product
Excel
Device & OS
not provided
Scenario
Sharing a workbook among multiple users where some require full administrative access, while others should only see specific rows assigned to them.
Observed behavior
Excel does not natively or securely support role-based row-level security within a single shared workbook, allowing restricted users to potentially view unauthorized data.
Before you start

Understand that standard spreadsheet software is not designed to act as a secure database. Relying on simple sheet protection or row filtering does not provide secure, user-specific row-level access, as users may easily bypass visual filters.

Solution 1Recommended

Use Separate Workbooks and Consolidate with Power Query

Since Excel cannot secure rows within a single file, the best workaround is to give each user their own file and combine them using Power Query for administrators.

This method involves breaking your master data into separate files. By storing each user's file in an isolated folder, you enforce strict file-level security. The administrator can then use Power Query to stitch these files back together dynamically.

1
Create separate user workbooks

Set up an individual workbook for each restricted user. Copy and paste only the rows they are allowed to see and edit into their respective files.

2
Distribute files securely

Save these individual workbooks in separate, secure folders (such as individual OneDrive or SharePoint directories) and restrict access to each specific user.

3
Consolidate data for admins

Open a new master workbook for full-access users. Go to the Data tab, select 'Get Data', then choose 'From File' and click 'From Folder' (or 'From SharePoint Folder').

4
Combine the records

Select the main directory containing all the individual user files, click 'Combine & Transform Data', verify the columns align correctly, and load the consolidated records into your master workbook.

Use Separate Workbooks and Consolidate with Power Query
Data Syncing: Whenever users update their individual files, the administrator only needs to click 'Refresh All' in the master workbook to update the consolidated data.
Free Microsoft Office alternative

Try WPS Office for Secure Document Sharing

While standard spreadsheets cannot provide row-level database security, WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office for managing complex data, applying sheet-level protection, and sharing workbooks efficiently.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the free software for your operating system.
  2. 2. Open your data file: Launch WPS Spreadsheet and open your existing Microsoft Excel (.xlsx) workbooks directly.
  3. 3. Apply sheet protection: Navigate to the Review tab to encrypt your workbook or protect specific sheets with passwords to prevent unauthorized edits.
Fully compatible with Microsoft Excel (.xlsx, .xls) and CSV formats.Lightweight software with a familiar, easy-to-use tabbed interface.Robust workbook protection and sheet encryption features to secure your standard data.Free to download and use for all your essential office tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Can I hide rows based on who is logged into the Excel file?

No, standard spreadsheet software does not have a built-in feature to securely hide or lock specific rows based on user credentials. Filters can be applied to hide data visually, but they are not a secure method of restricting access as any user can clear the filters.

Does protecting a sheet prevent users from seeing data?

No, sheet protection primarily prevents users from editing locked cells; it does not prevent them from viewing the data. Even if rows are hidden and the sheet is protected, tech-savvy users might still access the underlying data using macros or external references.

Is there any secure way to share one workbook but only show relevant data to specific people?

The most secure workaround in a spreadsheet environment is to split the data entirely into separate workbooks for each person. You can then use tools like Power Query to automatically consolidate those individual files into a single master file for administrators.