+ Reply to Thread
Results 1 to 6 of 6

If/vlookup question

  1. #1
    Registered User
    Join Date
    02-17-2012
    Location
    dallas
    MS-Off Ver
    Excel 2007
    Posts
    3

    If/vlookup question

    i am having a hard time trying to get this to work past e7 & e6. with the formulas i have, i can get the correct values returned for e7 & e6 but not for the rest. I was instructed to use "if" and "vlookup" for the yearly pay value. any help would be appreciated!

    PayRate.xlsx

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,036

    Re: If/vlookup question

    What you want to do?

    Maybe this:

    =INDEX($B$4:$F$10,MATCH(PAY_GRADE,$A$4:$A$10,0),MATCH(YRS_OF_SRVCE,$B$3:$F$3,0))
    Last edited by zbor; 02-17-2012 at 04:07 AM.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    02-17-2012
    Location
    dallas
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: If/vlookup question

    user input pay grade, years of service and i want it to display the annual total

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: If/vlookup question

    See attached file, I think this is what you need
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: If/vlookup question

    did you tried zabor's formula??
    that's the formula will do... just add *12 to the end if you want annual..

    @ zabor's formula

    ==INDEX($B$4:$F$10,MATCH(PAY_GRADE,$A$4:$A$10,0),MATCH(YRS_OF_SRVCE,$B$3:$F$3,0)) *12
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  6. #6
    Registered User
    Join Date
    02-17-2012
    Location
    dallas
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: If/vlookup question

    i was told to use IF and VLOOKUP to find the answer. i can get the first two(e7~6) but if i continue my code down to e5~1 i get wrong values. all the feedback so far gets me the right answers but i am trying to figure it out using IF & VLOOKUP.

+ 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