How to correct a #TIMEOUT! error

Applies To
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016 Excel Web App

#TIMEOUT errors are returned when a formula takes too long to run. See the following specific cases.

Formula timed out

This formula exceeded the maximum allotted execution time. Try running the formula again.

Python formula timed out

This Python formula exceeded the maximum allotted execution time.

Try running the formula again or resetting the Python runtime. From the Formulas tab, in the Python group select Reset runtime, or use the keyboard shortcut Ctrl+Alt+Shift+F9.

You can also adjust the Python timeout limit. Go to File > Options > Advanced > When calculating this workbook and set Python Formula Timeout as desired.