VLOOKUP v INDEX MATCH - You decide

VLOOKUP v INDEX MATCH - You decide

This is a link to a lively discussion on LinkedIn around VLOOKUP and INDEX MATCH

https://www.dhirubhai.net/feed/update/urn:li:activity:6440106868756058112/

Plus here's the video if you want to skip the discussion...

In the discussion I made this analogy which I think sums up my viewpoint

... lets think of VLOOKUP as a screwdriver and INDEX MATCH as a power drill...   wait...wait.... I'm not saying INDEX MATCH is faster than VLOOKUP that isn't what this analogy is leading to.     

If  I need to screw something together I just pick up the screwdriver and hey-presto done.    Why would I bother unpacking the Power Drill, plugging it in and finding the right toolbit? 

Then I need to drill a hole.   In this scenario I need to get the Power Drill out.

That is Oz's context view.

For me, something changed several years ago  They invented the cordless drill that never needs charging and made it as easy to carry as a screwdriver.

This came about as the result of 2 things

1.  Tables were introduced in Excel 2007 with it's structured referencing.

2.  I came up with an autocorrect trick to help write the INDEX MATCH formula (see below)

So for the last 10 years,  regardless of context, I pick up my cordless drill.  The screwdriver is just gathering dust.

Once in a while I might need a screwdriver to open a tin of paint though.... :)

Summing up

It's not that VLOOKUP is wrong or bad, used in the right context it works great. It's just that once I discovered the benefits of INDEX MATCH I've never had to think about the context as it works really well all the time.

So how do you "get on board" with INDEX MATCH?

If you want to see how to write a really quick INDEX MATCH then check out my 2 articles here

Using Autocorrect to write your INDEX MATCH formula

https://www.dhirubhai.net/pulse/stop-using-vlookup-wyn-hopkins/

Clicking a button to write your INDEX MATCH formula

https://www.dhirubhai.net/pulse/5-reasons-why-i-love-access-analytic-toolbar-wyn-hopkins/

Hope it helps

Even more importantly I'd like to end the debate by having a new formula that takes the best of both, but I need you to vote to make it happen.

Thanks

Wyn

www.accesssanalytic.com.au/blog




Use both but prefer index match.

回复
Tony English

SC Cleared Data Analyst/vba developer at Urenco

6 年

Think both have their place. However vlookup is probably easier for people to get their heads around in terms of the syntax and is therefore easier to support and maintain while being much less flexible.

Nate Kocan

Manager at Schellman

6 年

Don Tomoff, MBA, CPA what do you think? #indexmatch vs. #vlookup

Wojciech Wegrzyn

Digital Supply Chain Development Manager

6 年

If you have 5 minutes to get those numbers just this one time... you can’t deny that vlookup is less typing. When building solutions/tools and table has more than two columns, index match all the way. There is one other aspect to consider. Ease of understanding by other users.

要查看或添加评论,请登录

Wyn Hopkins的更多文章

  • The Best Dependent Drop Down Technique

    The Best Dependent Drop Down Technique

    Driven by a gauntlet laid down by friend and fellow MVP Mark Proctor on our Unpivot podcast recently I revisited my…

    1 条评论
  • Should you use Measures for Conditional Formatting?

    Should you use Measures for Conditional Formatting?

    Streamline Your Power BI Conditional Formatting with Measures I've always found the built-in conditional formatting in…

    6 条评论
  • Consolidate and Hyperlink to Excel files on SharePoint

    Consolidate and Hyperlink to Excel files on SharePoint

    In this video, we're diving into the world of Excel and Power BI, focusing on creating hyperlinks for easy referencing…

    4 条评论
  • The greatest multi-level Excel drop-down list ever!

    The greatest multi-level Excel drop-down list ever!

    One-Off dependent drop down lists in data validation are relatively straightforward: here's a technique using XLOOKUP…

    5 条评论
  • Default Your Slicer to the Current Month in Power BI

    Default Your Slicer to the Current Month in Power BI

    First Published November 2022 on our YouTube Channel Join 65,000+ subscribers to stay up to date with new videos…

    4 条评论
  • Power BI Licensing Explained

    Power BI Licensing Explained

    What are the differences between: Power BI Free (soon to be renamed Fabric Free) Pro: $10 USD pp/pm PPU (Premium Per…

    2 条评论
  • Power BI May 2023 Release

    Power BI May 2023 Release

    The May version of Power BI desktop is out This is a very quick post highlighting my 2 favourite picks: 1. Azure Maps…

    5 条评论
  • Simpler DAX ? = Power Query

    Simpler DAX ? = Power Query

    If you are struggling to write a complicated DAX formula then the answer may be to step back and do a little Power…

    2 条评论
  • Power BI Explained

    Power BI Explained

    A simple explanation of Power BI I hope you find this useful. Power BI continues to go from strength to strength and…

  • SUMX explained.

    SUMX explained.

    SUMX is a DAX function that can be used in an Excel Data Model (aka Power Pivot) to create a temporary column…

    6 条评论

社区洞察

其他会员也浏览了