Forum Discussion
!SPILL error with SUMIFS formula
- Jan 20, 2020
It could be similar to https://techcommunity.microsoft.com/t5/excel/spill-error-when-doing-vlookup/m-p/1117822#M49530
That's the imitation of the case
Exactly the same formula. Pre-DA Excel returns 24 (since takes only first element of the array), DA Excel returns spill or #SPILL! error if it's not enough space for the spill.
- SergeiBaklanJan 20, 2020Diamond Contributor
I guess the question is how to interpret "normally expected". For example, if complicate the formula a bit
=SUM(SUMIFS(B:B,A:A,{"a";"b"}))
it shall not be converted with implicit intersection sign.
- ZularkAug 25, 2020Copper Contributor
SergeiBaklanResponding for visibility as this worked for me.
In my case I have a row of SUMIF formulas, which all want to Spill directly onto the cell immediately to their right, which is of course occupied by another SUMIF formula.
Annoyingly, the "second value" that the formula's supposedly returned that they're attempting to spill is 0! Obviously a bug or oversight on Microsoft's part.
By wrapping the whole SUMIF formula in a SUM formula it fixes it and doesn't attempt to spill a 0 value into the adjacent cells, so stops returning a SPILL error. Infuriating issue!
- SergeiBaklanAug 25, 2020Diamond Contributor
I can't agree that is the bug. Formula not always return an array, if array now always with two elements, if with two elements not always second element is zero. It very depends on the way how you build the formula.
If you need only first element you may add in front implicit intersection character like
=@SUMIF(...
- MichaelBagAug 18, 2020Copper Contributor
placing a Sum formula around the original sumifs does not work with this SergeiBaklan . Wonder if anyone can assist? SUMIFS($U$5:$U$35,Y1,$V$5:$V$35)
I have formulas that simply no longer work. If they wanted a new feature, introduce a new feature...do not break the tried and true methods. Wasted an hour hunting through help forums for no advancement other than to confirm its a microsoft change. Feels like a serious bug to me.
- JKPieterseJan 20, 2020Silver Contributor
SergeiBaklan perhaps, but your example returns a single result
- MichaelBagAug 18, 2020Copper Contributor
A single result is exactly what I need JKPieterse How do we do this? How do I make a simple formula work? e.g. SUMIFS($U$5:$U$35,Y1,$V$5:$V$35)