How to Populate Excel Cells Using Multiple Criteria
Question details
The user needs to automatically populate data from a central master sheet into individual sheets based on multiple criteria, such as cost center, revenue type, and month.
- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Organizing a multi-tab budget workbook by extracting and distributing data from a central Revenue sheet to individual cost center sheets based on specific conditions.
- Observed behavior
- Data is currently centralized and requires a dynamic formula approach to filter and populate the respective sheets accurately without manual copying.
Ensure your central master sheet and the individual cost center sheets share exact matching text for headers (like Month, Revenue Type) to prevent #N/A or zero-value errors in your formulas.
Use the SUMIFS Function for Numeric Data
Ideal for summing revenue or budget amounts based on multiple matching criteria such as month and cost center.
The SUMIFS function adds all of its arguments that meet multiple criteria. It is highly efficient for budget and revenue sheets where numerical values need to be pulled based on specific row and column labels.
Navigate to the specific cost center sheet and click on the cell where you want the populated data to appear.
Type the formula: =SUMIFS('Central Sheet'!$C:$C, 'Central Sheet'!$A:$A, $A2, 'Central Sheet'!$B:$B, B$1). Adjust the column letters so that column C is your sum range, A is your first criteria range, and B is your second criteria range.
Press Enter to execute the formula. Click the fill handle at the bottom right of the cell and drag it across the rows and columns to populate the rest of the budget table.

Use XLOOKUP or INDEX and MATCH for Exact Value Retrieval
Best when you need to pull specific text or a single distinct value rather than aggregating numbers.
Easily Handle Complex Formulas with WPS Spreadsheet
WPS Spreadsheet provides robust support for advanced multi-criteria formulas like SUMIFS, XLOOKUP, and INDEX/MATCH, allowing you to organize budget workbooks effortlessly.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open your multi-tab budget workbook.
- 2. Access the Function Library: Navigate to the Formulas tab on the top ribbon and click on 'Insert Function'.
- 3. Build Your Criteria Formula: Search for SUMIFS or XLOOKUP and follow the on-screen dialog box which guides you step-by-step through selecting your criteria and sum ranges.

Frequently Asked Questions
Can I use the sheet name dynamically in my criteria formula?
Yes, you can use the INDIRECT function combined with your criteria formula. For example, using =SUMIFS(INDIRECT("'"&$A$1&"'!C:C"), ...) allows you to reference a sheet name dynamically based on text typed in cell A1.
Why is my SUMIFS formula returning a #VALUE! error?
This error usually occurs if the sum range and the criteria ranges do not have the same number of rows and columns. Ensure all ranges in your SUMIFS formula match exactly in size (e.g., all using rows 2 to 1000).
How do I troubleshoot an INDEX MATCH array formula?
You can use the 'Evaluate Formula' tool located under the Formulas tab. This feature allows you to step through the calculation process and identify which part of your multiple criteria logic is failing to find a match.




