How to Filter WPS Spreadsheet Data by the Logged-In User
Question details
This article explains how to display only the spreadsheet or database rows that match the currently logged-in user, such as filtering by an email address or user identifier.

- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- A user wants to share a single spreadsheet or connected database view while ensuring each logged-in viewer sees only their own rows, using an email address or user ID as the matching key.
- Observed behavior
- After configuration, the view filters records automatically based on the logged-in user's identifier, so each user sees only authorized rows. Static spreadsheets can be filtered manually.
Before you start, identify which column contains the user identifier, such as an email address or employee ID, and check whether the spreadsheet is a static file or connected to a data source that supports row-level security.
Filter rows automatically with a row-level-security data source
Use this when the spreadsheet must update automatically for each logged-in user and the data lives in SharePoint, a database, or a web application that enforces row-level security.
WPS Spreadsheets can open data connections and display only the rows that the source returns. Row-level security must be configured in the data platform, where rules match the login email or user ID to a column.
In SharePoint, your database, or the web application, create a view or security policy that filters records by the user’s login email or ID.
Launch WPS Office, open a blank spreadsheet, and go to Data > Import Data to select From Database, From Web, or a SharePoint data connection.
Enter the URL or connection details, then sign in with the user account whose rows should be visible; the source returns only matching records.
After the data loads, click Data > Refresh to re-query the source and confirm that only the logged-in user’s rows appear.

Filter a static WPS spreadsheet by the current user’s email manually
Use this when you have a normal worksheet and only need a saved or temporary view for one known user identifier.
Use WPS Office to Show Only the Logged-In User’s Spreadsheet Rows
WPS Office lets you connect to a row-level-secured data source or apply a precise AutoFilter so each user sees only their matching records. It is a free, lightweight alternative that handles .xlsx files and familiar spreadsheet workflows.
- 1. Open WPS Spreadsheets: Launch WPS Office, click Spreadsheets, then open the workbook you want to filter or create a new blank spreadsheet.
- 2. Connect to the secured data source: Click the Data tab, choose Import Data > From Database or From Web, and enter the SharePoint list, database view, or web app URL that has row-level security enabled.
- 3. Sign in with the user account: Authenticate with the current user’s account when prompted, so the data source returns only rows matching that login identifier.
- 4. Refresh and review filtered rows: After the data loads, use Data > Refresh to update the view; WPS Spreadsheets displays only the records the logged-in user is allowed to see.
- 5. Save or share the workbook safely: Save as a .xlsx file in WPS Cloud or locally, keeping the secured data connection available for future refreshes.

Frequently Asked Questions
Can WPS Spreadsheets automatically detect the logged-in user and filter rows on its own?
No, a static WPS Spreadsheets file does not hold login-based row permissions. You need a connected data source with row-level security, or you can manually apply AutoFilter for a specific user identifier.
How do I filter a column by email in WPS Spreadsheets?
Select the header row, click Data > AutoFilter, click the filter arrow in the email column, choose Text Filters > Equals, enter the email address, and click OK.
Does this work with SharePoint lists?
Yes. Configure row-level security in SharePoint first, then open WPS Spreadsheets and use Data > Import Data to connect to that list. It will return only the rows permitted for the signed-in account.
Can I use this method for a workbook stored on OneDrive or a file server?
A plain workbook on OneDrive or a file server does not enforce row-level filters by login. Use the platform’s access controls or move the data to a row-level-security source, then open it in WPS Spreadsheets.
What should I do if my spreadsheet has no user identifier column?
Add a column that reliably contains each row owner’s email or ID and keep it consistent. This column is required for row-level-security rules or manual AutoFilter matching.




