# Threshold exactly one cell

**URL:** https://discourse.paraview.org/t/threshold-exactly-one-cell/16047
**Category:** ParaView Support
**Created:** [January 24, 2025, 7:04pm UTC](https://discourse.paraview.org/t/threshold-exactly-one-cell/16047 "2025-01-24T19:04:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![edition999](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/e/71e660/32.png) [@edition999](https://discourse.paraview.org/u/edition999)
#### Post date: [January 24, 2025, 7:04pm UTC](https://discourse.paraview.org/t/threshold-exactly-one-cell/16047/1 "2025-01-24T19:04:05Z")

</div>

Hello,  
I would like to threshold exactly one element of a mesh based on a cell data attribute (the element having maximum or minimum value). Is there a way to do that?

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [January 24, 2025, 7:19pm UTC](https://discourse.paraview.org/t/threshold-exactly-one-cell/16047/2 "2025-01-24T19:19:38Z")

</div>

The easiest way to extract the cell with the maximum (or minimum) value is to use Find Data ![Screenshot 2025-01-24 at 2.11.27 PM](https://discourse.paraview.org/uploads/default/original/2X/4/4d6af91cde312a4cf5dfd4fd32fbb9b419547a4c.png) (about the middle of the top toolbar or in the `Edit` menu). Create a selection criterea of `Cell` element types and where the field `is max` (or `is min`).

 ![Screenshot 2025-01-24 at 2.13.18 PM](https://discourse.paraview.org/uploads/default/original/2X/7/72b1b2ad74bcb4599f9c0164f63169a56df09bde.png)

After you click `Find Data` button, the element will be highlighted in the 3D view and will be listed in the find data dialog. After that, you can add the `Extract Selection` filter ![Screenshot 2025-01-24 at 2.16.19 PM](https://discourse.paraview.org/uploads/default/original/2X/4/405762c59306bc8892729b9850565b2f62d2a483.png). Your selection of the maximum (minimum) element will be copied to its parameters, and when you `Apply` it, your element will be extracted.

 ![Screenshot 2025-01-24 at 2.17.39 PM](https://discourse.paraview.org/uploads/default/original/2X/5/52839142ff3181f30262aea2bfdb729248c180e4.png)
