One way to accomplish this would be to use automation. You can create a Service that deletes all non-formula cells in a selected table.
In your scenario, you'd copy and paste the entire old table—complete with the figures you want to delete—then execute the Service on the newly pasted table to remove all of the figures.
To do this:
- Open Automator (
/Applications/Utilities/Automator.app
) and create a new Service
.
- At the top, set this service to receive
no input
in Numbers
.
- Use the search bar on the left side to find the
Run AppleScript
action and drag it into the main workflow pane on the right side.
Set the contents of the Run AppleScript
to the following:
on run {input, parameters}
tell document 1 of application "Numbers"
tell (table 1 of active sheet whose class of selection range is range)
repeat with c in cells
tell c to if formula is missing value then set value to ""
end repeat
end tell
end tell
end run
Save the Service under a name you'll recognize (perhaps "Delete Figures").
From now on, whenever you are in Numbers and want to clear the raw figures from a table with formulas, select the table by clicking within it, then click Numbers
in the menu bar, hover over Services
in the menu that appears, and then click on the Service you just created (which I called "Delete Figures").
If you'd like to expedite this further, you could bind a keyboard shortcut to this Service in System Preferences:
- Open System Preferences and open the Keyboard preferences.
- Select the
Shortcuts
tab, then click App Shortcuts
in the menu on the left.
- Click the
+
icon in the lower left. Select Numbers
as the application, and type the name of your Service exactly as it appears in the Services
menu as the Menu Title
. Then click on the Keyboard Shortcut
field and press the keyboard shortcut you'd like to bind to the Service.
Now, when in Numbers, you can simply click within a table whose raw figures you'd like to delete, then press that keyboard shortcut to remove them.