+ Reply to Thread
Results 1 to 9 of 9

using vlookup to collate data

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    31

    using vlookup to collate data

    Hi all,

    I have created an excel spreadsheet to track staff performance by day. I now need help to be able to collate the info at the end of the month. I presume using v lookup. see screenshoot of daily tracker. I now need a seperate tab collating all the info.

    example.JPG

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: using vlookup to collate data

    You're going to need to supply a lot more info on what you're actually looking for.

    Are you wanting to collate per person? are you after totals in a date range? overall? etc etc

    Please upload an example of your workbook with a collated tab showing the values you expect to see.
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    02-02-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    31

    Re: using vlookup to collate data

    each sheet shown in the screen grab will track results for a month by day. I then need a master sheet that then collates all the information by name broken down into each catagory. i.e total calls, total number of absent days etc

  4. #4
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: using vlookup to collate data

    Your screengrab doesn't give enough info on how the sheet is structured though, you definitely do not need VLOOKUP to do the collation, its either going to be use of SUMIF/COUNITF's or straightforward SUM() but like I say it all depends on how the workbook is structured.

  5. #5
    Registered User
    Join Date
    02-02-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    31

    Re: using vlookup to collate data

    I've attached my file. hopefully that will help? if the format needs to change that is ok.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: using vlookup to collate data

    On your totals sheet place the following in B2 and then copy across and down (so all cells (B2:I6) are included)

    Please Login or Register  to view this content.
    This will cover all of the fields that work as sum, the only one that doesn't SUM is the Absence column, you'll need to explain what you would expect as results ie if someone has 10 N's, 2 S's and 10 H's what is the expected result?

    In your example though it's not clear whether the Staff1 to Staff5 relates directly to the 5 names in the totals sheet, I've assumed they do for the purposes of this ie the first staff member on totals is the 1st on September and so on.

  7. #7
    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,929

    Re: using vlookup to collate data

    You have posted this in the Outlook forum, but it looks like it is an excel question. I will move it there for you
    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

  8. #8
    Registered User
    Join Date
    02-02-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    31

    Re: using vlookup to collate data

    pjwhitfield - thats fantastic. just what I needed... it doesn't quote work for the absence and late columns. How would I collate that? currently for absence i've got 3 options, N-in work, S-Sick, H-Holiday, would there be anyway to collate this? If needed i can reduce to something more simple? Or would it be easier to use your existing formula and use "0" for being in work and "1" for off sick or late etc?

    Hope that makes sense

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: using vlookup to collate data

    For the two columns marked Absence H and Absence S you could use the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    As for the column marked Late the only thing we are given is N which is assumed to mean in or on time. If you could let us know the other possible entries then we might be able to write a formula for Late also.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Collate similar data in one row
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 04-30-2016, 03:15 AM
  2. Collate data from different workbooks into one
    By Excelski in forum Excel General
    Replies: 0
    Last Post: 07-20-2015, 04:55 AM
  3. Help on Macro to collate data...
    By Ilikeideas in forum Excel Programming / VBA / Macros
    Replies: 45
    Last Post: 01-09-2013, 10:04 AM
  4. [SOLVED] VBA to collate data in Excel
    By jiminic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2012, 12:53 AM
  5. Macro to collate data
    By BennetEapen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2012, 10:08 AM
  6. Collate data
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2012, 09:39 PM
  7. Collate Data
    By Chatbot in forum Excel General
    Replies: 20
    Last Post: 09-08-2011, 07:05 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