Formula Errors

Fix MAXIFS and MINIFS #NAME Error When Importing CSV in Excel

Emma BrownEmma Brown Nov 2, 2026 869 views

Question details

Users need a way to prevent Excel from automatically adding the '@' symbol to MAXIFS and MINIFS formulas when opening CSV files, which breaks the formulas.

Fix MAXIFS and MINIFS #NAME Error When Importing CSV in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Opening or importing a CSV file that contains MAXIFS or MINIFS formulas into Microsoft Excel.
Observed behavior
Excel automatically adds the implicit intersection operator (@) to the formulas (e.g., =@MAXIFS(A:A,A:A,2)), which causes the cells to display a #NAME? error.
Before you start

Because CSV is a plain-text format that does not natively store formula structures, ensure your system's regional settings use the correct list separator (comma or semicolon) before opening the file.

Solution 1Recommended

Convert CSV to XLSX Using an Alternative Spreadsheet Application

Opening the CSV in a different program bypasses Excel's dynamic array auto-formatting, allowing you to save the formulas intact.

Microsoft 365 automatically applies the implicit intersection operator (@) to certain functions when reading plain text files. Using a lightweight alternative like LibreOffice or WPS Office prevents this behavior during the initial file load.

1
Open the CSV in an alternative application

Launch an alternative spreadsheet program (such as LibreOffice Calc or WPS Spreadsheet) and open your original CSV file.

2
Verify formula integrity

Check the cells containing the MAXIFS and MINIFS functions to ensure the '@' symbol has not been added and no #NAME? error is displayed.

3
Save as XLSX

Navigate to 'File' > 'Save As' and choose 'Office Open XML Spreadsheet (*.xlsx)' as the file format.

4
Open the converted file in Excel

Launch Microsoft Excel and open the newly saved .xlsx file. The formulas will now load correctly as native Excel functions.

Convert CSV to XLSX Using an Alternative Spreadsheet Application
Format Preserved: Saving it as an XLSX file ensures that the formula structures are locked in, preventing Excel's CSV parser from misinterpreting them.
Effortless CSV Handling

Open CSV Formulas Perfectly with WPS Office

WPS Spreadsheet seamlessly opens CSV files without misinterpreting newer functions or forcefully adding implicit intersection operators. You can natively load your MAXIFS and MINIFS formulas, work on them, and directly save them to standard Excel formats.

  1. 1. Launch WPS Spreadsheet: Open WPS Office and start a new Spreadsheet session.
  2. 2. Open the CSV File: Click 'Menu' > 'Open' and locate your CSV file containing the formulas.
  3. 3. Save as Excel Workbook: Once opened and verified, click 'Menu' > 'Save As' and select the standard '.xlsx' format.
Opens CSV files without adding the '@' symbol to formulasHigh compatibility with Microsoft Excel (.xlsx, .csv, .xls)Lightweight, fast-loading, and completely free to useFamiliar user interface requiring no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel add the '@' symbol to formulas in my CSV?

The '@' symbol is the implicit intersection operator used in modern Excel versions with dynamic arrays. When opening unsupported formats like CSV, Excel's parser attempts to enforce compatibility for formulas it perceives as returning multiple values, forcefully adding the '@' to functions like MAXIFS and causing the #NAME? error.

Can CSV files safely store formulas?

No. CSV (Comma Separated Values) is strictly a plain text format designed for storing raw text and numbers. While you can save text that looks like a formula (e.g., '=A1+B1'), it is entirely up to the spreadsheet software's internal parser to interpret it correctly when reopened.

Does Power Query import formulas from CSVs?

Power Query imports the literal text or numeric values from the CSV. It is not designed to read and map functional formulas from plain text. Best practice is to import the raw CSV data into a table and apply formulas natively within the Excel workbook.