Excel VLOOKUP Trick - No More Counting Columns

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 106

  • @wmfield152
    @wmfield152 3 месяца назад

    These are great tips Alan and probably the better (smarter) way of using VLOOKUP. I too appreciate your clarity in your tutorials.

    • @Computergaga
      @Computergaga  3 месяца назад

      Thank you! Your comments are much appreciated.

  • @shehnilsameer755
    @shehnilsameer755 3 года назад +3

    Alan, this is one of the simplest video I've had ever seen at RUclips.
    Short, precise and very much clear.
    Thank you for sharing this.
    Bless you!

    • @Computergaga
      @Computergaga  3 года назад +1

      You are very welcome. Thank you, Shehnil.

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 года назад

    Great trick that avoids more complex formulas using MATCH. Thank you for sharing Alan!!!

  • @prosurftoti
    @prosurftoti 4 года назад +1

    Hi Alan! Thank you for the trick. Your example shows a table format which is fine but for whoever is using a normal excel format (no table format), you can also use the same trick but the reference of the COLUMN () formula needs to be locked with absolute reference on the rows only. N.b. dealbreaker is also the fact that origin spreadsheet needs to have same column layout of destination spreadsheet. Thx 👌

  • @kaleem77
    @kaleem77 3 года назад

    Thanks Alan, great tip.

  • @mamadoubah3686
    @mamadoubah3686 2 года назад

    Great content! Thank you,

  • @SeldonLien
    @SeldonLien 2 года назад

    best trick I saw so far

  • @douglasbrown3354
    @douglasbrown3354 3 года назад

    Alan - this was a wonderful video on the use of Vlookup with the Column and Columns functions. Thank you ! I will now add these "tricks" to my Excel skill set. Keep on making these wonderful Excel instructional videos!!

  • @SimpleExcelVBA
    @SimpleExcelVBA 4 года назад

    It seems so easy and simple, but I have never used it before. Really useful trick, thanks!

  • @samuelkodjoe1645
    @samuelkodjoe1645 4 года назад

    very useful...thanks!!

  • @joanneosborne2428
    @joanneosborne2428 3 года назад

    Simple and Brilliant, Thank you so much!!!

  • @reazkhanchowdhury421
    @reazkhanchowdhury421 4 года назад

    nice tips, thanks a lot

  • @sachinrv1
    @sachinrv1 4 года назад +1

    Simple and effective. I prefer to uae Match function when the column labels are same but are at different positions in table array. Thanks for sharing 👍

    • @Computergaga
      @Computergaga  4 года назад +1

      You're welcome, Sachin. I think simple and effective sums it up nicely. MATCH can handle more complex scenarios for us. Each option has its strengths and weaknesses.

    • @sachinrv1
      @sachinrv1 4 года назад

      @@Computergaga absolutely correct

  • @akshaykadam3228
    @akshaykadam3228 2 года назад

    Thank you

  • @mohideenthassim7180
    @mohideenthassim7180 4 года назад

    very helpful trick Alan, many thanks for sharing.
    Kind regards

  • @sunandpal
    @sunandpal 3 года назад

    I never thought about this, thanks for sharing the trick 😊

    • @Computergaga
      @Computergaga  3 года назад

      You're very welcome Sunand. Thank you 👍

  • @barttitulaerexcelbart9400
    @barttitulaerexcelbart9400 4 года назад

    Thanks Alan, great tip. I also tried "ranged names" that works with COLUMN as well, but you only need to start in column A.

    • @Computergaga
      @Computergaga  4 года назад

      Thanks Bart, yes this is true. If the table started in column C we could subtract 2 form the returned column or set up a cell we can reference with the starting column in.

  • @mohideenthassim7180
    @mohideenthassim7180 3 года назад

    great tip Alan, many thanks, Cheers Mohideen

  • @wayneedmondson1065
    @wayneedmondson1065 4 года назад +2

    Hi Alan. Great tips. When using COLUMN, worth mentioning that COLUMN returns the absolute column number from the worksheet, not the relative position from within the table. So, using COLUMN for the col_index_number in this context only works if the table_array begins in Column A. If not, then other methods would work, such as using MATCH to coax the relative position of the column in the table by column header. Thanks for all the great videos at Computergaga. Always something new and interesting to learn here. Thumbs up!!

    • @Computergaga
      @Computergaga  4 года назад +2

      Thank you, Wayne. Your comments are appreciated.
      Yes, the absolute position. It would be awesome if it could return the table column when tables are used. Nevermind. If we knew the table started in column D, we could subtract 3 to keep the columns correct as a workaround.

    • @wayneedmondson1065
      @wayneedmondson1065 4 года назад

      @@Computergaga Thanks Alan. That would be great.. something like =COLUMN(TableName[ColumnName.ColumnNumber]) to return the relative column number of the specified table and the indicated column name. Until then, given that I always get users who do things I don't expect, in this circumstance, I'd likely use something like: =COLUMN(target table column)-COLUMN(first table column)+1. That would protect from any column insertions in the middle of the table or to the left of the the first table column. Thanks again for your always interesting videos and thought provoking topics. Thumbs up!!

  • @sasavienne
    @sasavienne 4 года назад

    Excellent. Thanks Alan.
    Best regards. Salim

  • @TheNayanshetty
    @TheNayanshetty 2 года назад

    Thanks

  • @albertopenalver1435
    @albertopenalver1435 4 года назад

    Thanks. It's a great trick and aditional way for use this function

  • @kjvstats9003
    @kjvstats9003 4 года назад

    Nice one. I will certainly use this. Thx.

  • @DanielLamarche
    @DanielLamarche 4 года назад

    Great stuff Alan. Like someone mention MATCH() is an alternative but it also needs the column name to be typed. The previous week setup was good too. Thanks

    • @Computergaga
      @Computergaga  4 года назад

      Thank you, Daniel. It is good to have alternative methods to fit different scenarios 👍

  • @JanBolhuis
    @JanBolhuis 4 года назад

    Great tip. Thank you.

  • @imm1653
    @imm1653 4 года назад

    Great tip! Thanks for sharing 🤗

    • @Computergaga
      @Computergaga  4 года назад

      You're very welcome, Immaculada.

  • @juanramon8652
    @juanramon8652 4 года назад

    Thanks Alan !! Great Tip

  • @darrylmorgan
    @darrylmorgan 4 года назад

    Really Enjoyed These Neat Tips...Great Stuff Thank You Alan :)

  • @florincopaci6821
    @florincopaci6821 4 года назад

    Hello,
    What can i say,thank you.I did not no this trick.You are good.
    Thank you

    • @Computergaga
      @Computergaga  4 года назад

      You're welcome. Thank you Florin.

  • @memofromessex
    @memofromessex 4 года назад

    INDEX-MATCH for the win!

  • @kiasca3489
    @kiasca3489 4 года назад

    great trick !!!!

  • @anup6793
    @anup6793 2 года назад

    Here the Table array of v lookup is from the very 1st column, so y the Column function worked.
    But if the table array doesn't start from the very 1st column, then column function is not working ,rather *columns* function is working.

  • @chrismoule7242
    @chrismoule7242 4 года назад

    Love the column() trick - but that will ONLY work as long as the referenced "range formatted as a table" starts in column A. If it starts in column B, it will return one column to the right of the desired one, and if it starts in column C, it will return two columns to the right of the desired one. That is why I prefer to use columns() instead.

    • @Computergaga
      @Computergaga  4 года назад

      Yes, this is true. It is the column of the sheet. To counter this and still enable column selection, you could minus the number of preceding columns. So if the table start in C then minus 2.

    • @chrismoule7242
      @chrismoule7242 4 года назад

      @@Computergaga Absolutely right, and this will always work - as long as you (or whoever you are writing the workbook for) - don't then unwittingly change the table's position or insert a column. Ideally the formula would be dynamic/portable to avoid such an issue, in which case creating a formula to return the correct value becomes more complicated. COLUMNS can easily be made absolutely portable if, when entering the range argument, you click & drag to highlight from the first table column to the column you need - or, exactly as in your 2nd example, you can use a range name, which is always dynamic & is vital to your point - rather than entering a hard number.

  • @gamlielu
    @gamlielu Год назад

    Thank you, can you show the return Col # from the same SHEET? the same sheet has two tables for example =vlookup( F2,H2:W10, "I need to return the col N in table2")

    • @Computergaga
      @Computergaga  Год назад

      Sure, you would select the table2 in the table array (second argument) of VLOOKUP.

  • @finldavi
    @finldavi 4 года назад

    Proper awesome

  • @tiff653
    @tiff653 4 года назад

    Sir! Not all heroes wear capes!

  • @ardenzhuo9351
    @ardenzhuo9351 3 года назад

    for the second example, why is wk8's figures automatically grabbed? i.e. instead of wk5's etc-- is that the norm for COL function?

    • @Computergaga
      @Computergaga  3 года назад

      The COLUMNS function returns the number of columns in a given range. So when WK8 is added, it fetched the last column.

  • @MrDhunpagla
    @MrDhunpagla 4 года назад

    Damn useful ......Thanks B🙏

  • @user-uv7yg1fk7x
    @user-uv7yg1fk7x 3 года назад

    =VLOOKUP(F2,Products

  • @nadermounir8228
    @nadermounir8228 4 года назад

    Great tutorial. Amazing trick. For some reason my excel table nomenclature doesn't update automatically. It sometimes does and sometimes not. Very bizarre. Have u ever encountered this before?

    • @Computergaga
      @Computergaga  4 года назад

      Thank you, Nader. Is this when you select the column? You need to be careful to select the table column and not the sheet column. The arrow looks the same which makes it unclear.

    • @nadermounir8228
      @nadermounir8228 4 года назад

      @@Computergaga when I add a new row of data in the table, the other table that the formula doesn't get updated with the new data. I am sure the ranges are selected correctly as I could see the names of the sheet and coliumn names in the formula

  • @ubaidillahmuhammad20
    @ubaidillahmuhammad20 4 года назад

    nice job. please given the file in the description

    • @Computergaga
      @Computergaga  4 года назад

      Thank you, Ubaidillah. The file link is in the video description.

  • @MrDhunpagla
    @MrDhunpagla 4 года назад

    What we would do if category placed at column F instead of B 🤔🤔🤔

    • @Computergaga
      @Computergaga  4 года назад

      You can use the same technique and select column F.

  • @azmf80
    @azmf80 3 года назад

    Greet

  • @alvaroconsuegra
    @alvaroconsuegra 4 года назад

    Hi, for some reason, the download link returns me an empty file named vlookup-trick.xlsx (0 bytes length). Aniway, i use to use the match aproach. Thanks

    • @Computergaga
      @Computergaga  4 года назад

      Hi, it should all be working now Alvaro.

  • @tottochan249
    @tottochan249 Год назад

    Can you apply it to hlookup?

    • @Computergaga
      @Computergaga  Год назад

      Yes absolutely, but use ROW or ROWS instead

  • @pacoramirez7363
    @pacoramirez7363 4 года назад

    Excel XLOOKUP Trick - No More VLOOKUP (or HLOOKUP or INDEX/MATCH}

    • @Computergaga
      @Computergaga  4 года назад

      I love them all. I have no favourites 🤣

  • @johannes1464
    @johannes1464 4 года назад

    The excel download file seems to be corrupted or smthing

  • @charliedelacruz7537
    @charliedelacruz7537 4 года назад

    Just use xlookup Alan 😆

    • @Computergaga
      @Computergaga  4 года назад

      Never Charlie 🤣

    • @charliedelacruz7537
      @charliedelacruz7537 4 года назад

      Hahaha! Thanks for your videos Alan. Definitely helped me at work.

    • @Computergaga
      @Computergaga  4 года назад

      You're welcome. That is great to hear Charlie.

  • @usmaniqbal1836
    @usmaniqbal1836 4 года назад

    Sr, I am sorry if I hurt you

    • @Computergaga
      @Computergaga  4 года назад

      I'm not hurt Usman. The dowloadable file is working fine now 👍

    • @usmaniqbal1836
      @usmaniqbal1836 4 года назад

      @@Computergaga Thanks Sr, My pleasure. File is working now

  • @priyankshah4786
    @priyankshah4786 4 года назад

    Vlookup is dead.. Try xlookup instead..

    • @Computergaga
      @Computergaga  4 года назад

      Not yet my friend. VLOOKUP exists in millions of spreadsheets and XLOOKUP is Excel 365 only. Give it time.