+ Reply to Thread
Results 1 to 3 of 3

V-Lookup - Combined Lookup Values (2+)

  1. #1
    Registered User
    Join Date
    02-04-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    36

    V-Lookup - Combined Lookup Values (2+)

    Hey everyone,

    I'm trying to use a V-lookup that will combine 2 values as the lookup value instead of just one.

    I'm comparing 2 weeks worth of cheques we write out, and seeing which cheques were added between the 2 weeks by using a V-Lookup with the lookup value being an invoice number. This way, whatever invoice numbers do not appear on last week's payments, but do appear on this week's would be a new cheque added.

    My problem is, occasionally I'll have the same invoice number but for a different customer. I need to do a V-Lookup that uses both the invoice number AND customer name.

    See attached dummy file.

    In my dummy file, I would take this as the last 2 invoices were new cheques, however, the first invoice is also new, but is returning the data from another cheque completely due to the same invoice number. I want to make sure it only picks up the 1124 invoice from Walmart, regardless if the invoice number is the same for a different customer.

    Thanks!
    Attached Files Attached Files
    Last edited by Kolin; 07-22-2010 at 02:36 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: V-Lookup - Combined Lookup Values (2+)

    This is the method I would use to keep it simple. Create a key column in your data that merges your two values to create a searchable set of unique values. Then match to THAT column on your next sheet.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-04-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    36

    Re: V-Lookup - Combined Lookup Values (2+)

    Beautiful, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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