+ Reply to Thread
Results 1 to 4 of 4

how to set up a vlookup table with 2 search terms?

  1. #1
    WendyL
    Guest

    how to set up a vlookup table with 2 search terms?

    I am trying to set up a wages template for over 300 staffs, showing starting
    and finishing times, hours worked, staff ID etc. I want to use 'Staff ID' and
    'Date' as the search terms to help me calculate the hours work for staff. I
    am unable to loacte any info online. I can only see 2-D vlookup and that
    doesn't work because the date are in columns and not rows. Can anyone help
    me?

  2. #2
    Gary's Student
    Guest

    RE: how to set up a vlookup table with 2 search terms?

    Yes. How are you settingup your rows and columns?
    --
    Gary's Student


    "WendyL" wrote:

    > I am trying to set up a wages template for over 300 staffs, showing starting
    > and finishing times, hours worked, staff ID etc. I want to use 'Staff ID' and
    > 'Date' as the search terms to help me calculate the hours work for staff. I
    > am unable to loacte any info online. I can only see 2-D vlookup and that
    > doesn't work because the date are in columns and not rows. Can anyone help
    > me?


  3. #3
    David
    Guest

    RE: how to set up a vlookup table with 2 search terms?

    "WendyL" wrote:

    > I am trying to set up a wages template for over 300 staffs, showing starting
    > and finishing times, hours worked, staff ID etc. I want to use 'Staff ID' and
    > 'Date' as the search terms to help me calculate the hours work for staff. I
    > am unable to loacte any info online. I can only see 2-D vlookup and that
    > doesn't work because the date are in columns and not rows. Can anyone help
    > me?


    Sounds like AutoFilter is your best bet. If not then please try to explain
    the problem clearly.
    HTH

  4. #4
    Bob Phillips
    Guest

    Re: how to set up a vlookup table with 2 search terms?

    If you want to sum something, you can use

    =SUMPRODUCT(--(staff_id=123),--(date_range=--"2005-03-01"), amount_range)

    If you just want to get a value use

    =INDEX(amount_range,MATCH("123"&=--"2005-03-01",TEXT(staff_id,0)&date_range,
    0))

    as an array formula

    --
    HTH

    Bob Phillips

    "WendyL" <WendyL@discussions.microsoft.com> wrote in message
    news:CD7D040F-6B55-4F4A-AF00-DC714B1F58D9@microsoft.com...
    > I am trying to set up a wages template for over 300 staffs, showing

    starting
    > and finishing times, hours worked, staff ID etc. I want to use 'Staff ID'

    and
    > 'Date' as the search terms to help me calculate the hours work for staff.

    I
    > am unable to loacte any info online. I can only see 2-D vlookup and that
    > doesn't work because the date are in columns and not rows. Can anyone help
    > me?




+ 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