+ Reply to Thread
Results 1 to 3 of 3

Trying to figure out a vlookup with multiple arguments

  1. #1
    Registered User
    Join Date
    08-31-2020
    Location
    Arkansas
    MS-Off Ver
    2016
    Posts
    1

    Trying to figure out a vlookup with multiple arguments

    I have a spreadsheet that lists employees and when their reviews are due. Currently I have a vlookup validating a date based on what tier they are. For example, Tier one is due in Mar, Tier two is due in Apr, ect.

    That works perfect, but now I need to figure out a way to add 365 to that date based on a selection in another cell. For example, if they are a private contractor their reviews are every 2 years but everyone else is 1 year.

    Thank you for any help and I'm open to other suggestions.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Trying to figure out a vlookup with multiple arguments

    Try this in D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It uses EDATE to add a number of months to the lookup you're already doing, with an IF embedded to make it 12 months if col B is Contractor (J2) but 0 months if not.

    Note that this will add 12 months every year - there's no way I can see, with the data you have in the example sheet, to know when the last review was done and therefore to know if the contractor's review is due in one year or two. That would need the date of the last review to be somewhere in the sheet.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trying to figure out a vlookup with multiple arguments

    Can you just add this into your formula (after the VLOOKUP)
    + IF(B2="contractor", 365,0),"")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vlookup last column figure if the figure is a number
    By SiewLee_81 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2019, 04:23 AM
  2. [SOLVED] Multiple Arguments: Problem = Vlookup to show last review date
    By sstendahl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-21-2014, 08:09 PM
  3. Replies: 4
    Last Post: 02-03-2014, 08:05 AM
  4. Vlookup of 1 cell containing multiple search arguments
    By MSazza in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-22-2011, 09:40 AM
  5. If and Vlookup formula; too many arguments
    By Zheno in forum Excel General
    Replies: 7
    Last Post: 11-26-2009, 04:19 AM
  6. Multiple vlookup arguments
    By ichall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2005, 05:47 PM

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