+ Reply to Thread
Results 1 to 2 of 2

Creating tables for =vlookup and =if

  1. #1
    Registered User
    Join Date
    04-04-2011
    Location
    Miami, FL
    MS-Off Ver
    Excel 2010
    Posts
    5

    Creating tables for =vlookup and =if

    I have to format a Microsoft Excel table using some assumptions and conditions.

    The following are

    • The number of paid vacation days that an employee is entitled to depends on their seniority and position as follows:
    Contract employees are not entitled to any paid vacation; they only get paid for days they work.
    Support Staff and Sales Staff are currently entitled to paid vacation days based on years of seniority as follows:
    <1 year: 0 days
    1 – 4 years: 10 days
    5 – 9 years: 12 days
    10 – 14 years: 15 days
    >14 years: 20 days

    Note: The only valid positions are Contract, Support Staff, and Sales Staff. If the position entered is not a valid position or is misspelled, the word Invalid should be displayed in the cell.

    It is like I have to set up two different tables and use the =if function, i know then use the =vlookup table but I am not sure how to set the table up. any help would be appreciated, thank you.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Creating tables for =vlookup and =if

    Hi soysoy05 and welcome to the forum,

    You need a simple VLookup without an exact match table and a if statement for the Contract. See the attached with formulas.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

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.6.0 RC 1