+ Reply to Thread
Results 1 to 4 of 4

Vlookup on an other sheet

  1. #1
    Registered User
    Join Date
    01-11-2016
    Location
    Geneva
    MS-Off Ver
    2010 EN
    Posts
    24

    Vlookup on an other sheet

    Hello Forum,

    I am trying to apply a Vlookup function into two different worksheets of a unique workbook.
    I also need my code to be dynamic as number of rows is subject to change drastically.

    Despite many tries I am unable to run my macro without any compile error..
    My last try was by adapting a previous code extracted from a different macro, but as it is in R1C1 style I am not sure about what I am doing.

    Would you have any idea ?


    Sub Billing_v2()

    Please Login or Register  to view this content.
    Thanks!!
    Attached Files Attached Files
    Last edited by Quisemar; 01-13-2016 at 04:47 AM.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Vlookup on an other sheet

    Hello Quisemar,

    Maybe we should consider the Match Function instead of VLookUp?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Vlookup on an other sheet

    You didn't really explain what you are trying to accomplish in your sheet so I made a few assumptions. Any incorrect assumptions will need be corrected in the code by yourself.

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

  4. #4
    Registered User
    Join Date
    01-11-2016
    Location
    Geneva
    MS-Off Ver
    2010 EN
    Posts
    24

    Re: Vlookup on an other sheet

    Stnkynts, after adapting it, it works fine !
    Many thanks !!
    Last edited by Quisemar; 01-13-2016 at 04:47 AM.

+ 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. Replies: 18
    Last Post: 04-03-2015, 05:42 PM
  2. Replies: 2
    Last Post: 03-19-2014, 11:59 AM
  3. Replies: 6
    Last Post: 11-25-2013, 12:13 PM
  4. VLOOKUP table on one sheet that references every sheet in workbook
    By sportsman56 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 12:22 PM
  5. Create VLOOKUP or INDEX/MATCH to copy values from Sheet 2 to Sheet 1
    By leog1969 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-03-2013, 05:58 PM
  6. Replies: 7
    Last Post: 12-16-2012, 04:24 PM
  7. [SOLVED] how to multiple vlookup from input sheet to output sheet
    By nur2544 in forum Excel General
    Replies: 7
    Last Post: 11-21-2012, 01:48 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