#SPILL! From a Referenced Merged Cell.


Hi everyone, I have a spreadsheet that I'm trying to build for my work flow to enable track my daily sales activities and simultaneously compute my percentage earnings per customer. For me to achieve this I need to merge certain number of rows and work with two separate worksheets, thus I can reference dates, customer names for the input sales sheet to the salary sheet but immediately I referenced it, there was a #SPILL!

  Please how do I eliminate this error because for my 2019 worksheet, this did not appear.

14 Replies


That means you are on dynamic array version of Excel and your formula returns an array for which not enough space. 2019 returns only first element of such array. Better to rework the formula, but you may try to put in front of it @ sign. For example, if your formula 


convert it to


@Sergei Baklan 

Thank you so much, the @before the formula worked. Now I'm ready to work on. 



@ituryu , you are welcome

@Sergei Baklan I am trying to populate an empty merged cell with a merged text cell from one sheet to another. It is now displaying #Value! instead of the name I am trying to reference. For reference, the formula I am using is =@'Client Info Sheet'!B6:D6. 


Did you try ='Client Info Sheet'!B6 ?

@Sergei Baklan THANK YOU. Yes, that worked perfectly. Now I have another question that maybe you can help me with. I have a cell on my spreadsheet that should show someone’s age (it should show either current age or age at death, whichever applies). I am trying to find a formula that would calculate these scenarios. I believe it should be an if/then type statement, because whatever the answer, it should populate this one cell. My spreadsheet currently has one cell with the today’s date (DATE), one for the date of birth (DOB) and a cell which would only be populated if the person is deceased (DOD). So, theoretically the age would be found using combinations of those three cells. 


That could be


and apply desired number format to the result.

@Sergei Baklan Thank you. I'm sorry for the incessant questions, but here's another: I formatted the cells for date, but I still have to type them in with slashes (ex. 10/15/2020), and I don't understand why. I am wondering if there is a custom one that will work like the phone number one. For phone numbers, I just have to type in 10 numbers and it automatically puts them in the correct form of (123) 456-7890. 


Sure, Excel will format dates for you just like it formats phone numbers.  The number format


will do it.  The catch is that you need to enter


(the number of days elapsed since the start of the 1900s)

@Peter Bartholomew yes, that is exactly what's going on here. I don't know why Microsoft did it this way. The average consumer does not think in terms of "days since 1900." I'll just continue to type the dates in long form. Thanks!


Datetime is continuous and sequential. In all cultures it starts from one day which people agree to consider as beginning of their history, after that only representation of the dates counted from that very beginning. Same in software programs, the only difference that's the start date which is chosen. Excel for Windows takes Jan 01, 1900. 


Phone numbers are random and have no links with each other, you may take them as it is and apply any format you wish.


You may imitate date format for numbers like


but it'll be the number as in formula bar which can't be calculated as a date and can't be validated as a date.


Ah, that would be because Excel's dates are designed to support calculation. 


Your 'long form' comprises the number of times the moon has circuited the Earth, with part periods represented by the number of times the Earth has rotated on its axis and finishing with the number of times the Earth has circuited the Sun since some event deemed to be of importance.  BTW, why do you place the smallest interval in the middle?


You see the problem?

Hi Sergei Baklan, I'm having a problem too in understanding the spill function.
When i entered a date in a cell, but i merged with with other two cell due to the small column I created. But when i want to link that date into other cell, it appears as it is in one cell, but it appears "0" in the next two cell next to it, and I cant delete that 0. Can u help?
It depends on the nature of the link.
=A1:C1 will give the date followed by 0s to fill the array to 3 values
=A1 will just give the date
The manual process of selecting cells is somewhat messy in the presence of merged cells and the normal advice is to avoid their use where possible.