+ Reply to Thread
Results 1 to 3 of 3

Indexing multiple columns to return a result from a separate column

  1. #1
    Forum Contributor
    Join Date
    07-22-2008
    Location
    canada
    Posts
    123

    Indexing multiple columns to return a result from a separate column

    Please help me with this one:

    Sheet2:
    col A = contains the style#
    col B = contains the color of the style
    col C = contains the size of the style
    col D = contains the qty of the style,color, size

    Sheet1:

    I would like to do the following:

    A1 = input the style #
    B1 = input the color of that style
    C1 = input the size of that style

    then D1 should automatically contain the qty of the mentioned style, color, and size.

    Please help. Thank you.
    Last edited by janjan_376; 10-23-2009 at 03:17 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index

    Try

    =Sumproduct(--(Sheet2!A1:A100=A1),--(Sheet2!B1:B100=B1),--(Sheet2!C1:C100=C1),D1:D100)

    adjust ranges/references to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    07-22-2008
    Location
    canada
    Posts
    123

    Re: Index

    Thank you for your help. It worked perfectly with just a minor adjustment:
    Please Login or Register  to view this content.

+ 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