+ Reply to Thread
Results 1 to 15 of 15

list dates that correspond to employee ID numbers from a different sheet

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    list dates that correspond to employee ID numbers from a different sheet

    Hello,

    on sheet 1:
    column A, i have dates. (e.g. 15/08/2013)
    column B, i have employee ID numbers.

    the only employees i have are employees 31, 32, and 33.
    its common for a specific date and employee ID to be listed many times. (e.g. there are multiple 22/08/2013 and 32)

    so on sheet 2:
    column A, i have the employee IDs that i manually input. All 3 employees always work on each date. so column a will repeatedly be: 31,32,33

    i would like column B to be the dates the employees are matched with on sheet 1.
    so each employee will have the same date next to them.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: list dates that correspond to employee ID numbers from a different sheet

    Post an example, without confidential formation.

    Please also the desired (expected) result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    column b on sheet 2 is the desired result
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: list dates that correspond to employee ID numbers from a different sheet

    Why not remove duplicate on sheet 1?

    Excel 2007 => data => remove duplicate

  5. #5
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    i dont understand

  6. #6
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    sheet 1 needs to be as it is.
    it will always be random.

    i need a formula in column B on sheet 2

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: list dates that correspond to employee ID numbers from a different sheet

    The example of the solution in #4.

    See the attached file.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    appreciate your effort mate, but youre miles off.

    im looking for a formula for column B on sheet 2 which puts the date next to the employee ID numbers based on the data on sheet 1.
    im not exactly sure what youve done here.

    just looking for a simple formula...

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: list dates that correspond to employee ID numbers from a different sheet

    Please Login or Register  to view this content.
    The result is what you asked for, so I don't understand your comment.

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: list dates that correspond to employee ID numbers from a different sheet

    Other solution,

    with an pivot table.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    again, thanks for the attempt but all i want is a formula.
    i dont want any filters and i dont want a pivot table.

    surely theres a formula that easily matches the date to the employee based on sheet 1. thats all.

  12. #12
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: list dates that correspond to employee ID numbers from a different sheet

    Is this correct? On a date somewhere around 8/15 you enter 31 in cell A1, 32 in cell A2, etc. Then you want the corresponding formulas in Col B to pull the first date in the list in Sheet 1. Then the next time you go into the file, you enter 31, 32, 33 in the next available cells in Col A. The corresponding formulas in Col B will be the next date associated to them that is greater than the 8/15 the formula gave you last time. And so on... Is this what you're trying to do? If not, please explain how the employee numbers appear in the file each time and in what increment you want the dates - is it next largest, next smallest, next date in the same order it appears in sheet1, etc.

  13. #13
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: list dates that correspond to employee ID numbers from a different sheet

    Quote Originally Posted by NS4Excel View Post
    Is this correct? On a date somewhere around 8/15 you enter 31 in cell A1, 32 in cell A2, etc. Then you want the corresponding formulas in Col B to pull the first date in the list in Sheet 1. Then the next time you go into the file, you enter 31, 32, 33 in the next available cells in Col A. The corresponding formulas in Col B will be the next date associated to them that is greater than the 8/15 the formula gave you last time. And so on... Is this what you're trying to do? If not, please explain how the employee numbers appear in the file each time and in what increment you want the dates - is it next largest, next smallest, next date in the same order it appears in sheet1, etc.
    exactly that!!
    ill manually input the employee numbers repeatedly (31,32,33,31,32,33,31,32...) in column A whilst column B has a formula that will pick up each date inserted in sheet 1
    Last edited by tlacloche; 10-11-2013 at 08:07 PM.

  14. #14
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: list dates that correspond to employee ID numbers from a different sheet

    The solution is in the attachment. The formula is an array formula so be sure to use Ctrl+Shift+Enter when entering the formula.
    Nadine
    Attached Files Attached Files

  15. #15
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: list dates that correspond to employee ID numbers from a different sheet

    I'am not sure if this is exactly what you want but please take a look at the attached file.

    As you keep adding info on Sheet1, the formulas on Sheet2 will pick up and calculate the number of occurrences of 31, 32 and 33 for each day.
    Attached Files Attached Files
    Last edited by AlKey; 10-12-2013 at 12:48 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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: 10
    Last Post: 09-04-2013, 08:34 PM
  2. List of unique and duplicate names that correspond with dates
    By corbintx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2012, 01:24 PM
  3. [SOLVED] dates to correspond to pay period
    By KSI_Apps in forum Excel General
    Replies: 5
    Last Post: 09-14-2012, 03:31 PM
  4. Replies: 8
    Last Post: 02-28-2012, 01:51 AM
  5. Replies: 12
    Last Post: 04-24-2011, 05: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