Skip to content

=SUM(Jan:Mar!B2) does not work in Google Sheets — 3D references fix

Updated

In Excel, =SUM(Jan:Mar!B2) adds B2 from every tab between Jan and Mar in the tab bar. That is a 3D reference. Google Sheets does not support that syntax. There is no setting that turns it on. Typed into Sheets, the formula returns #NAME?, not the total. The live English tooltip (captured 2026-11-27, Locale United States) is Unknown range name: ‘JAN’. The quoted name is uppercase JAN even when the formula uses Jan; Sheets appears to case-fold the span token. After you import an .xlsx that used 3D references, those formulas have to be rewritten.

This page is the missing 3D span. A typo of a single tab name is Unresolved sheet name. Keep the Google Sheets UI in English.

  1. In a blank spreadsheet, rename the first tab to Jan. Add tabs Feb and Mar. In B2 of each tab type 10, 20, and 30. Add a fourth tab named Summary.

The Excel syntax. On Summary, in A1 enter =SUM(Jan:Mar!B2). A1 does not show 60. It shows #NAME?. Hover A1: the tooltip is Unknown range name: 'JAN'. The formula bar still shows the Jan:Mar!B2 span. Leave A1 broken.

Summary!A1 selected. Formula bar shows =SUM(Jan:Mar!B2). A1 is #NAME?, not 60. Tooltip: Unknown range name: 'JAN'. Tab bar shows Jan, Feb, Mar, Apr, Summary.

List the tabs, as contrast. In A2 enter =SUM(Jan!B2,Feb!B2,Mar!B2). A2 is 60. Clicking B2 on each tab while you type is the reliable way to let Sheets write the names (and quotes, if a name has a space). Leave A2 as the control.

A list of names, for later months. In E1 type tabs. E2 Jan. E3 Feb. E4 Mar. In A3 enter =SUM(MAP(E2:E4,LAMBDA(t,INDIRECT("'"&t&"'!B2")))). A3 is 60. Add a tab Apr, type 40 in Apr!B2, and type Apr in E5. Widen A3’s range to E2:E5. A3 becomes 100. A2 is still 60 until you add Apr!B2 by hand. That difference is the point of the list.

A3 selected. Formula bar shows =SUM(MAP(E2:E5,LAMBDA(t,INDIRECT("'"&t&"'!B2")))). A3 is 100. E2:E5 is Jan, Feb, Mar, Apr. A1 is still #NAME?. A2 is 60. Tab bar shows Jan, Feb, Mar, Apr, Summary.
  • A 3D reference is an Excel feature: the token Jan:Mar between sheet names means “every tab from Jan through Mar in the current order.” Sheets has no such range. Microsoft documents that in Excel, moving a tab outside that span, or deleting a tab in the middle, silently drops it from the total. The Sheets workarounds depend on names you can audit, not on tab order.
  • INDIRECT builds a reference from text and is the usual way to turn a list of tab names into references. It is volatile (it recalculates often). A renamed tab does not update the text in the list, and that row becomes #REF!: INDIRECT #REF!.
  • Tab names with spaces need quotes inside the string. "'"&t&"'!B2" adds them for every name, so you can always include them. Details are on INDIRECT sheet apostrophes.
  • Stacking whole ranges with VSTACK or { ; } is often better than summing one cell, because you can then SUM, QUERY, or FILTER the stack. { ; } still needs matching widths: array literal missing values.

This is not Unresolved sheet name for a single typo (=Sales!B2 when the tab is Sales 2026). The Jan:Mar token is the unsupported part. This is not IMPORTRANGE. The tabs here are in the same file.

Leave A1 as the broken 3D formula.

Few tabs: list them. =SUM(Jan!B2, Feb!B2, Mar!B2) in A2 already returns 60. The same pattern works for COUNTA, AVERAGE, or any function that accepts several ranges.

A2 selected. Formula bar shows =SUM(Jan!B2,Feb!B2,Mar!B2). A2 is 60. A1 is still the error from =SUM(Jan:Mar!B2). Tab bar shows Jan, Feb, Mar, Summary.

Same range on every tab: stack, then aggregate.

=SUM(VSTACK(Jan!B2:B10, Feb!B2:B10, Mar!B2:B10))
=QUERY({Jan!A2:C; Feb!A2:C; Mar!A2:C}, "select Col1, sum(Col3) where Col1 <> '' group by Col1", 0)

The QUERY gives a per-item total across months. Every block must have the same number of columns.

Many tabs: drive it from a list. Keep the tab names on the summary sheet and use MAP with INDIRECT, as in A3. For one value per tab, return the values instead of summing:

=MAP(E2:E13, LAMBDA(t, INDIRECT("'"&t&"'!B2")))

That spill sits next to the names. A missing or misnamed tab is #REF! on that row, which is easier to see than a silent hole in a 3D span.

Better structure for the long run. Monthly tabs with identical layouts are often a sign the data wants to be one table with a month column. Put all months on one tab and total with SUMIF or a pivot table. Nothing has to be rewritten when April arrives.

Coming from Excel. After importing an .xlsx, use Edit → Find and replace (tick Also search within formulas) and search for : between sheet-like names to find leftover 3D references, then rewrite each one. Sheets will not start honoring that syntax.