+ Reply to Thread
Results 1 to 6 of 6

Creating summary data

  1. #1
    Registered User
    Join Date
    05-21-2008
    Location
    London
    MS-Off Ver
    2007
    Posts
    66

    Creating summary data

    I have an attendance sheet which I would like to use either a formular or VB to create a summary sheet based on the emloyee title & the number of employees with that title that came into work on that day.

    The attached sheet contains two tables, the top one is the data & the bottom one is the results I am looking for.

    Thanks

    Vetequk
    Attached Files Attached Files
    Last edited by Vetequk; 01-26-2011 at 01:29 PM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Creating summary data

    in C17:

    PHP Code: 
    =SUMPRODUCT(($B$3:$B$12=$B17)*($C$3:$C$12="Y")) 



  3. #3
    Registered User
    Join Date
    05-21-2008
    Location
    London
    MS-Off Ver
    2007
    Posts
    66

    Re: Creating summary data

    snb
    that works when the two tables are on the same worksheet, but when I try to change the refferences (B3:B12) & (C3:C12) which are on a different hidden sheet within the same workbook the result is n/a.

    any ideas how to resolve this?

    Thanks

    Vetequk

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Creating summary data

    PHP Code: 
    =SUMPRODUCT((Sheet1!$B$3:$B$14=$A2)*(Sheet1!$C$3:$C$14="Y")) 

  5. #5
    Registered User
    Join Date
    05-21-2008
    Location
    London
    MS-Off Ver
    2007
    Posts
    66

    Re: Creating summary data

    snb
    sorted

    Thanks

    Vetequk

  6. #6
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Creating summary data

    Here's another solution see attached. One of Column 1 Trainee has two counts FYI.
    Attached Files Attached Files

+ 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