How to Keep Mac Excel Calculations Running with the Screen Turned Off
Question details
The user needs to maintain continuous data processing or Excel Solver calculations on a Mac while turning off the screen to save power, without the system entering sleep mode and halting the task.

- Product
- Excel for Mac
- Device & OS
- macOS
- Scenario
- Running long calculations, complex data processing, or Excel Solver tasks overnight.
- Observed behavior
- When the MacBook screen turns off or the lid is closed, the system enters sleep mode, immediately pausing active calculations and prolonging processing time.
Ensure your MacBook is connected to a reliable power adapter, as continuous heavy processor usage overnight will drain the battery significantly faster than normal.
Configure Mac Energy Saver or Lock Screen Settings
Modify your macOS system preferences to prevent the computer from sleeping when the display automatically turns off.
By default, macOS goes to sleep shortly after the display turns off to conserve power. By separating the display sleep timer from the computer sleep function, you can turn off the screen while keeping the CPU active for long calculations.
Click the Apple menu in the top-left corner of your screen and select 'System Preferences' (or 'System Settings' in newer macOS versions).
Click on 'Energy Saver', 'Battery', or 'Lock Screen' depending on your specific macOS version.
Check the box next to 'Prevent computer from sleeping automatically when the display is off'. If you are using a newer macOS, toggle 'Prevent automatic sleeping on power adapter when the display is off' to the on position.
Set the slider or dropdown menu for 'Turn display off after' to your preferred time (e.g., 5 or 10 minutes). The screen will go dark, but your calculation will continue running in the background.

Run Heavy Calculations Smoothly with WPS Spreadsheet
If you frequently run heavy data processing or complex formulas, WPS Office provides a highly optimized, resource-friendly spreadsheet tool for macOS. It efficiently utilizes system resources, ensuring that your heavy datasets and complex array formulas process reliably without slowing down your Mac.
- 1. Download WPS Office: Download and install the free version of WPS Office for Mac from the official website.
- 2. Open Your Dataset: Launch WPS Spreadsheet and open your heavy .xlsx file directly without any format conversion.
- 3. Run the Calculation: Execute your formulas or data processing tools. WPS Spreadsheet will utilize your Mac's CPU efficiently to complete the task.

Frequently Asked Questions
Why does my Excel calculation stop when the Mac screen goes black?
By default, macOS links display sleep with system sleep. When the screen goes black, the operating system enters a low-power mode, suspending active applications and background processes to conserve battery life.
Can I just close my MacBook lid while calculating?
Closing the lid will immediately force the MacBook to sleep, pausing all tasks. The only exception is 'clamshell mode', which requires your MacBook to be plugged into a power source and connected to an external display, keyboard, and mouse.
Is there a shortcut to turn off the Mac display instantly without sleeping?
Yes. If your settings are configured to prevent sleep when the display is off, you can instantly turn off the screen by pressing Control + Shift + Power (or Control + Shift + Eject on older Macs), or by using a configured Hot Corner to put the display to sleep.




