+ Reply to Thread
Results 1 to 4 of 4

formula to adjust a rate based on lookup of dept.

  1. #1
    Forum Contributor
    Join Date
    05-12-2021
    Location
    USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    259

    formula to adjust a rate based on lookup of dept.

    Hello, I am looking for a formula that will tell me a person's base rate of pay and subtract any differentials received. Tab 1 contains the person's employee number, name, dept code they work in, and the job type. Job type is mostly irrelevant with the exception of any job type that has "FR" in it. The differentials received are based mostly on a person's department with the exception of any job that contains "FR". In the sample file on Tab 2, the formula I am looking for would go in cell F1. F2 has their rate. I just typed in a rate here in the sample, but in the actual sheet it is a formula that looks up their true rate of pay after all differentials are received. Cell range G1 thru H14 have the pertinent info as far as which departments get differentials if any. Here is where FR comes into play - if anyone has "FR" in their job type, they get an extra $.15 added onto whatever differentials they are receiving from that department. Any other job type does not get anything extra

    So I want the formula in F1 to take the rate that is in F2 and subtract it by any differentials coming from their department, and job type if applicable.

    So for a couple examples:
    *Smith, John 3 is in a department that gives a $.10 differential. His rate in F1 should be $24.90
    *Smith, John 6 is in a department that gives a $.30 differential. He is also in a job type that has "FR" in it so he gets an extra $.15. His rate in F1 should be $24.55

    I thought maybe an index match formula would be used for this but wasn't really able to come up with the syntax for it since it is really a multiple criteria lookup so maybe it wouldn't be an index match?

    Can this be done based on the info that is in the sheet?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: formula to adjust a rate based on lookup of dept.

    Adj_Rate ='Tab 2'!$F$2
    Emp_No ='Tab 2'!$B$1
    -------------------------------------
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: formula to adjust a rate based on lookup of dept.

    Hi PitchNinja:

    Try this in F2

    Please Login or Register  to view this content.
    Let us know if this effort is solved.

    Pete

  4. #4
    Forum Contributor
    Join Date
    05-12-2021
    Location
    USA
    MS-Off Ver
    Microsoft Office 365
    Posts
    259

    Re: formula to adjust a rate based on lookup of dept.

    Thank you both. I ended up using the first one because I had seen it first. I have tested it in my actual sheet and it will absolutely work for what I need it to do. Thank you so much - gave you both reps for your help!
    Last edited by PitchNinja; 01-21-2022 at 09:04 AM.

+ 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. Replies: 1
    Last Post: 04-28-2020, 02:39 AM
  2. [SOLVED] Need data from one Excel Sheet separated by 'Dept' and saved as new files with 'Dept' name
    By HospitalAccountant in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 12-06-2018, 12:10 PM
  3. Adjust growth rate based on rank or count
    By WitchRolina in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-20-2018, 10:41 AM
  4. [SOLVED] Lookup Fee Based on Supplier and Rate Charged
    By The_Snook in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-20-2016, 06:44 PM
  5. [SOLVED] Rate Lookup Based On Multiple References
    By M@N in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2013, 09:18 AM
  6. V lookup to adjust discont based on 2 cell values
    By djpulley in forum Excel General
    Replies: 1
    Last Post: 10-30-2012, 02:38 PM
  7. Find name in list and get dept # enter dept # on work sheet
    By Jamba in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2006, 06:45 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