---
title: "Filter users based on the uploaded CSV file (Cloud)"
canonical: "https://www.techtime-initiative.com/space/UM/496074753/Filter%20users%20based%20on%20the%20uploaded%20CSV%20file%20(Cloud)"
format: markdown
---
In Bulk User Actions you can filter the users included or excluded by uploading a CSV file (in addition to any other filters you specify).

![Capture 2024-03-11 at 15.37.39.png](media://b7bd875a-2f66-40d0-b779-ad021ab75ab2)

![Capture 2024-06-21 at 11.11.52.png](media://1fa9b179-8c81-4d7e-b647-910702a6b796)

## CSV File Filtering Options

1. There are two modes for filtering CSV: Include and Exclude.
  - Include will narrow down the search to users only in the file.
  - Exclude will narrow down the search by not showing users in the file.
2. For each mode, you can select filtering by 'Username' or 'Email'. These options appear once you have uploaded a CSV file.
  - If you check the 'Account ID' radio button on a Cloud instance:
    - User Management requires your CSV file to have at least one column header containing 'Account ID', 'Atlassian ID', 'User ID', or 'Username' (case-insensitive). If none of these four headers are located in your CSV file, an error will be displayed, and no users will be shown.
  - If you check the 'Email' radio button option:
    - User Management requires your CSV file to have the 'Email' header (case insensitive). If the email header is not found, an error will appear, and no users will be shown.
  - We first use the 'Account ID' header if more than one valid header is found during the search. Every cell under that column heading should contain an appropriate user entry for it. After uploading the CSV, only users in your instance who have a match in the header column will be included or excluded in the search. Here is an example of a CSV file in the correct format:.

Note: In the example file, the two users with the usernames "testuser1" or "testuser2" will match the filter.

> ℹ️ Note: CSV files can have many different header names due to all the different export types in the Atlassian Admin Hub. Our priority for Cloud headers is 'Account ID' > 'Atlassian ID' > 'User ID' > 'Username'.

It is also worth noting that users from the CSV are case-sensitive, so if users seem to be missing, it may be worth double-checking that the CSV has the usernames/account ID in the correct case.