How to Insert an Excel Row with Formulas and Formatting but No Values
Question details
The user needs to insert a new row in a spreadsheet that duplicates the formulas and formatting of the row above it, without copying the hard-coded values.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Expanding a spreadsheet where existing rows contain complex formatting and formulas, but the newly added row needs to be blank for fresh data entry.
- Observed behavior
- By default, standard copy-pasting duplicates both formulas and unwanted constant values, requiring manual deletion of the values.
Identify the specific row containing the exact formulas and formatting you want to duplicate before proceeding with the insertion process.
Copy Row and Clear Constants Using Go To Special
This is the most efficient method to retain all formulas and styling while easily deleting all hard-coded values in one action.
This method utilizes the 'Go To Special' feature, which allows you to selectively highlight only the cells that contain plain, hard-coded values without touching the cells that contain formulas.
Select the entire row containing the desired formulas and formatting by clicking its row number on the left, then press Ctrl+C.
Right-click on the row number where you want the new row to appear and select 'Insert Copied Cells' from the context menu.
With the newly inserted row still selected, navigate to the Home tab on the ribbon, click 'Find & Select' in the Editing group, and choose 'Go To Special'.
In the Go To Special dialog box, select the 'Constants' radio button. Make sure all four checkboxes below it (Numbers, Text, Logicals, Errors) remain checked, then click OK.
Press the Delete key on your keyboard. This clears the constant values while leaving your formulas and formatting perfectly intact.

Insert a Blank Row First and Use Paste Special
A straightforward approach if you prefer to insert your empty rows before pasting over the necessary attributes.
Easily Manage Rows and Formulas with WPS Spreadsheet
WPS Office provides a highly intuitive spreadsheet application that fully supports advanced features like 'Go To Special' and 'Paste Special', allowing you to manage complex rows and formulas effortlessly while ensuring maximum compatibility with Microsoft Excel formats.
- 1. Open your Workbook in WPS Office: Launch WPS Spreadsheet and open the file where you need to insert rows.
- 2. Copy the Target Row: Highlight the row with the formulas and formatting you want, right-click, and select 'Copy'.
- 3. Insert Copied Cells: Right-click the destination row header and select 'Insert Copied Cells'.
- 4. Use Go To Special: Press Ctrl+G, click 'Special', select 'Constants', and click OK to highlight only the hard-coded values.
- 5. Clear Values: Press the Delete key to erase the plain values while keeping your formatting and formulas securely intact.

Frequently Asked Questions
Why did 'Go To Special' delete my formulas?
If formulas were deleted, you likely selected 'Formulas' instead of 'Constants' in the 'Go To Special' dialog box. Make sure to choose the 'Constants' radio button so Excel only targets cells containing plain text or static numbers.
Can I automate inserting rows with formatting but no values?
Yes, if you perform this task frequently, you can record a macro while going through the Paste Special and Go To Special steps. This will allow you to replicate the entire row-insertion and value-clearing process with a single button click or custom shortcut.
Does 'Paste Special' copy column widths as well?
Standard 'Paste Special > All' copies formulas, formatting, and values, but it does not adjust column widths. To copy column widths, you need to use the 'Paste Special' dialog again on the same selection and specifically choose the 'Column widths' option.
What is the keyboard shortcut to open the 'Go To Special' dialog?
You can press F5 or Ctrl+G to open the standard 'Go To' window, and then click the 'Special...' button. Alternatively, you can use the keyboard shortcut Alt+S immediately after opening the 'Go To' window.




