+ Reply to Thread
Results 1 to 4 of 4

Help with VLOOKUP or a better method

  1. #1
    Registered User
    Join Date
    02-04-2011
    Location
    DE,USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Help with VLOOKUP or a better method

    I am very rusty and diving back into Excel a little. I have to update a price list and I think VLOOKUP function with get me there with multiple criteria but not sure. Can someone help steer me in the right direction?

    For ex: in the file attached the two criteria points will be matching the PLU number and the location/price group .....then updating the new price where need in the main list on the left.

    For example the first one: PLU 10408 at location/price group Seaford.....need to replace the current price on the left table with the the new price on the right table.

    I will be glad to donate to someone via paypal for any help or time will be greatly appreciated.

    Trying to avoid having to manually change 491 prices....ugh

    File attached
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Help with VLOOKUP or a better method

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    committed with Ctrl-Shift-Enter and copied down.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-04-2011
    Location
    DE,USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Help with VLOOKUP or a better method

    Im not having any luck with that...im reattaching the file where i pasted the formula in for PLU 10408 and its not returning anything....could u give me an example please?
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Help with VLOOKUP or a better method

    Do you really mean you're using Excel 2003? If so, you don't have IFERROR and I doubt you have SUMIFS or COUNTIFS.

    The much bigger problem you have is that A35 is 10408 and B35 is CROIS S/E/C. OTOH, J2 is 10408 and K2 is Sausage Egg & Cheese Croissan'wich. If you only need to match col A against col J, no big deal. However, that doesn't seem to be the case. Your columns B and K don't match.

    For that matter, cols A to D span rows 2 to 18145, but cols J to M span only rows 2 to 492. I added formulas.

    E2: =MATCH(A2,$J$2:$J$492,0)

    filled down into E3:E18145. Only 861 of those 18144 records have col A matches in col J. What should happen with the other 17,283 records? Delete them?

    If all you need to do is match col A and col C against col J and col L, then replace col B and col D values with corresponding values from col K and col M, and ignore records with no matches in cols J and L, I'd copy A1:D18145 to Q1:T18145, then

    P2: =MATCH(1,(Q2=$J$2:$J$492)*(S2=$L$2:$L$492),0)

    filled down into P3:P18145. These are array formulas. Type the P2 formula then hold down [Ctrl] and [Shift] keys before pressing [Enter].

    R2: =IF(COUNT($P2),INDEX(K$2:K$492,$P2),"DELETE ME")

    filled down into R3:R18145, then copy R2:R18145 and paste into T2:T18145. Select Q1:T18145, run Data > Filter > Filter. That should put drop-down arrows in Q1:T1. Click on the drop-down for R1, select DELETE ME. That should filter through only records in which cols Q and T show DELETE ME. Select P2:T18146, and press [Delete] to clear those cells. The filtered out records will be unaffected. Run Data > Filter > Filter again to remove the autofilter. Select P1:T18145, and sort of col Q in ascending order, and BE SURE TO CHECK THE BOX FOR HEADER ROW. That should produce records in P1:T491. Those would be the only records in common between the tables in cols A to D and J to M.
    Last edited by hrlngrv; 03-12-2020 at 07:56 PM. Reason: addendum

+ 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. [SOLVED] vlookup method
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2018, 03:30 PM
  2. [SOLVED] IF + VLOOKUP: easier method?
    By sugaswt17 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-27-2016, 03:17 PM
  3. [SOLVED] Alternative method to using sumif and vlookup
    By bkholy in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-28-2015, 09:42 AM
  4. Custom vlookup or dependent Naming method
    By ezoecisoc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2013, 04:28 AM
  5. Need help creating Vlookup formula for invoices ( or any other method)
    By BeanyBaby in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-15-2013, 11:43 PM
  6. vlookup or any other method...?
    By silverxx12 in forum Excel General
    Replies: 12
    Last Post: 06-17-2012, 10:31 AM
  7. Replacement method for 7+ IF statements? (tried VLOOKUP)
    By wenhao in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-31-2012, 10:04 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