TGViewer
MS Excel for Data Analysis MS Excel for Data Analysis @excel_analyst ยท 73.1K subscribers
Post #2237 3.29K
๐Ÿ“Š Excel Basics #19 โ€“ VLOOKUP() Function

The VLOOKUP() function is one of Excel's most popular lookup functions. It searches for a value in the first column of a table and returns a value from another column in the same row.

ยซNote: Although XLOOKUP() is the modern replacement for VLOOKUP(), many companies still use VLOOKUP(), making it an important function to learn.ยป

๐Ÿ“Œ What is the VLOOKUP() Function?
VLOOKUP stands for Vertical Lookup.
It searches vertically in the first column of a table and returns a value from a specified column.

Syntax:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

๐Ÿ“Œ Arguments Explained
โ€ข lookup_value โ†’ The value you want to search for.
โ€ข table_array โ†’ The table containing the data.
โ€ข col_index_num โ†’ The column number from which to return the result.
โ€ข range_lookup
โ€“ FALSE โ†’ Exact match (recommended)
โ€“ TRUE โ†’ Approximate match

๐Ÿ“Œ Example
ID | Name | Department
101 | Rahul | IT
102 | Priya | HR
103 | Amit | Finance
104 | Neha | Marketing

To find the department of Employee ID 103:
Formula:
=VLOOKUP(103,A2:C5,3,FALSE)
Result:
Finance

๐Ÿ“Œ Using a Cell Reference
If cell E2 contains the Employee ID:
=VLOOKUP(E2,A2:C5,3,FALSE)
Changing the value in E2 automatically returns the corresponding department.

๐Ÿ“Œ Common Errors
โŒ Searching in a column other than the first column.
โŒ Using the wrong column index number.
โŒ Forgetting to use FALSE for an exact match.
โŒ Returning #N/A when the value doesn't exist.

To avoid displaying errors:
=IFERROR(VLOOKUP(E2,A2:C5,3,FALSE),"Not Found")

๐Ÿ“Œ Limitations of VLOOKUP()
โ€ข Can only search from left to right.
โ€ข Breaks if columns are inserted or deleted because the column index changes.
โ€ข Slower than newer lookup functions on very large datasets.

๐Ÿ“Œ Real-World Uses
โ€ข Find employee details using Employee ID.
โ€ข Retrieve product prices from a product list.
โ€ข Get student marks using Roll Number.
โ€ข Look up customer information.
โ€ข Match invoice details with customer records.

โœ… Best Practices
โ€ข Always use FALSE for exact matches.
โ€ข Keep the lookup column as the first column in the table.
โ€ข Combine VLOOKUP() with IFERROR() for cleaner reports.
โ€ข For new Excel versions, prefer XLOOKUP() as it is more flexible and powerful.

VLOOKUP() is one of the most frequently asked Excel interview topics and remains widely used in businesses worldwide.

Double Tap โค๏ธ For More
  • โค 10
  • ๐Ÿ‘ 2
More from @excel_analyst
  1. Oct 8, 2026๐ŸŽ“ ๐— ๐—ถ๐—ฐ๐—ฟ๐—ผ๐˜€๐—ผ๐—ณ๐˜ ๐—™๐—ฅ๐—˜๐—˜ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—–๐—ฒ๐—ฟ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ฒ๐˜€! ๐Ÿš€๐Ÿ”ฅ Upgrโ€ฆ
  2. Oct 7, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 5 This part focuses on Tables, Filters & Data Analysis shortcutsโ€ฆ
  3. Oct 7, 2026๐Ÿš€๐—ฃ๐—ฎ๐˜† ๐—”๐—ณ๐˜๐—ฒ๐—ฟ ๐—ฃ๐—น๐—ฎ๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป๐—ถ๐—ป๐—ด | ๐—•๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฒ ๐—ฎ ๐—™๐˜‚๐—น๐—น๐˜€๐˜๐—ฎ๐—ฐโ€ฆ
  4. Oct 7, 2026๐— ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ ๐—•๐—œ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฅ๐—˜๐—˜! ๐Ÿ”ฅ Learn Power BI through these FREE learninโ€ฆ
  5. Sep 29, 2026๐Ÿ“Š Excel Shortcuts โ€” Part 3 This part focuses on Formatting Shortcuts โ€” quickly format celโ€ฆ
  6. Sep 29, 2026๐—™๐—ฅ๐—˜๐—˜ ๐—ฅ๐—ฒ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ ๐—ง๐—ผ ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—”๐—œ ๐—ถ๐—ป ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฒ๐Ÿš€ โ€‹ Explore 6 free resourceโ€ฆ
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook โ†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 โ†’