+ Reply to Thread
Results 1 to 3 of 3

Lookup (multiple variables)

  1. #1
    stevenpwhite
    Guest

    Lookup (multiple variables)


    I have two worksheets. On one a name, date and amount (thousands of
    records). The other is a small sample containing just a name and date
    which i require to match to records in the first sheet and return the
    amount.

    The are many duplicates of the name with various dates, so i need name
    AND date to match for amount to be returned.

    Help! This is far beyond my puny Excell powers.


    --
    stevenpwhite

  2. #2
    Forum Contributor
    Join Date
    11-29-2005
    Posts
    142
    Insert a column before your lookup table and concatenate the name and date columns. ie. =X1&Y1, assuming your table, after the new column begins in X1.

    Then use a vlookup formula with concatenated string.

    e.g. =vlookup(A1&B1,$W$1:$Y$100,3,0), Where A1 contains the name to lookup and B1 contains the corresponding date to lookup, W1:Y100 is the lookup table with column W containing the concatenated Name&Date columns. Change references and ranges to match your situation. Then copy down the formulas.

    You can always hide column W.

  3. #3
    stevenpwhite
    Guest

    Re: Lookup (multiple variables)


    Top Drawer.

    Cheers

    Vito Wrote:
    > Insert a column before your lookup table and concatenate the name and
    > date columns. ie. =X1&Y1, assuming your table, after the new column
    > begins in X1.
    >
    > Then use a vlookup formula with concatenated string.
    >
    > e.g. =vlookup(A1&B1,$W$1:$Y$100,3,0), Where A1 contains the name to
    > lookup and B1 contains the corresponding date to lookup, W1:Y100 is
    > the lookup table with column W containing the concatenated Name&Date
    > columns. Change references and ranges to match your situation. Then
    > copy down the formulas.
    >
    > You can always hide column W.
    >
    >
    > --
    > Vito
    > ------------------------------------------------------------------------
    > Vito's Profile:
    > http://www.excelforum.com/member.php...o&userid=29182
    > View this thread:
    > http://www.excelforum.com/showthread...hreadid=493887



    --
    stevenpwhite

+ 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