VLOOKUP / Small Business Owner

Retrieve Customer Discount Rate

I need to find the specific discount percentage assigned to a customer based on their membership tier.

formula.xlsx
=VLOOKUP(B2,A9:B12,2,FALSE)

How it works: The VLOOKUP function searches for the 'Membership Tier' (lookup_value) from cell B2 in the first column of the 'Discount Rates' table (table_array A9:B12). Once it finds an exact match for the tier, it moves across that row to the second column (col_index_num 2) and retrieves the corresponding 'Discount Rate'. Setting the last argument to FALSE ensures that only an exact match for the membership tier will return a discount, preventing incorrect rates for non-existent or misspelled tiers.

Data Setup

Customer Name Membership Tier Order ID Discount Rate
Alice Gold 1001
Bob Silver 1002
Charlie Bronze 1003
David Gold 1004
Membership Tier Discount Rate
Bronze 0.05
Silver 0.10
Gold 0.15
Platinum 0.20

Step-by-Step Guide

1

Identify the cell containing the lookup value (e.g., 'Gold' in cell B2 for the customer's membership tier).

2

Define the table array where the lookup value is in the first column and the desired result (discount rate) is in a subsequent column (e.g., A9:B12, which contains the 'Membership Tier' and 'Discount Rate' table).

3

Specify the column index number within the table array that contains the value you want to return (e.g., '2' for the 'Discount Rate' column).

4

Set the range_lookup argument to 'FALSE' (or 0) to ensure an exact match for the membership tier.

5

Enter the complete formula into the target cell (e.g., D2) and press Enter. Drag the fill handle down to apply the formula to other customers.

Explore More