How to Copy an Excel Formula into Data Validation Source in WPS Spreadsheets
Question details
The user needs to copy a long Excel formula into the Data Validation Source box when setting up a list or custom validation rule.
- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- The user is configuring a list or custom data validation rule and wants to use an existing long formula as the validation source without retyping it.
- Observed behavior
- The formula should be pasted correctly into the Data Validation Source box and control the list or custom validation behavior.
Open the workbook that contains the source formula and the range where you want to apply data validation, and make sure the formula cell is visible so you can copy from the formula bar.
Copy the Formula from the Formula Bar into the Data Validation Source Box
Use this method when you already have a long formula in a cell and want to paste it exactly into the Data Validation Source box to avoid retyping errors.
The formula bar displays the complete formula text, which makes it the most reliable place to copy a long formula. Pasting directly into the Source box keeps the formula intact and is faster than typing it manually.
Click the cell that contains the Excel formula you want to reuse for data validation.
Click inside the formula bar, select the entire formula, and press Ctrl+C.
Select the cell or range where the data validation rule should apply.
Go to the Data tab and click Data Validation.
In the Settings tab, choose List or the appropriate Allow option, click in the Source box, and press Ctrl+V.
Add an input message or error alert if needed, then click OK.
Set Up Data Validation with a Copied Formula in WPS Spreadsheets
In WPS Spreadsheets, copy a long formula from the formula bar and paste it directly into the Data Validation Source box to create list or custom validation rules. This preserves the formula text and works with common Excel file formats.
- 1. Open your workbook: Launch WPS Office and open the workbook that contains the source formula and validation range.
- 2. Copy the formula: Select the formula cell, click the formula bar, select the formula text, and press Ctrl+C.
- 3. Select the destination range: Select the cell or range where the data validation rule should apply.
- 4. Open Data Validation: Go to the Data tab and click Data Validation.
- 5. Paste and apply: Choose List or the appropriate validation type, click in the Source box, press Ctrl+V, and click OK.

Frequently Asked Questions
Can I paste a formula into the Data Validation Source box in WPS Spreadsheets?
Yes. Select the formula in the formula bar, copy it with Ctrl+C, open Data Validation from the Data tab, click in the Source box, and press Ctrl+V. Make sure the Allow field matches the formula result, such as List for a list-producing formula or Custom for a TRUE/FALSE formula.
Why is my copied formula not working as a data validation source?
Check that you selected the correct validation type under Allow, the formula starts with = when required, and the cell references point to the active cell. Also confirm that the formula returns a valid range for List or a TRUE/FALSE result for Custom.
How do I edit an existing data validation formula in WPS Spreadsheets?
Select the range with the validation rule, go to the Data tab, click Data Validation, click in the Source box, and paste or edit the formula. Click OK to apply the changes.
Can I use a long Excel formula in WPS Spreadsheets data validation?
Yes. WPS Spreadsheets opens Excel formulas and data validation rules, so you can copy a long formula from the formula bar and use it in the Data Validation Source box without losing compatibility.




