+ Reply to Thread
Results 1 to 4 of 4

Need help to get Totals by month with criteria

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    40

    Need help to get Totals by month with criteria

    Hey there,

    What I am trying to do is get total for month by subject.
    On sheet one is the Data, On sheet 2 is name of person.
    Trying to get how many testing 1 and testing 2 by month and who it was.
    So C14 should show how many people in January were Testing 1 and C15 should show how many in January was Testing 2.
    It needs to check the name C1 to Data, if yes , check date if date is in January, check to see if testing 1 or testing 2 than insert # of people.

    Hope this helped explain what I am trying to accomplish, sorry if its hard to understand. I attached the document I am testing with.
    sample.xlsx

    Thanks for your time and help.

  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
    53,048

    Re: Need help to get Totals by month with criteria

    How is this thread significantly different from your last thread...
    http://www.excelforum.com/excel-form...e-problem.html
    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
    01-17-2012
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Need help to get Totals by month with criteria

    Well on this one I am trying to key off the word january to the # 1/1/2013 in a date. February to the date 2/1/2013 and so on. didnt know excel will see January and recognize it in the date format.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Need help to get Totals by month with criteria

    In C14

    =SUMPRODUCT((Data!$A$2:$A$6=$C$1)*(TEXT(Data!$C$2:$C$6,"mmmm")=$C$13)*(Data!$F$2:$F$6=D14))

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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] Totals by Month
    By bnwash in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-06-2013, 01:10 AM
  2. Excel 2007 : Running Month to Month totals for end of year
    By Josephb1976 in forum Excel General
    Replies: 0
    Last Post: 07-29-2011, 04:54 PM
  3. sum totals for each month
    By Deamo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2010, 03:45 AM
  4. vlookup for month totals
    By Nissi in forum Excel General
    Replies: 2
    Last Post: 04-11-2009, 08:10 PM
  5. how do i get totals by month?
    By jshoundog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2007, 05:51 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