+ Reply to Thread
Results 1 to 5 of 5

Update Price List - Match Price & Barcode against another Sheet

  1. #1
    Registered User
    Join Date
    01-03-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    3

    Update Price List - Match Price & Barcode against another Sheet

    Hi Guys.

    We have a supplier that releases a new price list each month and they have 30,000 items, however we only have 4,000 in use.

    They release this data on a spreadsheet and I also have my stock list on a spreadsheet.

    There may be an easier way to do it but I was mucking around with VLOOKUP to try and say WHERE BARCODE = BARCODE FIND PRICE COLUM AND UPDATE.

    Because the supliers spreadsheet has 30,000 lines and is released everymonth I can't simply just sort by barcode as my 4,000 items dont match up.

    See below as an example. Essentially just trying to update 1 Colum where 2 x Barcodes matchup

    Capture.PNG

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Update Price List - Match Price & Barcode against another Sheet

    Welcome to the forum!

    You don't need the list sorted if the barcodes are unique; you just need to set the final variable in the VLOOKUP to FALSE (or 0) to force an exact lookup. So, in your My Stock - Price column (let's say this is C), try this:

    =VLOOKUP(B4,$F$4:$G$50,2,0)

    If you can't get it to work, attach the workbook here.
    Last edited by AliGW; 01-03-2018 at 02:39 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    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
    53,051

    Re: Update Price List - Match Price & Barcode against another Sheet

    Sorting "may" help speed up the lookup, but as Ali pointed out, it is not really necessary. If the vlookup is not working when you KNOW there is a match, test the 2 "matches: to see if they really are the same. Look for leading/trailing spaces, text/numeric entries, test with =exact(cell1, cell2)
    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

  4. #4
    Registered User
    Join Date
    01-03-2018
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    3

    Re: Update Price List - Match Price & Barcode against another Sheet

    Perfect! Thanks so much for your help that has done the trick!

    Cheers.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Update Price List - Match Price & Barcode against another Sheet

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 3
    Last Post: 09-12-2015, 10:42 AM
  2. Replies: 4
    Last Post: 09-12-2015, 04:34 AM
  3. Replies: 3
    Last Post: 01-03-2013, 12:32 AM
  4. Replies: 4
    Last Post: 08-15-2012, 09:49 AM
  5. IF Code help for price list. Price groupings cell allocation.
    By hotwoz in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-23-2010, 03:48 AM
  6. Question abuot creating a price quote from a long price list
    By glennchung in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-02-2009, 03:49 PM
  7. base price list compute on to another price list? on excel work sh
    By excel spread sheet in forum Excel General
    Replies: 0
    Last Post: 03-29-2006, 01:25 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