+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP, Data Fetching & Updating in VBA

  1. #1
    Registered User
    Join Date
    08-24-2016
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    5

    VLOOKUP, Data Fetching & Updating in VBA

    Hi,

    Sample data file is attached. What I need is as follow:

    FIRST PART: (New Data)
    1. Lookup Pre Production Data's Product ID in Post Production Data
    2. Check all Parts IDs data, if any of the Part Code has changed
    3. If YES, insert "Upgraded" in Status column and if not changed than insert "Existing" ..... Continue...
    3. If YES than in New Data under that part ID change existing value to "Upgraded" otherwise "Existing"
    4. If Product ID is not found change part code to "Discontinue"


    SECOND PART: (bring Pre Prduction Data)
    Bring specific Part IDs data (as shown in sample file) from Pre Prdouction Data matching the Product ID from First Part.
    If its new product than all fields will have ----


    THIRD PART: (Bring Post Production Data)
    Bring shown Part IDs data from Post Prdouction Data matching the Product ID from First Part.
    If its Discontinue than all fields will have ---.



    FOURT PART: (The result data will have only NEW PRODUCTS)
    1. Lookup Product ID of post Prod data in Pre Prod Data
    2. If Exists, Ignore
    3. If doesn't Exist do Step 2-4 of FIRST PART and All steps of Second & Third Parts.

    NOTE:
    Pre Production Data (Product ID) has 2 set of situations: Existing & Discontinued
    Post Production Data (Product ID) has 2 set of situations: Existing & New Product
    So basically first macro will check Pre Production Data and Compare it with Post data for Existing & Discontinued
    After that it will have to run Product IDs from Post Prod data and check which ones are not present in Pre Prod data and that IDs will be brought as New Product.

    I'm stuck and tried some coding but didn't work. I would really appreciate any help I can get.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: VLOOKUP, Data Fetching & Updating in VBA

    dude, this is a programming project, not a question. You may want to engage some paid help, or start working on it yourself. Break down you project into much, much smaller steps and solve one step at a time. Ask a question if you get stuck in a step, and we'll try to help.

+ 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. Macro VLOOKUP needed - fetching data from part numbers
    By gotze in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-25-2013, 09:09 AM
  2. Data fetching
    By shivarajm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2012, 12:32 PM
  3. VLOOKUP isn't updating on data change
    By RichieSams2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2011, 09:54 PM
  4. VLookup Not Updating New Data in Table
    By Goldenwing81 in forum Excel General
    Replies: 5
    Last Post: 03-19-2008, 08:46 PM
  5. Fetching data from another Worksheet
    By Jhedge in forum Excel General
    Replies: 2
    Last Post: 01-17-2007, 12:47 AM
  6. Fetching data from another WS
    By Jhedge in forum Excel General
    Replies: 4
    Last Post: 01-17-2007, 12:45 AM
  7. Fetching data from another worksheet
    By c2k2 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-17-2006, 01:00 PM
  8. [SOLVED] Fetching data from other sheets
    By Palendromedary in forum Excel General
    Replies: 3
    Last Post: 12-21-2005, 10:25 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