+ Reply to Thread
Results 1 to 5 of 5

Is there a way to put the vlookup formula without looping involve?

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Is there a way to put the vlookup formula without looping involve?

    Hi all expert out there,it is me again, actually I am having a hard time on how can my macro process will be a little bit faster regarding of putting up a vlookup formula without looping involve on vba code. Like I have 6000 data and I have to use vlookup to populate a column, but then when I am using a looping formula( While,do while,for) time of process takes too long and it effect that the user can't use other excel file to work on a other report. So, for example that I have a header on row 1 and on row 2 column B has already a vlookup formula, data will be on Column A,I will copy first the formula on b2, now how can I select the last value on Column A select empty cell on Column B and select it up until row 2 to paste the code? I think looping can take a lot of time to process for putting up a vlookup formula. Thanks. sorry if I you have trouble understand my problem
    Last edited by emina002; 03-27-2014 at 10:54 PM.

  2. #2
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Is there a way to put the vlookup formula without looping involve?

    Up on this thread

  3. #3
    Forum Contributor
    Join Date
    02-24-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    317

    Re: Is there a way to put the vlookup formula without looping involve?

    Sounds like you need this;
    Please Login or Register  to view this content.
    Replace this --> "=VLOOKUP(,,,,,,,,,,,,,)" with your lookup formula. Insert your formula BETWEEN the quote marks.

    Record your formula with the macro recorder, then copy the R1C1 style formula into the area I described.

    Give my sincere apologies to that poor excel user who will no longer be able to take a coffee break while the old looping code runs
    Last edited by Jim885; 03-25-2014 at 11:36 PM.
    If I helped in any way, please click the star

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,609

    Re: Is there a way to put the vlookup formula without looping involve?

    To attach a Workbook
    (please do not post pictures of worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  5. #5
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Is there a way to put the vlookup formula without looping involve?

    @ProntoLeah,I apologize if I don't attach workbooks,since my problem is how to select cells upward until 2nd row to paste formula.@Jim885, thanks for your answer, it works now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] formula involve with if and #n/a
    By DavidRoger in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-21-2013, 08:17 AM
  2. [SOLVED] Nested IF statements that involve #N/A errors from vlookups
    By CorporateBatteryHen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2013, 02:03 AM
  3. Replies: 2
    Last Post: 03-07-2013, 01:47 PM
  4. involve a third party application
    By hqradio in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-22-2011, 01:18 AM
  5. Replies: 5
    Last Post: 07-29-2009, 07:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1