+ Reply to Thread
Results 1 to 8 of 8

Updating a Master List from a Partial List (VLOOKUP?)

  1. #1
    Registered User
    Join Date
    07-14-2016
    Location
    Illinois
    MS-Off Ver
    2010
    Posts
    5

    Updating a Master List from a Partial List (VLOOKUP?)

    I have a Master List of 30,000 Item #'s in one sheet. Each Item # has a corresponding Description, UPC, Price, etc. From time to time, I'll get a list of say 500 Items #'s where I need to update the Descriptions, UPC's and Prices. If I VLOOKUP the 2nd list into the Master, I'll get #N/A for the 29,500 not on the 2nd list.

    Is there a function or process that will allow me to only update the items found in the 2nd list?

    Currently, my workaround is creating a 2nd column for each category, performing a VLOOKUP, deleting out #N/A's, and manually copying and pasting each individual cell that contains a value. This can't be the best way, right!?

  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,946

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    Hi, welcome to the forum

    Try this...
    =IFERROR(your-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
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    Hi, and welcome to the forum.

    Can't you just wrap your VLOOKUP in an IFERROR function? i.e.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,320

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    or
    Please Login or Register  to view this content.
    Then you have updated data in new columns.
    Copy - paste special - values
    Then you can delete the org data
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Registered User
    Join Date
    07-14-2016
    Location
    Illinois
    MS-Off Ver
    2010
    Posts
    5

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    I think the IFERROR will work. So, that being said, will I have to create a new VLOOKUP column for each criteria (Description, UPC) I need to replace and then delete the original?

  6. #6
    Registered User
    Join Date
    07-14-2016
    Location
    Illinois
    MS-Off Ver
    2010
    Posts
    5

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    Thanks for the help, guys. Wrapping with IFERROR works perfect.

    There is one scenario I'm still struggling with though. In the Master file, I have a column that denotes if an item is discontinued. If it isn't discontinued, the cell is blank. So, how would I update the master list based on a partial list, but leave the cell blank (and not read "0") if the 'DISCONTINUED' value is not found on my partial list.

    This is the code I currently have, but as I mentioned, if there is no value in the "DISCONTINUED" column, it now returns it as "0":

    =IFERROR(VLOOKUP(A1,Sheet2!A:B,2,0),Sheet1!B1)

    Let me know if I'm not wording this clearly enough.

  7. #7
    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,946

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    If you want that shown "blank", then try this...
    =IFERROR(if(VLOOKUP(A1,Sheet2!A:B,2,0)=0,"",VLOOKUP(A1,Sheet2!A:B,2,0)),Sheet1!B1)

  8. #8
    Registered User
    Join Date
    07-14-2016
    Location
    Illinois
    MS-Off Ver
    2010
    Posts
    5

    Re: Updating a Master List from a Partial List (VLOOKUP?)

    Thanks FDibbins. I couldn't get it to work with that, but I switched the IF and IFERROR around a bit and got it to work like this:

    =IF(IFERROR(VLOOKUP(A1,Sheet2!A:B,2,0),Sheet1!B1)="DISC","DISC","")

    I'm still pretty fresh to Excel, but there's some great support on this forum. Thanks, all.
    Last edited by jplunkett1; 07-15-2016 at 11:30 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. Creating a updating master list from multiple tables
    By lovell88 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-01-2016, 08:51 PM
  2. Updating master list with raw list
    By Troubadour in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-21-2015, 11:27 AM
  3. [SOLVED] Formula to Create a Partial List from a Complete List
    By slindfors in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 02:44 PM
  4. Replies: 2
    Last Post: 07-17-2012, 01:18 PM
  5. Vlookup Help Master list
    By jsyowler in forum Excel General
    Replies: 1
    Last Post: 02-17-2012, 04:26 PM
  6. Updating Master Sheet that changes drop down list
    By eortega101 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-06-2010, 04:05 PM
  7. [SOLVED] Is it possible to setup a self-updating master list?
    By my brain hurts in forum Excel General
    Replies: 1
    Last Post: 07-29-2005, 02:17 PM

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