+ Reply to Thread
Results 1 to 2 of 2

Formula for Searching & matching two values in excel

Hybrid View

Guest Formula for Searching &... 01-07-2005, 10:06 AM
Guest Formula for Searching &... 01-07-2005, 01:06 PM
  1. #1
    Chris
    Guest

    Formula for Searching & matching two values in excel

    Hello I wonder if anyone can help with my problem....

    I need to create a lookup to match two values in one
    worksheet with two values in another sheet, returning a
    third value:

    So I have two worksheets in excel Projects and Orders.
    To match these sheets, the Orders page contains lots of
    duplicate "Order Codes" which are numbered between 1 & 20
    called "Line item". These Order line items each refer to a
    particular Project on the Projects sheet but can only be
    traced to a Project by searching the Projects sheet for
    Order number then Line item. So for instance Order 1234
    Line Item 1 refers to Project 1; Order 1234 Line Item 2
    may refer to a different Project i.e. 2.

    So I need to be able to create a formular on the Orders
    page to search the Projects sheet for "Order Code" to find
    all the orders, then find the matching "Line Item Number"
    (1-10) returning the particular PROJECT number.

    I have been trying to use vLookup and Index, but failing.

    Can anyone help?

    Thanks
    Chris


  2. #2
    maria ward
    Guest

    Formula for Searching & matching two values in excel

    Sounds Like you need to use SUMIF, instead of a lookup!



    >-----Original Message-----
    >Hello I wonder if anyone can help with my problem....
    >
    >I need to create a lookup to match two values in one
    >worksheet with two values in another sheet, returning a
    >third value:
    >
    >So I have two worksheets in excel Projects and Orders.
    >To match these sheets, the Orders page contains lots of
    >duplicate "Order Codes" which are numbered between 1 &

    20
    >called "Line item". These Order line items each refer to

    a
    >particular Project on the Projects sheet but can only be
    >traced to a Project by searching the Projects sheet for
    >Order number then Line item. So for instance Order 1234
    >Line Item 1 refers to Project 1; Order 1234 Line Item 2
    >may refer to a different Project i.e. 2.
    >
    >So I need to be able to create a formular on the Orders
    >page to search the Projects sheet for "Order Code" to

    find
    >all the orders, then find the matching "Line Item

    Number"
    >(1-10) returning the particular PROJECT number.
    >
    >I have been trying to use vLookup and Index, but

    failing.
    >
    >Can anyone help?
    >
    >Thanks
    >Chris
    >
    >.
    >


+ 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