Convert Google Sheets QUERY and ARRAYFORMULA Formulas to Excel
Question details
Replace Google Sheets formulas that Excel does not support with equivalent Excel formulas.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A Google Sheets workbook containing QUERY, ARRAYFORMULA, and TO_TEXT formulas is opened in Excel.
- Observed behavior
- Unsupported formulas may appear as DUMMYFUNCTION placeholders instead of calculating.
Check the source sheet names, data ranges, and filter columns in the workbook. The examples require an Excel version that supports LET, VSTACK, FILTER, and CHOOSECOLS.
Replace QUERY and ARRAYFORMULA with Excel dynamic array formulas
Use Excel formulas to combine ranges and filter rows without Google Sheets functions.
Dynamic array formulas spill their results into neighboring cells, so leave the output area clear. Adjust the sheet names, ending rows, and column numbers to match your workbook.
Select the cell containing the first placeholder formula and enter: =LET(data,VSTACK('ILLINOIS SERVICE'!A7:N7353,'ILLINOIS CLEANING'!A7:N7353),FILTER(CHOOSECOLS(data,1,2,3,4,5,6,7,8,9,10),CHOOSECOLS(data,14)<>"","No results")). This combines the ranges and returns columns A:J for rows where column N is populated.
Select the output cell for unpaid invoices and enter: =LET(data,'UNPAID INVOICES'!A7:M7353,FILTER(CHOOSECOLS(data,1,2,3,4,5,6,7,8,9,10),(CHOOSECOLS(data,11)>0)*(CHOOSECOLS(data,12)>0)*(CHOOSECOLS(data,12)<TODAY()),"No results")). This returns columns A:J when column K is positive and column L contains a date before today.
Press Enter for each formula and compare the spilled results with the source sheets. If Excel shows #SPILL!, clear any cells blocking the output range.

Replace TO_TEXT with an Excel text conversion
Use this approach when an imported formula needs to convert a value to text.
Work with spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and continue working in WPS Spreadsheets when moving from Microsoft Office. Unsupported Google Sheets formulas may still need to be rewritten.

Frequently Asked Questions
Why does Excel show DUMMYFUNCTION in an imported formula?
Excel may use a DUMMYFUNCTION placeholder when an imported Google Sheets function is unsupported. Select the formula cell and replace the placeholder with an equivalent Excel formula.
Does Excel have a direct equivalent of ARRAYFORMULA?
Excel's dynamic array formulas can calculate and spill results across multiple cells without ARRAYFORMULA. Enter a supported formula in one cell and leave the expected output area empty.
What if Excel does not recognize VSTACK or CHOOSECOLS?
Check your Excel version and update Microsoft 365 if available. Older versions may not support these functions; you may need helper columns or another method to combine and filter the data.
How do I keep leading zeros when replacing TO_TEXT?
Use a format in Excel's TEXT function, such as =TEXT(A2,"00000") for five digits. Adjust the number of zeros to match the required output.




