In ARRAY_LITERAL, an Array Literal was missing values for one or more rows — Google Sheets fix
Updated
You stack two ranges with { ; } and the cell fails. The tooltip is In ARRAY_LITERAL, an Array Literal was missing values for one or more rows. One of the blocks is narrower than the other, or one of the parts returned no rows. Sheets does not fill the short row with blanks. It rejects the whole literal.
This page is the rectangle rule inside { }. A comma that becomes a parse error after you change locale is array literal locale. VSTACK and HSTACK accept unequal sizes and pad with #N/A: VSTACK column pad and HSTACK row pad. Keep the Google Sheets UI in English.
Recreate it on a blank sheet
Section titled “Recreate it on a blank sheet”- Open a blank spreadsheet. In A1 type
role, B1hours. A2lead, B28. A3dock, B36. In D1 typetag. D2west. D3east. Two columns of roles, one column of tags, same number of rows.
Uneven stack, vertical. In F1 type braces. In F2 enter ={A2:B3;D2:D3}. F2 shows an error (often #VALUE!). Hover F2. The tooltip is In ARRAY_LITERAL, an Array Literal was missing values for one or more rows. The first block is two columns. The second is one. Leave F2 broken.
Matching widths succeed. In F6 enter ={A2:B3;A2:B3}. F6 spills four rows and two columns: the role block twice. No tooltip. That block is the control for “the literal is a rectangle.”
Side by side is a different tooltip. In H1 type row_size. In H2 enter ={A2:A3,D2:D4}. Type an extra tag north in D4 first. H2 errors. Hover it. The tooltip is about a mismatched row size, in the form Function ARRAY_ROW parameter 2 has mismatched row size. Expected: 2. Actual: 3. A comma inside { } joins left to right and needs the same height. Leave H2 broken so the two messages stay different.
An empty QUERY is the same vertical error. In A5 type zone. A6 East. B6 10. A7 West. B7 4. In F10 enter ={QUERY(A5:B7,"select A,B where A = 'East'",0);QUERY(A5:B7,"select A,B where A = 'North'",0)}. The second query matches nothing. Hover F10: the ARRAY_LITERAL missing-values tooltip again, not only “Query completed with an empty output.” A lone empty QUERY is QUERY no rows. Inside { ; }, that empty result is a missing row of the literal.
What is actually wrong
Section titled “What is actually wrong”{ range1 ; range2 }means “put range2 under range1.” Every part must have the same number of columns. Sheets does not invent a blank column for the short block.{ range1 , range2 }means “put range2 beside range1.” Every part must have the same number of rows. The tooltip then namesARRAY_ROWand the expected versus actual height, not the ARRAY_LITERAL sentence.- In a United States locale, the column separator inside
{ }is a comma and the row separator is a semicolon. Other locales use a backslash for columns. If the formula will not even parse, that is array literal locale, not this tooltip. QUERY,FILTER, andIMPORTRANGEcan return zero rows even when each formula is valid on its own. A zero-row part still breaks{ ; }, because the literal is no longer a rectangle.IFERROR(..., "")does not fix it: a single empty string is one cell, not a row with the right width.VSTACKandHSTACKwere added later and do the same stacking job with a different contract. Unequal sizes become#N/Apadding, and the formula still returns a grid. That is useful when you want a result at any cost. It is the wrong tool if a missing column should be a hard error.
This is not FILTER range size. FILTER refuses mismatched heights with its own size tooltip. This is not a blocked spill: the formula cell itself is the error, and the formula bar still shows the braces.
Leave F2 and H2 broken so both tooltips stay on the sheet.
Make the widths match. Point every stacked range at the same columns: ={Sheet1!A2:C;Sheet2!A2:C}. If one tab is genuinely shorter by a column, add a blank column on that tab, or wrap the narrow block as HSTACK(D2:D3,"") so it is two columns of real blanks, not a missing column.
When one QUERY can be empty, use VSTACK and hide the pad. In F14 enter =IFNA(VSTACK(QUERY(A5:B7,"select A,B where A = 'East'",0),QUERY(A5:B7,"select A,B where A = 'North'",0))). The East rows land. The empty North query no longer kills the stack. IFNA turns a pad #N/A into a blank. See VSTACK column pad if the #N/A is a width pad you still need to understand.
Do not paper over it with IFERROR around the braces. IFERROR({A2:B3;D2:D3},"") hides the tooltip and leaves one blank cell. You still do not have the stacked table.
If the hover says Formula parse error and you recently changed File → Settings → Locale, fix the separators first: array literal locale. If the hover is the ARRAY_LITERAL sentence, count columns, then count whether any part returned zero rows.