• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

0 Comments

#VALUE! is one of the most common errors when using the VLOOKUP function, but it is also the error that makes many people “sweat”. The #VALUE! error usually indicates that the formula containing the VLOOKUP function is not correct in some way. This error will also appear if you have used an incorrect reference to the cells in your formula, especially if you use a data range from another workbook. In this article by Buffcom.net, we will guide you on how to fix the #VALUE! error when using the VLOOKUP function in Excel.

1. #VALUE! error due to lookup value exceeding 255 characters

The VLOOKUP function only supports users to search for values of 255 characters or less. Therefore, if the value to be looked up is longer than 255 characters, the VLOOKUP function will return the #VALUE! error as shown below.

Fixing #VALUE! error when using VLOOKUP function in Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

To solve this problem, you can use the INDEX and MATCH functions nested together to replace the VLOOKUP function. We have the search formula in cell B11 as follows:

=INDEX(C2:C7,MATCH(TRUE,INDEX(A2:A7=A11,0),0))

Since the INDEX and MATCH functions are not limited to the number of characters, the result can be returned normally.

Fixing #VALUE! error when using VLOOKUP function in Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

2. #VALUE! error due to incomplete path to the lookup worksheet

If you are taking data from another worksheet, you must include the full path to that file. More specifically, you must include the name of the file (including the extension) in square brackets [], and then specify the name of the worksheet and the dot. If any element of the path is missing, your VLOOKUP formula will not work and return the #VALUE! error.
This is the complete formula structure of VLOOKUP for looking up data from another worksheet:

= VLOOKUP (lookup_value, ‘[file name]worksheet name’! Table_array, col_index_num, FALSE)

For example, the formula in the image below is as follows:

=VLOOKUP(A11;[Excel.xlsx]Sheet1!$A$1:$E$7;3;FALSE)

This formula will search for the value of cell A11 in the A1:E7 table in Sheet1 Excel file and return a matching value in column 3.

Fixing #VALUE! error when using VLOOKUP function in Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

3. #VALUE! error due to col_index_num argument less than 1

Another common case that causes the #VALUE! error when using the VLOOKUP function is the col_index_num argument being less than 1.

Fixing #VALUE! error when using VLOOKUP function in Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

To handle this case, it is quite simple. You just need to check the col_index_num argument and correct it to be correct. For example, in this case, we need to fix the col_index_num argument to be 3.

Fixing #VALUE! error when using VLOOKUP function in Excel

Fixing #VALUE! error when using VLOOKUP function in Excel

In conclusion, Excel’s VLOOKUP function is a powerful tool for searching and retrieving data in a spreadsheet. However, it can produce the #VALUE! error message if used incorrectly, causing frustration for many users. The three solutions we’ve outlined in this article can help resolve this error: using INDEX and MATCH functions instead of VLOOKUP for longer search values, providing the full path to the lookup table when using data from a different workbook, and making sure that the col_index_num parameter is not less than 1. By understanding these common mistakes and how to fix them, you can use VLOOKUP more effectively and avoid the #VALUE! error.

Rate this post
29
282 Views
Calculating Percentage and Discount Percentage in ExcelPrevCalculating Percentage and Discount Percentage in ExcelMarch 12, 2023
How to Create Barcodes in Word, Excel - A GuideMarch 13, 2023How to Create Barcodes in Word, Excel - A GuideNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
Products
  • Microsoft Visio Standard 2016 Key 1PC Microsoft Visio Standard 2016 Key 1PC $9.00
  • Kaspersky Plus - 1 Device 1 Year - GLOBAL Kaspersky Plus - 1 Device 1 Year - GLOBAL $23.00
  • Windows 10 Education Key Global Windows 10 Education Key Global
    Rated 4.84 out of 5
    $9.00
  • Windows Server 2025 Datacenter Windows Server 2025 Datacenter $30.00
  • Microsoft Visio 2019 Professional Key Global Microsoft Visio 2019 Professional Key Global - 5 PC
    Rated 4.93 out of 5
    $19.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server2008 R2 Remote Desktop Services device connections (20)cal Windows Server2008 R2 Remote Desktop Services device connections (20)cal $29.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • Windows 10 Pro OEM Key Global - Reinstalling win is still active Windows 10 Pro OEM Key Global - Reinstalling win is still active
    Rated 4.88 out of 5
    $6.00
  • Windows 11 Pro Product Activation Key Windows 11 Pro Product Activation Key
    Rated 5.00 out of 5
    $6.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

00Hours00Minutes00Seconds
Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.

BESbswyBESbswyBESbswyBESbswyBESbswyBESbswyBESbswyBESbswy