Skip to playerSkip to main content
Learn why you must use the VLOOKUP() with MATCH() in Excel.

To perform a VLOOKUP on a specific column in Excel, you simply specify the column number within the table array parameter. For instance, to lookup values in the second column, you'd input '2'. Utilizing VLOOKUP with MATCH allows for more flexibility by dynamically determining the column number. To reference a column in VLOOKUP, you designate the column index number within the table array. When matching two columns in Excel using VLOOKUP, it's essential to ensure that the lookup column is on the left side of the result column. MATCH is preferred over VLOOKUP when needing to lookup values vertically or horizontally due to its versatility in searching both rows and columns. The key disparity between VLOOKUP and INDEX MATCH lies in their functionality and versatility. While VLOOKUP is simpler and quicker for basic lookups, INDEX MATCH offers more robust capabilities for complex searches and dynamic matching.


Original Formula
=VLOOKUP($A$7,$A$11:$F$65,2,FALSE)

Automatically Update Column Number
=VLOOKUP($A$7,$A$11:$F$65,MATCH(B6,$A$10:$F$10,0),FALSE)

XLOOKUP
=XLOOKUP($A$7,$A$11:$A$65,B$11:B$65,"",0)



How do I do a VLOOKUP on a specific column?,How do I use VLOOKUP with match?,How do I reference a column in VLOOKUP?,How do I match two columns in Excel using VLOOKUP?,Why use match instead of VLOOKUP?,What is the difference between VLOOKUP and INDEX match?,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypシ #exceltips #exceltricks

Category

📚
Learning
Transcript
00:00When using a VLOOKUP, entering the column number manually on the third argument can be quite
00:04laborious. Let me demonstrate how you can automatically increase it using a simple
00:07addition to the VLOOKUP formula. We will be using a match function, lookup value will be the header,
00:12lookup array will be the header for the dataset, and match type will be exact. After that, you can
00:17drag the formula right across the column like this. This issue is only limited to older version
00:21of Excel. For newer version like Excel 2021 and Microsoft 365 and above, I suggest using
00:26XLOOKUP function as the return column is identified as a range. Let me demonstrate. XLOOKUP, the first
00:32argument, lookup value will be A7, lookup array will be A11 to A65, and on the third argument, this is
00:38where I start to tangent away. For return array, we can log the row while allowing the column to change.
00:43After that, set the if not found argument to blank and set match mode to exact with a zero, and
00:48after
00:49that, apply the same formula right across. Can I put a community poll out there? Do you think I should
00:53develop an XLOOKUP add-on for older version of Excel? If there's enough interest, I'll develop an Excel
00:58add-on. Let me know in the comment section.
Comments

Recommended