Function Problems

How to Multiply an Excel Value by a Factor Based on Its Zone

Natalie TaylorNatalie Taylor Nov 11, 2026 868 views

Question details

The user needs to multiply an input value by a different mathematical factor depending on which categorical zone it belongs to, without using complex nested IF formulas.

How to Multiply an Excel Value by a Factor Based on Its Zone
Product
Excel
Device & OS
not provided
Scenario
Calculating customized metrics, such as zone-based pricing, taxes, or scores, where each category has its own distinct multiplier.
Observed behavior
By creating a dedicated lookup table and referencing it with an XLOOKUP or VLOOKUP function, the correct factor is dynamically retrieved and multiplied by the original value.
Before you start

Ensure that you have organized your data with the input values and their assigned zones in adjacent columns, and prepare a separate, clean lookup table containing each unique zone and its corresponding multiplication factor.

Solution 1Recommended

Use XLOOKUP with a Lookup Table

XLOOKUP is a modern, highly efficient function that retrieves the correct factor for a zone and allows you to multiply it directly in one simple formula.

Instead of writing long, complicated nested IF statements, setting up a lookup table is cleaner and easier to update. When a factor changes, you only need to update the table, and all formulas recalculate automatically.

1
Set up your lookup table

Create a lookup table in a blank area of your worksheet. For example, enter your unique zones in cells E2:E7 and their corresponding multiplication factors in F2:F7.

2
Identify your data references

Locate the input value you want to multiply (e.g., cell A2) and the cell that specifies its assigned zone (e.g., cell B2).

3
Enter the XLOOKUP formula

Click on the cell where you want the final result (e.g., C2) and type the formula: =A2*XLOOKUP(B2, $E$2:$E$7, $F$2:$F$7).

4
Apply to remaining rows

Press Enter to get the result. Click the bottom-right corner of the result cell and drag it down to fill the formula for the rest of your data.

Use XLOOKUP with a Lookup Table
Use Absolute References: Always use dollar signs ($) for your lookup table ranges (like $E$2:$E$7) so the reference area stays locked in place when you copy the formula down.
Powerful Data Calculation Tool

Calculate Zone Factors Easily with WPS Spreadsheet

WPS Spreadsheet fully supports advanced functions like XLOOKUP and VLOOKUP, making complex calculations simple. You can effortlessly manage lookup tables and perform dynamic multi-condition multiplications without relying on heavy or expensive software.

  1. 1. Open your data file: Launch WPS Spreadsheet and open the workbook containing your values and zone labels.
  2. 2. Create the lookup mapping: Set up a clean two-column lookup table containing your unique zones and their corresponding multipliers.
  3. 3. Apply the lookup function: Type your XLOOKUP or VLOOKUP formula directly into the formula bar to multiply the source cell by the retrieved factor.
  4. 4. Fill the data dynamically: Double-click the fill handle on your result cell to instantly apply the multiplication logic to your entire dataset.
Fully compatible with Microsoft Excel formulas, including XLOOKUP and VLOOKUPLightweight installation and incredibly fast calculation performanceFree to use for daily professional spreadsheet tasksFamiliar user interface makes data analysis easy with zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get an #N/A error when using XLOOKUP for my zones?

The #N/A error occurs if the specific zone in your data does not exactly match any zone in your lookup table. Check for typos, extra spaces, or case differences between your source data and the lookup table.

Can I use nested IF functions instead of a lookup table?

Yes, but nesting multiple IF functions (e.g., =IF(B2="Zone 1", A2*1.5, IF(B2="Zone 2", A2*2.0, ...))) quickly becomes difficult to read, troubleshoot, and maintain. A lookup table is widely considered best practice for multiple conditions.

How do I lock the lookup table range so it doesn't shift?

You must use absolute references. When highlighting your lookup range inside the formula, press the F4 key on your keyboard. This adds dollar signs (e.g., $E$2:$E$7) to lock the row and column coordinates.

What if my lookup value is a partial text match?

If you need to match partial text, you can use wildcards. In XLOOKUP, you must change the 'match_mode' argument to 2 (wildcard character match) and include asterisks (*) around your lookup value, such as "*"&B2&"*".