+ Reply to Thread
Results 1 to 5 of 5

Vlookup to update the same row value

  1. #1
    Registered User
    Join Date
    12-26-2016
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    31

    Vlookup to update the same row value

    I have a vlookup code that will update the text "UG" in a destination column if the result matches with the source sheet.

    Example :The code compares "Sheet B" with "Sheet A" and if a match is found in "Sheet A" , it updates the text "UG" in a column in sheet A.

    I want to make a small modification here.

    Instead of updating the text "UG" in sheet A, I want to update the value that is there in the "Sheet B" in col B .


    Please Login or Register  to view this content.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup to update the same row value

    Why not just use a regular vlookup?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-26-2016
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    31

    Re: Vlookup to update the same row value

    I just started learning VBA and fond this code in google in a forum and I modified it as per my need. So I'm not sure how to do it in vlookup using VBA. Can you pl assist?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup to update the same row value

    sorry, my VBA is really weak

  5. #5
    Registered User
    Join Date
    12-26-2016
    Location
    Dubai
    MS-Off Ver
    2013
    Posts
    31

    Re: Vlookup to update the same row value

    Oh okay . . looking forward to get some help from here

+ 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. automatic update/vlookup
    By radekrat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2015, 02:09 PM
  2. [SOLVED] VLookup Question - If i update the lookup table i do not want to update old data
    By mrabattoir in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2014, 03:40 AM
  3. two books update each other with vlookup vba
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2014, 06:11 AM
  4. Vlookup keep data after update to db
    By Carneyxii in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2012, 07:44 AM
  5. Using Vlookup to update a string
    By synkarius in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-06-2010, 04:58 AM
  6. Using Vlookup to update records
    By MartinjLane in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2009, 12:45 PM
  7. Update Vlookup lookup_value
    By Phil Floyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2005, 12:06 AM

Tags for this Thread

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