How to correct a #VALUE! error in INDEX/MATCH functions

This topic explains the common scenarios where you encounter the #VALUE! error when using INDEX and MATCH functions together in a formula. One of the most common reasons to use the INDEX and MATCH combination is when you want to look up a value in a scenario where VLOOKUP won’t work for you, like if your lookup value is over 255 characters.

Problem: The formula has not been entered as an array

If you are using INDEX as an array formula along with MATCH in order to be able to retrieve a value, you will need to convert your formula into an array formula, otherwise you will see a #VALUE! error.

Solution: INDEX and MATCH should be used as an array formula, which means you need to press CTRL+SHIFT+ENTER. This will automatically wrap the formula in braces {}. If you try to enter them yourself, Excel will display the formula as text.

If you're using INDEX/MATCH when you have a lookup value greater than 255 characters is needs to be entered as an Array formula.  The formula in cell F3 is =INDEX(B2:B4,MATCH(TRUE,A2:A4=F2,0),0), and is entered by pressing Ctrl+Shift+Enter
INDEX and MATCH should be used as an array formula

Do you have a specific function question?

Post a question in the Excel community forum

Help us improve Excel

Do you have suggestions about how we can improve the next version of Excel? If so, please check out the topics at Excel User Voice.

See Also

Correct a #VALUE! error

INDEX function

MATCH function

Look up values with VLOOKUP, INDEX or MATCH

Overview of formulas in Excel

How to avoid broken formulas

Use error checking to detect errors in formulas

All Excel functions (alphabetical)

All Excel functions (by category)

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×