+ Reply to Thread
Results 1 to 5 of 5

for a specific work date of an employees bring back rate that falls between 2 dates

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    LA, CA
    MS-Off Ver
    2010
    Posts
    7

    Question for a specific work date of an employees bring back rate that falls between 2 dates

    Picture1.jpg

    Hello - I am trying to compare two tables. Table 1 has multiple employees with work dates. Table 2 has the rates the employee had during a timeframe.
    Need to bring back the rate to table 1 if the work date fell between the dates in table 2 for that employee.
    Appreciate any help!

    Thanks!

    update - edit:
    looks like my pcture of tables did not post. here it is written out:

    TABLE 1

    PERSONNUM - Work Date
    103649934 - 11/9/2013
    103985360 - 2/27/2014
    103985360 - 3/6/2014
    103985360 - 10/8/2013
    103985360 - 2/19/2014
    103985360 - 10/3/2013

    TABLE 2

    PERSONNUM - Start -- End --- Hourly Rate
    103649934 - 7/8/2012 -- 10/14/2012 --- $14.26
    103649934 - 10/14/2012 -- 7/23/2013 --- $15.01
    103649934 - 7/23/2013 -- 5/12/2014 --- $15.31
    103649934 - 5/12/2014 -- 6/25/2014 --- $16.00
    103649934 - 6/25/2014 -- 7/6/2014 --- $16.48
    103649934 - 7/6/2014 -- 1/1/3000 --- $16.80
    103985360 - 7/8/2012 -- 10/14/2012 --- $14.26
    103985360 - 10/14/2012 -- 7/23/2013 --- $15.01
    103985360 - 7/23/2013 -- 5/11/2014 --- $15.31
    103985360 - 5/11/2014 -- 7/6/2014 --- $16.00
    103985360 - 7/6/2014 -- 1/1/3000 --- $16.80
    Last edited by jobsinger; 11-10-2014 at 09:00 PM.

  2. #2
    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
    52,938

    Re: for a specific work date of an employees bring back rate that falls between 2 dates

    Hi, welcome to the forum

    See if this will give you what you want?

    =SUMPRODUCT(($F$2:$F$12=A2)*($G$2:$G$12<=B2)*($H$2:$H$12>=B2),($I$2:$I$12))
    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

  3. #3
    Registered User
    Join Date
    11-10-2014
    Location
    LA, CA
    MS-Off Ver
    2010
    Posts
    7

    Thumbs up Re: for a specific work date of an employees bring back rate that falls between 2 dates

    YES! that worked perfectly. Thank you for your help!

  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
    52,938

    Re: for a specific work date of an employees bring back rate that falls between 2 dates

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

  5. #5
    Registered User
    Join Date
    11-10-2014
    Location
    LA, CA
    MS-Off Ver
    2010
    Posts
    7

    Re: for a specific work date of an employees bring back rate that falls between 2 dates

    yep got it! still trying to navigate around this, bein a newbie and all. thanks again!

+ 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. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  2. [SOLVED] Bring back date from last populated cell in range
    By tiger01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2013, 06:26 AM
  3. [SOLVED] IF Formula required to bring back specific answers
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2013, 09:43 AM
  4. Counting when a date falls between two specific dates
    By ant7629 in forum Excel General
    Replies: 2
    Last Post: 10-20-2012, 02:29 AM
  5. Bring back value based on date
    By mrggutz in forum Excel General
    Replies: 13
    Last Post: 11-02-2010, 09:14 AM

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