+ Reply to Thread
Results 1 to 9 of 9

vlookup for multiple unique values?

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    Bronx, NY
    MS-Off Ver
    Excel 2011
    Posts
    19

    vlookup for multiple unique values?

    Hello all,

    i'm wondering if there is a formula that can be created for the below that will show the unqiue number of carton per each product # & size code. for example see below. I would like a formula to read off the chart to fill in shipping carton #1 & #2. i filled carton in this example but i would like a formula to generate this from a list. would this be possible?

    also note there will be multiple product #'s, size codes and shipping cartons.

    I was using the formula below but it will include all cartons including duplicates. please excuse the data ranges.

    =INDEX('MV Inv'!$T$4:$T$65536, SMALL(IF(D$3&K$3&N$3='MV Inv'!$B$4:$B$65536, ROW('MV Inv'!$B$4:$B$65536)-ROW('MV Inv'!C4)+1), ROW(1:1)))

    Thank you excel community.

    Steven

    Product # Size code Shipping carton Shipping Carton #1 Shipping Carton #2
    100100 10 A100 A100 A200
    100100 10 A100
    100100 10 A100
    100100 10 A100
    100100 10 A100
    100100 10 A200
    100100 10 A200
    100100 10 A200
    100100 10 A200
    100100 10 A200
    Last edited by fusion5151; 06-06-2014 at 03:16 PM.

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: vlookup for multiple unique values?

    I think so. If you post a workbook with some sample data it will be much easier to help you.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    03-26-2012
    Location
    Bronx, NY
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: vlookup for multiple unique values?

    example product #.xlsx

    also for the sake of the example i filled in the shipping carton.

    of course i can. see attached and thanks for all the help guys!

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: vlookup for multiple unique values?

    Not sure, do you mean like the result in this Pivot Table?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-26-2012
    Location
    Bronx, NY
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: vlookup for multiple unique values?

    Hi Jacc,

    thanks for your response.i was looking to avoid a pivot table and be able to create a formula as i have created in the file. the reason is because the template will be uploaded to a oracle based system.

    i would just need the shipping carton listed out per each product#/size code without duplicates.

    thanks!

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: vlookup for multiple unique values?

    Maybe this shoul be works, please have take a look at the file attach

    Regards
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-26-2012
    Location
    Bronx, NY
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: vlookup for multiple unique values?

    Quote Originally Posted by azumi View Post
    Maybe this shoul be works, please have take a look at the file attach

    Regards
    thank you azumi. could it possible include size specific items as well. for instance product code 100100 could have 2 sizes with different shipping carton. ie below.

    Product code size cd shipping carton
    100100 10 A100
    100100 10 A200
    100100 20 A100
    100100 20 A200

    Thanks
    Steven

  8. #8
    Registered User
    Join Date
    03-26-2012
    Location
    Bronx, NY
    MS-Off Ver
    Excel 2011
    Posts
    19

    Re: vlookup for multiple unique values?

    i think technically i can add a column and just add product cd with size cd and lookup to that value with your formula and it should work..

    also, just another thought but if the shipping carton wasn't in increasing order the formula should still work?
    Last edited by fusion5151; 06-06-2014 at 05:27 PM.

  9. #9
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: vlookup for multiple unique values?

    Im givin you another example, they cant' be have same formula to return size code and shipping cartoon

    Cheers
    Attached Files Attached Files

+ 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: 2
    Last Post: 02-06-2013, 04:44 AM
  2. [SOLVED] VLOOKUP or something with multiple unique return values in a list?
    By girt0n in forum Excel General
    Replies: 1
    Last Post: 04-17-2012, 12:41 AM
  3. Using vlookup for non-unique first and last values
    By siddhu666 in forum Excel General
    Replies: 4
    Last Post: 11-28-2011, 03:11 AM
  4. Replies: 6
    Last Post: 06-14-2011, 07:18 AM
  5. Replies: 5
    Last Post: 04-21-2011, 05:22 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