Vlookup vs Index and Match in Excel by Chris Menard

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ •

  • @lalbabukurmi7162
    @lalbabukurmi7162 8 місяців тому +1

    You make it so, simple sir. I was wandering on the internet for the simple way to use it on large file . Very useful . Thanks again.

  • @edusboy
    @edusboy Рік тому +1

    I enjoy how you break down and simplify the concepts in your videos. Thank you!

  • @Queen-xn8lm
    @Queen-xn8lm 2 роки тому +4

    This function is a lifesaver. I use some really large spreadsheets in accounting and vlookups can be a pain in the behind especially when you have deadlines to meet. Thanks for your very clear explanation!

  • @mistofstars
    @mistofstars 6 років тому +6

    thank you! I finally understood why this approach is superior to vlookup :)

  • @Wcbssg
    @Wcbssg 5 років тому +3

    Most easier guide ever seen! Good job and appreciate your sharing!

  • @RakeshSharma-yd8hk
    @RakeshSharma-yd8hk 2 роки тому +1

    nice. Calm voice and calm presentation...

  • @callendeer
    @callendeer 5 років тому +6

    "vlookuo only go to the right."
    Thanks sir i'm sold

    • @ChrisMenardTraining
      @ChrisMenardTraining  5 років тому +5

      You should see the new XLOOKUP function. It is amazing!

    • @callendeer
      @callendeer 4 роки тому

      @@ChrisMenardTraining i will, im going there

  • @jennyng-tai88
    @jennyng-tai88 9 місяців тому

    I'm here wanting to know the difference of the 2 functions. And 3:03 and 5:26 answer my question. Thank you!

  • @shoaibtahir575
    @shoaibtahir575 2 роки тому +1

    Thanks. The live example really helped make sense of the formulea.
    Just so you know, A title like "Stop using Vlookup, here's why" would have beem more engaging for this video.

  • @Ryan-dc6lj
    @Ryan-dc6lj 9 місяців тому

    Very helpful - thanks! I'll use this today :) If the dataset was a Table, and a column was inserted, wouldn't the vLookUp adjust?

  • @cassandrecavalier7151
    @cassandrecavalier7151 11 місяців тому +1

    Thank you for this video! Keep up the good work!

  • @delick01
    @delick01 2 роки тому +1

    Thank you for the video. I feel so powerful now I have acquired this knowledge

  • @looplife41
    @looplife41 Рік тому +2

    Thanks buddy, it was really helpful.

  • @simdee2242
    @simdee2242 2 роки тому +1

    Thanks for this video Chris - super informative and it helped me to build the report I needed. Great job!

  • @leticiawregeholdefehr242
    @leticiawregeholdefehr242 4 роки тому +2

    I am loving your videos. Congratulation. Great way to keep up to date on excel.

  • @fulgensnocte1936
    @fulgensnocte1936 2 роки тому

    Hi, can anybody help me on how to make the filter that stand alone like the one in the video?
    Like the one in french cell, can change it to another country by click in it 🙏

    • @devangpatel2564
      @devangpatel2564 2 роки тому +2

      Make sure you are on the cell in which you want to create a drop down, now go to data and then data validation. Click on list from drop down menu and then select the whole array in which you wish to get value from.

    • @saifullahbinsiddique1858
      @saifullahbinsiddique1858 7 місяців тому

      @@devangpatel2564❤

  • @N7eptune
    @N7eptune 7 років тому

    Definitely the right game play here.

  • @hoople212
    @hoople212 4 роки тому +1

    or you can use tables and use the column function and column name

  • @Jupiter1423
    @Jupiter1423 21 день тому

    psh you can lock the vlookup array and make the column dynamic. i do this all the time

  • @orujmaharramli9204
    @orujmaharramli9204 4 роки тому +1

    Thanks man great!

  • @frankherder260
    @frankherder260 2 роки тому +1

    Thanks!

  • @dilshadmotivates
    @dilshadmotivates 3 роки тому +1

    Excellent

  • @ddiq47
    @ddiq47 6 місяців тому

    Your explaining vlookup and index matching, but you deleted those 4 cells in a square individually ? with your mouse ? Lol but seriously great explanation

  • @voodoochili12
    @voodoochili12 3 роки тому

    Good explanation, but you could explain more WHY/HOW index/match can look from right to left when columns are inserted.

    • @ExaltedDuck
      @ExaltedDuck Рік тому +2

      I'll take a whack. Index and Match are both "looking" at their own specific columns as ranges in this example. So when the new column is added, excel knows to update the "C2:C8" in index() to D2:D8 and the lookup still functions the same. With vlookup, the range in the 2nd argument is updated (it goes from A2:C8 to A2:D8) BUT the 3rd argument is just a simple integer. Excel doesn't know that it would need to be updated so it's left as a 3 and the vlookup gives the blank value in column C as its return unless/until the column argument is update to 4 or the data is put back into column C.
      Index/match can look either direction because they're both looking at single columns. Index takes ([array],[row],[column]) and returns whatever value is in that row and column of the array it's passed. In this case, it's passed a 1 dimensional columnar array and no argument for column is needed (it assumes column coordinate 1 in that case). And then the Match function takes ([value],[array],[type]) as its arguments and returns the coordinate where the value exists in the larger array it's passed. That value is piped into the row argument of index in this example. So Match looks for the value of cell F2 in the Range A2:A8, finds it A5 (the 4th element of the array) and then it passes that value (4) to the row argument of Index, telling index to spit out the value of the 4th row (and implicitly 1st column) of range C2:C8 which is in C5 in the worksheet. To make an index/match call equivalent to the vlookup, it would be:
      =INDEX(A2:C8,MATCH(F2,A2:A8,0),3)
      And would have the same flaw as the vlookup since it's now relying on that "3". However if it is rebuilt as
      =INDEX(A2:C8,MATCH(F2,A2:A8,0),MATCH(A1:C1,"Population",0))
      it would be able to keep functioning because excel would update the A2:C8, A2:A8, and A1:C1 to reflect any insertions, and the values provided to index by match would still point to the desired data.
      One of my favorite use cases is using vector math with arrays to build a multiple criteria lookup. They look a little weird like:
      =INDEX([outputs range], MATCH(1,([lookup range 1]=[value1])*([lookup range 2]=[value2])*(etc.),0),1)
      or more realistically
      =INDEX(D2:D100,MATCH(1,(A2:A100=F2)*(B2:B100=F3)*(C2:C100=F4),0),1)
      This would find the cell(s) in column D where F2 is in A, F3 is in B, and F4 is in C (and only those rows where all 3 match). And there are ways if multiple hits exist to further refine them to get at specific instances. It gets REALLY powerful. And he doesn't even get into how much better index/match perform in terms of system resources. vlookup/hlookup on big data sets get painful way sooner than index/match.

  • @ExaltedDuck
    @ExaltedDuck Рік тому

    IMHO the best selling point on adopting the apparent complexity of index/match (other than the much more flexible usage) is the significantly better resource usage than vlookup/hlookup.