How to perform Vlookup from Closed Workbook

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • How to perform a Vlookup from a closed workbook in Excel using VBA. More details including VBA code available at this link: www.exceltrain...

КОМЕНТАРІ • 38

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

    Thank you very much. This got me.past a sticking point in my usage. Much appreciated!

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

    Excellent procedure. Thank you!

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

    I did exactly the same. It does not work. The error message is "Autofill method of range class failed". Have you tested your code?

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

    what is i do not want a range, i want to look up the whole sheet in the other spreadsheet. The range is dynamic?

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

    cool! But can you do this with VBA formulas? In this example, you create a formula into a cell. But can I use VBA only to get a result into some cell?

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

      This VBA tutorial in MS Excel will guide: www.exceltrainingvideos.com/using-vlookup-with-indirect-function-in-vba/

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

      ​@@Exceltrainingvideos thank you. But this is not VBA, this is VBA creating a formula into a cell. I mean is there a way to use only VBA to put a value into a cell in this workbook. The value is found in a closed workbook with a specific search option, maybe like match.

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

      @@ValmisFilm These VBA tutorials will guide: www.exceltrainingvideos.com/get-value-from-closed-workbook-with-vba/
      www.exceltrainingvideos.com/how-to-perform-vlookup-from-closed-workbook/

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

      @@Exceltrainingvideos Thank you. But that also is VBA to create a formula into a cell. I mean is there no way to use VBA only to extract data from a closed workbook? At this point yes, I am doing the same thing, I am adding formulas to cells to get data from closed workbooks. Which feels kind of a stupid thing to do... but there seems to be no other way.

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

    Hi Sir, how do I have a dynamic range instead?

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

    thanks for your info but there is no table so its works. if there is some tables how it works?

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

      Here is an example to guide: www.exceltrainingvideos.com/inventory-management-using-tables-in-single-excel-sheet/

  • @Amit_the_Analyst
    @Amit_the_Analyst 6 років тому

    Useful sir.. Thanks.

  • @9497289531
    @9497289531 6 років тому

    Thank you sir
    useful videos
    I request vba code how to find multiple lookup of the same case

    • @Exceltrainingvideos
      @Exceltrainingvideos  6 років тому

      This link will help: www.exceltrainingvideos.com/how-to-use-vlookup-to-get-multiple-values/
      Or search www.exceltrainingvideos.com

    • @9497289531
      @9497289531 6 років тому

      Thanks

  • @TheSawantsKitchen
    @TheSawantsKitchen 6 років тому

    Hi Sir,
    I've posted one question few months back. I haven't got a resolution yet. It would be great help if you could help me on that.
    I wanted to take screen shot of a userform before submitting the data and paste it on outlook 2016 mail body.
    Thanks in advance.

  • @zxcvbnmmasdfghjkl
    @zxcvbnmmasdfghjkl 5 років тому

    How can I do a dynamic countifs or sumifs from closed workbooks?

  • @AsifIqbal-lz8jv
    @AsifIqbal-lz8jv 4 роки тому

    Sir, I want to use this method for invoicing to get description and prices for items from closed workbook but I am also getting N/A# for those items not included in my closed workbook. how to remove N/A# error here?

  • @anupdarade2305
    @anupdarade2305 5 років тому

    Great sir but I have one Question if I want to get multiple value from closed workbook of one value
    Ex.suppose A200 this value have many match in closed work book
    Such as A200 have two results like
    Mouse
    Keyboard

    • @Exceltrainingvideos
      @Exceltrainingvideos  5 років тому

      This link will help: www.exceltrainingvideos.com/how-to-get-multiple-values-from-closed-workbook-using-vba/

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

    what if it is excel macro in mac, how can I replace the "C:\"???

  • @Learner566
    @Learner566 5 років тому

    Sir how to perfrom this with dynemic workbook

    • @Exceltrainingvideos
      @Exceltrainingvideos  5 років тому

      Can you elaborate a bit more?

    • @Learner566
      @Learner566 5 років тому

      @@Exceltrainingvideos sir i refer for look up value "b3" . This cell value also name of the close workbook . I want when i change "b3" value then vlookup those workbook every time dynemicly . My closed workbook destination folder same . I use indirect function with vlookup but only work when file open.

  • @anthonyyeoboren8606
    @anthonyyeoboren8606 6 років тому

    hi, can you explain the R2C1 : R2C10 means?

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

      R2C1 = Row 2 Column 1 = Range("A2")
      R2C10= Row 2 Column 10 = Range("J2")
      R2C1:R2C10=Range("A2:J2")

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

    i GET ERROR WHEN I RUN THIS CODE

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

    ...............