+ Reply to Thread
Results 1 to 7 of 7

Finding and collating data

  1. #1
    Registered User
    Join Date
    04-22-2008
    Posts
    4

    Finding and collating data

    Hi
    At work we use a basic spreadsheet to record attendance of employees. Employee names are across the columns, two columns per employee to denote half shifts. Dates are on the rows with each date in row B. What I would like to do is link the data into a separate worksheet (I've done this bit), then look for all occurences of holidays, represented by the value 5, for each employee. Using this I want to create a table that shows the holiday dates that each employee has taken.

    Is it possible to do this, I've had a look at the VLOOKUP and HLOOKUP functions but I can't see how to make these do what I want.

    Thanks in advance

  2. #2
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Hi, and welcome to the forum,

    If you create a pivot table from your data, it will automatically display the information you want.
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

  3. #3
    Registered User
    Join Date
    04-22-2008
    Posts
    4
    Hi
    Thanks for the welcome and quick reply.
    I have tried to create a pivot table but all I can get is a count of the number of holidays taken, while this would be fairly useful I would rather be able to see all the holiday dates taken, if that's possible.

    Thanks

  4. #4
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    You can put "employee", and "Date" in the "row" section of the pivot. and count of Date in the "data" section.

    If you are having trouble with this, and its possible to attach the sheet, or a small sample of your data, please do do and iŽll explain it in more detail for you.

  5. #5
    Registered User
    Join Date
    04-22-2008
    Posts
    4
    Hi Portuga

    Thanks for the offer, I've attached a single sheet from the workbook, each shift is on a separate sheet and there also graphs etc on other sheets. I'm wondering if the poor formatting of the sheet is causing problems? Unfortunately I am unable to change this as the same spreadsheet is used throughout the company.

    Thanks in advance.
    Attached Files Attached Files

  6. #6
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    The format as it is is not helping the analysis.

    It would make a huge difference if your would have one row per date, per employee, and even adding a column called "shift" where all information regarding employees would be in a single sheet, working as a minidatabase, and then use Pivots and formulas to analyse your data.

    This said, you can use the Hlookup formula to give you what you want since you already have the totals by employee in the original sheet.

    (see attached)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-22-2008
    Posts
    4
    Hi Portuga

    Thanks for looking at the sheet. I can see what you have done but it isn't what I was looking for, I wanted the actual dates of each employees holidays to be shown. i.e.

    Employee 1 01/03/08 02/03/08 24/08/08...
    Employee 2 10/04/08 11/04/08 12/04/08... etc.

    Sorry, I should have explained it a little better in my original post.

    Thanks

+ 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