# Excluding Suspended, Silenced and Suspect Users When Exporting

**URL:** https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110
**Category:** Feature
**Created:** [February 9, 2020, 2:38pm UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110 "2020-02-09T14:38:43Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Anatolia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anatolia/32/133777_2.png) [@Anatolia](https://meta.discourse.org/u/Anatolia)
#### Post date: [February 9, 2020, 2:38pm UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/1 "2020-02-09T14:38:43Z")

</div>

We are sending e-mails to our members and when we have exporting up-to-date user list as .csv file it contains suspended, silenced and suspect users too. We don’t want them in mail list so we have to pick them one by one and delete from list.

To make this easier, there could a option to filter those unwanted users in exported user list. It would help us and probably many other Discourse admins.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 10, 2020, 2:12am UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/2 "2020-02-10T02:12:45Z")

</div>

Wait can’t you just use an excel macro to clear them off? We do export the status in the CSV right?

---

<div class="post-metadata">

### Author: ![Anatolia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anatolia/32/133777_2.png) [@Anatolia](https://meta.discourse.org/u/Anatolia)
#### Post date: [February 10, 2020, 5:59pm UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/3 "2020-02-10T17:59:44Z")

</div>

I’m using LibreOffice. How can I do it?

I guess it is not available in LibreOffice.

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [February 14, 2020, 11:56pm UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/4 "2020-02-14T23:56:08Z")

</div>

No macro required.

Just sort the list by the column containing the status. Then delete each block of rows containing the status you don’t want.

---

<div class="post-metadata">

### Author: ![Anatolia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anatolia/32/133777_2.png) [@Anatolia](https://meta.discourse.org/u/Anatolia)
#### Post date: [February 15, 2020, 12:18am UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/5 "2020-02-15T00:18:07Z")

</div>

Thank you for your advice, but it is why I’ve asked for this feature. That user list naturally will grow by the time and will make it harder.

> [@Anatolia](#):
>
> We don’t want them in mail list so we have to pick them one by one and delete from list.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [February 15, 2020, 12:30am UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/6 "2020-02-15T00:30:38Z")

</div>

In LibreOffice you can filter the data like this:

 ![Screen Shot 2020-02-14 at 4.24.54 PM](https://global.discourse-cdn.com/meta/original/3X/7/a/7ab7cb2b7ab9dec1717b4f9911335d7a65b79499.jpeg)

Select `empty` in the filter dialog box for the `suspended_till` column and you are left with non-suspended users. Do it for any other column necessary and then export the resulting filtered list for use in your email.

---

<div class="post-metadata">

### Author: ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)
#### Post date: [February 15, 2020, 2:09am UTC](https://meta.discourse.org/t/excluding-suspended-silenced-and-suspect-users-when-exporting/141110/7 "2020-02-15T02:09:50Z")

</div>

> [@Anatolia](#):
>
> we have to pick them one by one

I understand that you want the feature but, while you are waiting for a feature that may never be developed, you don’t have to do it the hard way. You now have two options to make it easier for you to accomplish this task:

- Sort by status and delete each block of users with the status you don’t need.
- Filter by a column by cell content to select the users you want so you can export/copy them.

Also, there are more options which might help you:

- Import the user list into a mailing list manager or other tool that is designed to work with email addresses. That way you have access to other features that are useful when sending regular emails. Also, your email service may provide email list management features. This is normal for transactional email providers like [Mailgun](https://www.mailgun.com/email-validation/email-list-management/).

- Use the [Data Explorer plug-in](https://meta.discourse.org/t/data-explorer-plugin/32566) (as a hosted customer you have to be on a high enough plan) to create a query that selects the users you want to export. Here are an example where email addresses are selected:  
[Users who voted for a feature](https://meta.discourse.org/t/discourse-voting/40121)  
[Export group members](https://meta.discourse.org/t/exporting-group-members-emails-as-csv/43756/8)

- Pay for a plug-in to be developed.

- If you are sending only to users then consider using groups to select users and send personal messages instead of emails.

FYI, I think that this feature will be a very low priority because it is so easy to accomplish the same result with mundane spreadsheeting skills. This feature would only be needed if there were some major difficulty like having a user list that was too long to fit in a worksheet. But the current limit for rows/records is 1,048,576 for both Microsoft Excel and LibreOffice Calc.
