+ Reply to Thread
Results 1 to 7 of 7

Count number of occurences per month per day Excel 2010

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Count number of occurences per month per day Excel 2010

    Hello all, I'm new to this forum and have a problem I need help with. I have data arranged in a worksheet (see attachment) that has hours of work broken down by day. What I need is a formula that will find the number of times a record occurred in Column F that is greater than or equal to 12 hours each day. So for March 1st there would be 9 times. I can do that now with no problem using "=COUNTIF(F4:F14,">=12")" However, the real thing that I need is how many days of each month were there only 1 count (of 12 hours or more). So it needs to look at the range of data that goes from 3/1/13 to 3/31/13 and find the total number of days that had 1 count (of 12 hours or more) each day and return the number of days it found. I sure hope I'm explaining this correctly. I'm only 90% sure I understand it myself. Any help would be greatly appreciated!!
    Attached Images Attached Images

  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,049

    Re: Count number of occurences per month per day Excel 2010

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)
    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
    03-31-2014
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Count number of occurences per month per day Excel 2010

    Oh...my apologies. Have do you upload a workbook? Just as an attachment?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Count number of occurences per month per day Excel 2010

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    03-31-2014
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Count number of occurences per month per day Excel 2010

    Ok, gotcha. Here's the workbook. So the first sheet is the raw data or rather a sample of it. The actual file has a years worth of months in it. The second sheet has the results I'm looking for. The formula would count how many OT shifts of greater than or equal to 12 hours occurred on each day of the month and then count how many days of each month had 1, 2, 3, and 4 or greater people on OT each day. I hope I've explained it clearly. If not, please let me know.
    Last edited by FDibbins; 04-07-2014 at 12:44 AM.

  6. #6
    Registered User
    Join Date
    03-31-2014
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Count number of occurences per month per day Excel 2010

    Anyone have any ideas?

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

    Re: Count number of occurences per month per day Excel 2010

    Sorry, I have deleted your attachment, it looks like it contains sensitive information (peoples names etc). It is never a good idea to post real data like that on a public forum

+ 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] count number of occurences per date per 30 minute block in excel 2003
    By Marlaine in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-08-2013, 08:04 PM
  2. [SOLVED] Count number of trips by occurences
    By Ucpaul in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-05-2013, 05:49 PM
  3. count the number of duplicates and print the number of occurences
    By ash81sen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2010, 01:21 PM
  4. Count the number of occurences of a value
    By therealjag in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2010, 06:25 AM
  5. countif number of occurences per month per year.
    By Pete Petersen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-04-2005, 12:06 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