+ Reply to Thread
Results 1 to 43 of 43

Need VLOOKUP to Find Matching Entries

  1. #1
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Question Need VLOOKUP to Find Matching Entries

    111.png

    My goal is to find all matching "Job Number" from one column (A) and "BO" and create one, consolidated list with the job numbers and their related values - Help please!

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

    Re: Need VLOOKUP to Find Matching Entries

    Welcome to the forum!

    You have Power Query in Office 365 - if you attach a workbook, I'll show you how to use it to create your summery table.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Thanks - see attached - The actual data will take values that are obviously different and find matches - these are just copies of the same columns but the formula should work I suppose - Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Well, it won't work on a different layout - how different are we talking about?

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

    Re: Need VLOOKUP to Find Matching Entries

    This sample won't do - the two lists are identical. Please supply something more realistic. Thanks.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Never mind - have a look at the attached and see if it will suit your purposes. If so, I'll talk you through it.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Realistically - My goal is to take 2 lists, both with different job numbers and A. Find all matching occurrences of the job numbers from the 2 lists and return a list of those matches with the corresponding PO Total Value

    I noticed, on the "blue" section, Job 7033055 has a PO value of 250; in the 3rd section, it appears again at 250. But in the middle column/section, I see that job number with a PO value of 750.

    I am obviously missing something?

  8. #8
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Unless your results found every instance of that job number (it may appear more than 1X) and added the totals from the 2 columns?

  9. #9
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Yes! It did add them! Awesome. Tell you what, when I get the full and REAL 2nd list, I'll attach it here for your magic Thanks!!!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    7033055 appears three times in the source table, each with 250 - this is summarised by one entry of 750, which is a sum of those three 250s.

    So you will have two tables side-by-side that will need summarising - is this the case?

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    OK - I will wait for the second file - be as quick as you can, as I want to sign off for the evening soon!

  12. #12
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Actually 3

    The first sheet will be a list of everything
    The second will be a list of job numbers and costs
    The third a list of Job numbers and costs...

    The end goal is to compile a "list" of...

    1. All matching job numbers from the 3 lists with values in the "site survey", Site audit", "design brand book" columns/cells and the resulting total PO amount

    2. All matching job numbers from the 3 lists with values in the "site survey", Site audit", "design brand book" and "sent" columns/cells and the resulting total PO amount

    Hope this isn't too confusing:

    Tier C = Site Survey, Site Audit, Design Brand Book
    Tier D = Site Survey, Site Audit, Design Brand Book, Sent

    I’m interested in learning the actual direct costs associated with the tiers C and D of the above. Use a list of all the job numbers in these categories, and reconcile the 2 data sheets and the job number list to tally these costs. Summarize your findings by stating “Total Direct Costs for non-invoiced SAL project work”.

    Once I receive all data, I can attach as one simple sheet

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Mmm. Sounds doable, but to be sure, I do need to see a realistic sample sheet.

  14. #14
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    ASAP I promise - Thanks SO much

  15. #15
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    So, from the list (peach fill) - Can you find all the job numbers that it contains that are also contained in the gray and blue sections in the aforementioned triers?

    So, all jobs that are in the peach section with values in columns J,K,L that are also in the gray and blue sections

    and...

    all jobs in the peach section with values in the J,K,L,M columns that are also in the gray and blue sections
    Attached Files Attached Files

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    I’ll have a look in the morning. Just about to turn in fir the night.

  17. #17
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Perfect - Thanks much

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    So - let's just clarify what you want. You want a list of all job numbers from the peach area that have data in J, K, L or M that also appear in tghe blue and grey areas and then what? How do you want the resulting table to look? Just summary values for those job numbers?
    Last edited by AliGW; 04-16-2019 at 02:30 AM.

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    OK - so I've made a stab at it. Have a look at the workbook attached and let me know. The SAB tab is your Tier C data and the SABS tab is the Tier D data. You can add totals lines to the tables on those tabs if you wish, of course.

    If this is what you want, I can talk you through how I did it.

    Just as an observation when thinking about thread titles in future: yours for this thread didn't even begin to convey what you were trying to achieve. In retrospect, it's far too simplistic and actually misleading. Something like this might have been better: "Creating Summary Data Table with Matching Criteria from Multiple Tables".
    Attached Files Attached Files
    Last edited by AliGW; 04-16-2019 at 02:53 AM.

  20. #20
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    wow - Looks awesome and thanks! Can you please let me know the formulas used to achieve?

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    There are no formulae. It's all done with PowerQuery. It isn't complicated, but it will require careful explanation. Is it OK if I write up the instructions and post them tomorrow morning?

  22. #22
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    You're the best - Just to clarify...

    Any job numbers from the 1st, blue area were matched against the job Numbers from the 2nd area, "gray" to come up with 2 lists that identified...

    1. SAB Values = Job numbers that appear in both gray and blue areas, with corresponding PO values, with entries in the Site Audit, Survey, and Brand Book columns/cells

    2. SABS Values = Job numbers that appear in both the gray and blue areas, with corresponding PO values, with entries in the site audit, survey, brand book, and Quote sent columns/cells

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Yes - in my terms:

    1. The blue and grey areas were loaded into PQ and summarised (unique numbers - summed values).
    2. The summary table was then merged with each of the filtered lists from the peach area (Tier C and Tier D) to provide a list of just those numbers that matched the peach lists.

    I suggest you check a few that you have manually calculated to ensure that the results are what you are expecting.

    Are you happy to get the instructions tomorrow? Time zones are getting in the way again!

  24. #24
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Perfectly happy and thanks again! I owe ya a pint!!!!

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    OK - I'll post the instructions first thing tomorrow my time.

  26. #26
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    One quick thing...I showed it to a colleague and he suggested that...

    I don’t think the tier breakdown is working right. There shouldn’t be any overlap between tiers, so tier C is for locations where all three (audit, survey, and drawings) happened, and Tier D is for locations where all 4 tasks were completed. Maybe an If/Then formula could help.

    Suggestions?

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    How can there not be an overlap? Easily fixed if you can specify with an example or two of what you actually mean.

  28. #28
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Sure - If my colleague is incorrect that's cool too - Believe me, it's likely my misunderstanding but that's what he just sent.

    Really, all I am looking for is: Tier C (all jobs that meet the 3 criteria with their corresponding PO values and Tier D - Jobs that meet the 4 criteria. Each job must meet all criteria in each tier, so, anything in tier D, that meets all 4 should not be in tier C, that only meets 3

  29. #29
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Tier C = survey, site audit, brand book (all conditions met)

    Tier D = survey, site audit, brand book, and quote sent (all conditions met)

  30. #30
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    No, sorry - I asked for specific examples.

    I fail to see how the two can be mutually exclusive - Tier D must be a subset of Tier C. You are going to need to be more specific in your explanation.

  31. #31
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    OK - I have just seen the preceding post. I can work round that.

  32. #32
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Tier C = ONLY jobs that meet the 3 criteria (Site Survey, Site Audit, Brand Book)

    Tier D = ONLY jobs that meet all the above + Cost analysis/quote sent

    Although a job, obviously, falls into the C tier if it is in the D tier by default, can we exclude these?

    So, if Job 12345 meets SSB
    and job 11111 meets SSBS

    12345 is ONLY in tier C and not D

  33. #33
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    I think I get it - I’ll sort this out before sending instructions. Basically the two tiers need to be mutually exclusive.

  34. #34
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    yes. please

    Tier C is ONLY Jobs that meet the 3 criteria and Tier D ONLY jobs that meet all 4 along with corresponding dollar values - there should be no duplicates between the 2 tiers

  35. #35
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    That’s clear now. Easy to tweak. I’ll post instructions in the morning.

  36. #36
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Awesome - and attached revised sheet? Pretty please?

  37. #37
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Of course!

  38. #38
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    As promised, all details attached. The instructions are too long to post directly to the thread, so I have put them into a Word document. I hope it all makes sense!

  39. #39
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Absolutely awesome and thanks again!

  40. #40
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    Ah - our time zones coincide again!!! LOL!

    I am really glad to have helped and I hope it all makes sense. Just shout if not. It's always a pleasure to open this particular Pandora's Box for someone else, as I was like a kid in a sweet shop (candy store) when I first started realising what PowerQuery can do. Enjoy!

  41. #41
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    Just 1 more item that could be included....

    I need a quantity by Tier (4 tiers now) - No associated costs and broken out by region as well. Can you please point to that outcome in your report? The end result would look something like:

    Pivot table - Choose Tier, Choose Region (Midwest, Southeast, Northeast, West); please exclude job numbers 707221 and 7027224

    Tier
    A. Site Audit only
    B. Site Audit & Drawings
    C. Site Audit, Site Survey, & Drawings
    D. Site Audit, Site Survey, Drawings, & Cost Analysis (price quote)

  42. #42
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Need VLOOKUP to Find Matching Entries

    You do understand that this isn't a service, don't you?

    I have given you very clear instructions about how to use PowerQuery to achieve the results you asked for. The idea now is that you go away and have a go at adding extra functionality yourself. Please do so. If you get unstuck, I'll be happy to advise and point you in the right direction, but I am afraid it's over to you now to have a go by yourself. You won't learn anything unless you do.

    I trust you did work through the tutorial I prepared for you? I hope so, as it took almost an hour of my free time this morning to make it detailed enough for you to be able to follow and hopefully adapt to your own purposes.

    By the way, I don't use pivot tables, so I can't help you with that, sorry.
    Last edited by AliGW; 04-17-2019 at 01:54 PM.

  43. #43
    Registered User
    Join Date
    04-15-2019
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    51

    Re: Need VLOOKUP to Find Matching Entries

    OK. 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. MATCH or VLOOKUP can not find matching cells
    By magnus.blomquist in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2015, 11:26 AM
  2. Replies: 2
    Last Post: 05-27-2014, 03:02 PM
  3. [SOLVED] Find the matching cell or row from VLOOKUP
    By LonesomeJoe in forum Excel General
    Replies: 3
    Last Post: 05-21-2014, 10:10 AM
  4. [SOLVED] Alternative of vlookup to find matching data
    By abraham30 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2013, 02:08 PM
  5. vlookup with conditions to find multiple entries
    By excelnerd1 in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 02-05-2009, 05:56 PM
  6. Find Matching entries
    By PhilH1982 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2007, 09:52 AM
  7. compare data in two lists to find matching entries
    By Chris(new user) in forum Excel General
    Replies: 1
    Last Post: 03-19-2005, 06:36 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