Can an Excel Formula Copy Both Cell Values and Formatting?
Question details
The user wants to know if a spreadsheet formula can duplicate both the content and the visual formatting of a source cell.

- Product
- Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Attempting to link or copy cells dynamically while retaining background colors, fonts, borders, or conditional formatting.
- Observed behavior
- Formulas only return cell values or text, leaving behind the original cell's visual formatting and conditional rules.
Before you begin, remember that spreadsheet formulas are designed exclusively to calculate and return data, not visual attributes. To transfer styles, you must rely on clipboard tools like Copy, Paste Special, or the Format Painter.
Use Copy and Paste Special to Transfer Values and Formats
Since formulas cannot copy formatting, the most direct method to transfer both data and visual style is using standard Copy and Paste functions.
While a formula like `=A1` will pull the data from cell A1, it will not bring over bold text, cell borders, or background colors. Copy and Paste acts as the standard workaround for static data.
Click on the cell containing the value and formatting you want to duplicate.
Press Ctrl + C on your keyboard, or right-click the cell and select Copy.
Click the target cell and press Ctrl + V to paste everything, or right-click and select Paste Special > Values and Source Formatting to avoid overwriting existing structural rules.

Apply Formatting to Formula Cells Using Format Painter
If you already have a formula returning the correct value and just need it to look like the source cell, use the Format Painter.
Use the Camera Tool for a Live Formatted Image
If you need the formatting to update dynamically when the source cell changes (similar to how a formula works), the Camera tool or Linked Picture feature is the best alternative.
Easily Copy Values and Formatting with WPS Spreadsheet
WPS Office provides a highly compatible, free alternative to Microsoft Excel. Its Spreadsheet application includes intuitive Paste Special options, an easy-to-use Format Painter, and full support for Excel formats, making data and formatting management seamless.
- 1. Open your spreadsheet: Launch WPS Spreadsheet and open your document.
- 2. Copy the source data: Select the cell you wish to duplicate and press Ctrl + C.
- 3. Use Paste Special: Right-click the destination cell, hover over 'Paste Special', and select 'Keep Source Formatting' to instantly duplicate the value and the style.

Frequently Asked Questions
Why doesn't the `=A1` formula copy the background color?
Spreadsheet formulas are engineered to process data and values only. They do not interact with visual properties like background colors, font styles, or borders. To copy these, you must use clipboard features like Copy and Paste.
Can conditional formatting be copied using a formula?
No, conditional formatting cannot be transferred via formulas. If your source cell uses conditional rules, you need to use the Format Painter to copy the rules to the new cell, or manually recreate the conditional formatting rules for the destination range.
Is there a way to link a cell's formatting dynamically?
The only way to dynamically link both a cell's value and its visual formatting so that they update together is by copying the cell and pasting it as a 'Linked Picture'. This creates a visual snapshot rather than editable text.
What is the shortcut to paste values and source formatting?
After copying a cell, you can paste it and retain both the value and source formatting by right-clicking the target cell and selecting the 'Keep Source Formatting' icon under the Paste Options menu.




