Excel Too Few Arguments: Cancel a Formula Edit and Exit
Question details
The user wants to exit an invalid formula entry and discard unwanted changes in Excel.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula entry triggers a too few arguments error, and the user wants to start over without retaining unwanted edits.
- Observed behavior
- Excel reports that the formula has too few arguments while the user is editing it.
Check whether the formula is still being edited or the change has already been committed. If an error dialog is open, dismiss it before canceling the edit or using Undo.
Cancel the unfinished formula entry
Use this when the invalid formula is still in edit mode.
Click OK or the available dismiss button in the too few arguments dialog.
Press Esc to discard the unfinished formula entry and restore the cell's previous content.
Select the cell and enter a corrected formula, or close the workbook if you do not want to continue editing.

Undo committed changes and close without saving
Use this if unwanted edits were already committed or you want to discard all unsaved workbook changes.
Cancel formula edits in WPS Spreadsheet
Use WPS Spreadsheet to cancel an unfinished formula, undo committed edits, and close a workbook without saving remaining changes.
- 1. Open the workbook: Open WPS Spreadsheet, select Open, and choose your Excel workbook.
- 2. Cancel the formula: Dismiss any formula error dialog, then press Esc while the cell is still being edited.
- 3. Undo committed changes: If an unwanted edit was already committed, press Ctrl+Z or click Undo on the toolbar.
- 4. Close without saving: Choose File > Close and select Don't Save if prompted to discard remaining unsaved changes.

Frequently Asked Questions
What does the too few arguments error mean in Excel?
The formula contains a function that is missing one or more required arguments. Dismiss the dialog and check the function's required inputs, or press Esc to cancel the entry.
How do I cancel a formula without changing the cell?
Dismiss the error dialog, then press Esc while the formula is still in edit mode. Excel restores the cell's previous content.
Can I undo a formula after pressing Enter?
Yes, if Undo is available. Press Ctrl+Z or click Undo on the toolbar to reverse the committed edit.
Will closing without saving remove other changes?
Yes. Choosing Don't Save when closing the workbook discards all remaining unsaved changes, not just the formula edit.
What if AutoSave already saved the unwanted changes?
If available, open File > Info > Version History and inspect an earlier version. Closing without saving cannot undo changes that were already saved.




