+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    12

    Formula to select data using Multiple Criteria

    In the attached vacation accrual spreadsheet,

    I created two tables: Exempt hours earned, and also, Non Exempt hours earned.
    I have all employees on one worksheet.

    The hours accrued (Vacation Level) are different for Exempt and Non Exempt.

    I need help on: What is the best formula to autofill the Vacation Level column (H):

    It needs to choose exempt or non exempt from column (C) then reference the # Years of Service column (F) to find the correct vacation days earned as defined in the two tables on the right, or those numbers could be used in the formula itself. . . I JUST DON'T KNOW!
    Nothing I am trying is working!

    Please help or create a formula! Use the spreadsheet to maybe make name ranges? nested IF statements, or LOOKUP, or even VLOOKUP??? Or something that works

    not to repeat, but. . . Nothing I am trying is working!

    Thank you in advance!

    - Daphne
    Attached Files Attached Files
    Last edited by Daphne; 02-12-2010 at 01:09 AM.

  2. #2
    Forum Guru
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    5,031

    Re: Formula to select data using Multiple Criteria

    Hi

    Highlight the range O5:P12, and give it the defined name exe. Highlight the range O16:P22, and give it the defined name non.

    You could then use the formula along the lines of
    =VLOOKUP(F12,INDIRECT(LEFT(C12,3)),2)
    HTH

    rylo

  3. #3
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula to select data using Multiple Criteria

    Thanks, I'm trying it now!

  4. #4
    Registered User
    Join Date
    02-01-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula to select data using Multiple Criteria

    RYLO!
    YOU ARE AMAZING!
    IT WORKED! I only had to add to the tables for every year, but that a no biggy!!!

    Thank you SO MUCH!

    - Daphne

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0