Results 1 to 4 of 4

VLOOKUP based on two cells

Threaded View

  1. #1
    Registered User
    Join Date
    08-26-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    VLOOKUP based on two cells

    Hi,

    I have a spreadsheet that looks like this: (bear in mind, the "|" is the edge of the column
    NAME       | COLOR | FABRIC | METRES | TOTAL METRES
    MAXI DRESS | RED   | COTTON | 1.5    | =SUM(VLOOKUP($A2,Quantities,27,0))*D2
    MAXI DRESS | BLUE  | COTTON | 1.5    | =SUM(VLOOKUP($A3,Quantities,27,0))*D3
    Then I have another sheet called Quantities which a similar structure..

    The VLOOKUP works, but if I have a duplicate name, like in the above table "MAXI DRESS" - the formulas get confused.

    How can I make my VLOOKUP take into account the NAME and the COLOR when it's looking up Quantities?
    Last edited by NBVC; 11-30-2009 at 03:39 PM.

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