# Working with Spill values

**URL:** <https://forums.eveonline.com/t/working-with-spill-values/454136>\
**Category:** EVE x Microsoft Excel Add-in\
**Created:** [June 27, 2024, 4:10pm UTC](https://forums.eveonline.com/t/working-with-spill-values/454136 "2024-06-27T16:10:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OldGuyMonty](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/oldguymonty/32/428927_2.png) [@OldGuyMonty](https://forums.eveonline.com/u/OldGuyMonty)\
**Post date:** [June 27, 2024, 4:10pm UTC](https://forums.eveonline.com/t/working-with-spill-values/454136/1 "2024-06-27T16:10:06Z")

</div>

On my PI sheet I have a cell where the total number of active extractor heads are shown.

`EVEONLINE.CHARACTER_PLANET($C$21,G21).EXTRACTORS.extractor_heads)`

This works fine as long as there is only a single extractor. Once I add a second extractor the cell now shows a #SPILL error due to the result sending back a result for each extractor.

I can massage the formula to show me the total umber of heads:

`SUM(EVEONLINE.CHARACTER_PLANET($C$21,G21).EXTRACTORS.extractor_heads))`

Is there a way to massage this further to return only the sum of heads and to the #SPILL result?

---

<div class="post-metadata">

**Author:** ![Hundasuupa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/hundasuupa/32/412082_2.png) [@Hundasuupa](https://forums.eveonline.com/u/Hundasuupa)\
**Post date:** [June 28, 2024, 9:09pm UTC](https://forums.eveonline.com/t/working-with-spill-values/454136/2 "2024-06-28T21:09:42Z")

</div>

Can you elaborate further on the “and to the #SPILL result?” part on what you are trying to achieve?

I’m unsure if you are trying to combine some planets or what the intended goal you are going for. Spills can be hard to work with, you can TRANSPOSE() and it’ll make it go left to right instead, maybe that’s something?

---

<div class="post-metadata">

**Author:** ![OldGuyMonty](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/oldguymonty/32/428927_2.png) [@OldGuyMonty](https://forums.eveonline.com/u/OldGuyMonty)\
**Post date:** [July 4, 2024, 4:38pm UTC](https://forums.eveonline.com/t/working-with-spill-values/454136/3 "2024-07-04T16:38:47Z")

</div>

Yeah I bourbon that up right there didn’t I. 🙂

So the I use  
`EVEONLINE.CHARACTER_PLANET($C$21,G21).EXTRACTORS.extractor_heads)`  
the return looks something like:

```auto
10
5

```

depending on the umber of extractor heads. This results in the expected #spill error if there is something occupying the cell below it.

Now when I use

`SUM(EVEONLINE.CHARACTER_PLANET($C$21,G21).EXTRACTORS.extractor_heads))`

it returns something like:

```auto
15
15

```

Each line of the spill becomes the sum of all of the extractor heads.

What I want is a way to say, I have pulled the sum (15) and it only returns the single line answer, thus avoiding the #spill error
