Use INDEX MATCH or VLOOKUP to Return Plant Rates in WPS Spreadsheets
Question details
Find a formula that returns the rate for a plant type entered on another sheet without producing a VALUE error.

- Product
- Spreadsheet software, including WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A workbook has a plant type and rate list on one sheet, while another sheet contains the plant type to look up.
- Observed behavior
- The lookup needs to return the matching rate rather than a VALUE error.
Check which columns contain plant types and rates, and confirm that the names match between sheets. The examples below assume a sheet named Rates has plant types in A2:A100 and rates in B2:B100, with the lookup value in C2 on the other sheet.
Return the rate with INDEX and MATCH
Use INDEX and MATCH to find an exact plant type and return the rate from the corresponding row.
On the sheet containing the plant type in C2, click the cell where you want the rate to appear.
Type =INDEX(Rates!$B$2:$B$100,MATCH(C2,Rates!$A$2:$A$100,0)) and press Enter. Adjust the sheet name and ranges to match your workbook.
Confirm that the returned rate matches the plant type, then drag the cell's fill handle down to apply the formula to other rows.

Return the rate with VLOOKUP
Use VLOOKUP when plant types are in the first column of a table and rates are in the second.
Find Plant Rates Across Sheets with WPS Spreadsheets
Open your workbook in WPS Spreadsheets and use an exact-match lookup formula to return each plant's rate from a list on another sheet.
- 1. Open the workbook: In WPS Spreadsheets, choose Open and select the workbook containing your plant list.
- 2. Check the rate list: Click the Rates sheet tab and confirm that plant types are in column A and rates are in column B, or identify the actual columns.
- 3. Enter a lookup formula: On the other sheet, select the result cell and enter =INDEX(Rates!$B$2:$B$100,MATCH(C2,Rates!$A$2:$A$100,0)), adjusting the references as needed.
- 4. Fill and save: Press Enter, drag the fill handle down for additional plant types, and choose Save to keep the changes.

Frequently Asked Questions
Why does the formula return #N/A for a plant type?
An exact match was not found. Compare the value in C2 with the plant names on the Rates sheet, including any extra spaces or spelling differences.
What should I check if the formula returns #VALUE!?
Inspect the formula in the formula bar for incorrect arguments or references, and check the source cells for errors. For INDEX and MATCH, make sure the lookup and return ranges cover corresponding rows.
Can I use VLOOKUP if the rate is to the left of the plant type?
Not with a standard VLOOKUP table, because the lookup column must be the table's first column. Use INDEX and MATCH instead, selecting the rate column in INDEX and the plant type column in MATCH.
How do I refer to a sheet name that contains spaces?
Enclose the sheet name in single quotes in the formula. For example, use 'Plant Rates'!$A$2:$A$100 to refer to cells on a sheet named Plant Rates.




