+ Reply to Thread
Results 1 to 11 of 11

Using Index Match for Salary Lookup based on Name Key, Position, Years of service

  1. #1
    Registered User
    Join Date
    10-26-2014
    Location
    Leavenworth, WA
    MS-Off Ver
    2010
    Posts
    82

    Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Hi;
    I have attached a mock up of what my workbook looks like. The real data is significantly larger.

    Tab 1 is the LEAP SCHEDULE. This is a table of salaries based on years of service and a degrees. The real spreadsheet Table has 38 rows of data that I have made into a table.
    Tab 2-This is my Contract tab which has the name key, person's name, cell for salary which is highlighted in yellow and has the Index match formula. The real spreadsheet has 163 rows of names.

    Initially, I copied and pasted the Position Late and Step into the Contract Tab that pulled the salary from the LEAP schedule using an Index Match Formula.
    However, my question is this:
    Could I use the name key on the contract tab to lookup the salary from the LEAP based on the position lane and years of service?
    This would save so much time. But I am not sure how to construct the new table.

    If I need to clarify, please let me know.

    Thank you,
    Julie
    Attached Files Attached Files
    Last edited by julesmctavish; 03-28-2017 at 01:32 PM. Reason: UPDATED PRACTICE SPREADSHEET

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    What don't you like about the INDEX MATCH MATCH formula? Doesn't that do exactly what you need?? If by the name key, you mean Johnson000 and so on... that doesn't exist in your leap tab: so it can't be used.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-26-2014
    Location
    Leavenworth, WA
    MS-Off Ver
    2010
    Posts
    82

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Hi Glenn;
    I do like the INDEX MATCH, but I need to build the name key into it.
    You are correct, it's not there in the LEAP because when I have tried to put the Name key in the LEAP, for some reason it doesn't work.
    That is what I am trying to figure out.
    How do I add the NAME KEY to the LEAP TABLE?
    Thanks!!

  4. #4
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    The data in Contract Tab and Leap Schedule tab are not matching.
    If the data is matching,it can be added

  5. #5
    Registered User
    Join Date
    10-26-2014
    Location
    Leavenworth, WA
    MS-Off Ver
    2010
    Posts
    82

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    I have updated my spreadsheet to show what I have done that seems not to be working.
    This is just a mock up of the original data.
    The Contract tab for the salary works great UNTIL I add the NAME key to the Leap Table.
    Does it matter that on the Leap Table when I add the name keys to column A that they span A3: to A165 while the salary table stops at row 38?

  6. #6
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Just now I saw that the years continue upto 35..

    Will be the Position lane and years of service combination be unique for all entries in the contract tab?
    Last edited by chullan88; 03-28-2017 at 01:26 PM.

  7. #7
    Registered User
    Join Date
    10-26-2014
    Location
    Leavenworth, WA
    MS-Off Ver
    2010
    Posts
    82

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Right, because this is a "picture" based off of an enormous spreadsheet.
    The years of service begins at 0 and actually goes through 35 years.
    So, in my actual spreadsheet there is a 25 year value, but the forum does not support my actual data, so I could only go to 5 years.
    The spreadsheet worked fine until I added column A to the Leap Schedule and now it doesn't work and I don't know why.
    I thought I could just add a MATCH to my original formula to look up the Name key. In my original data, it won't work.

  8. #8
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    I guess name key will not be a criteria to calculate the salary.
    In that case you can get away with a simple INDEX-MATCH formula.

    See attached file
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-26-2014
    Location
    Leavenworth, WA
    MS-Off Ver
    2010
    Posts
    82

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Thank you! I think that I built it as far as I could with the simple index formula that I had prior.
    I think that I was trying to figure out how simplify it even more and I can't do that.
    Thank you for your help!

  10. #10
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    I think restructuring the source as database model will make your work easier..

    Find attached file and the data model..

    In this structure, the data can be obtained using a simple database function DGET
    Attached Files Attached Files

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Using Index Match for Salary Lookup based on Name Key, Position, Years of service

    Quote Originally Posted by julesmctavish View Post
    Thank you! I think that I built it as far as I could with the simple index formula that I had prior.
    I think that I was trying to figure out how simplify it even more and I can't do that.
    Thank you for your help!
    Which of us were you talking to??

+ 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. Vacation Time Based on Years of Service and Position
    By MaryGemmer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-02-2017, 04:00 AM
  2. [SOLVED] Using index match to calculate years of service
    By julesmctavish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-21-2016, 06:29 PM
  3. Formula to calculate pay rate based on years of service
    By abrice in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2015, 10:46 PM
  4. [SOLVED] Calculate Totals Based on Age Restrictions & Years of Service
    By thenotoriousjeff in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 01:20 PM
  5. Replies: 3
    Last Post: 10-29-2013, 04:49 PM
  6. Help! Need to calculate bonuses based on years and salary.....
    By larasmomma in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2012, 05:57 PM
  7. [SOLVED] Return value based on years of service..UPDATED PART 2!
    By Coldshadow686 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2012, 07:49 AM

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