# Distribcell for number of cells

**URL:** <https://openmc.discourse.group/t/distribcell-for-number-of-cells/524>\
**Category:** User Support\
**Created:** [December 10, 2019, 11:12am UTC](https://openmc.discourse.group/t/distribcell-for-number-of-cells/524 "2019-12-10T11:12:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaikinast](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@shaikinast](https://openmc.discourse.group/u/shaikinast)\
**Post date:** [December 10, 2019, 11:12am UTC](https://openmc.discourse.group/t/distribcell-for-number-of-cells/524/1 "2019-12-10T11:12:26Z")

</div>

Hi,

Is there a way to define more than one distribcell filter in a given tally?

Alternatively, can the distribcell filter receive more than one cell as an input?

I tried to define two distribcell filters and merge them, but without success.

Thanks,  
Shai

---

<div class="post-metadata">

**Author:** ![Sterling\_Harper](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Sterling\_Harper](https://openmc.discourse.group/u/Sterling_Harper)\
**Post date:** [December 10, 2019, 4:04pm UTC](https://openmc.discourse.group/t/distribcell-for-number-of-cells/524/2 "2019-12-10T16:04:56Z")

</div>

Hi Shai,

Unfortunately, the distrbcell filter is restricted to just one cell at the moment. Making the code work with \>1 cell is going to be messy, and we haven’t had the chance to get around to it yet. Hopefully you can get what you’re looking for by defining multiple tallies, each with its own distribcell filter.
