+ Reply to Thread
Results 1 to 6 of 6

Counting the same schedule date, problem..

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Counting the same schedule date, problem..

    Hi guys looking for some help.

    I have a production schedule that I want to track schedule adherence and attainment.

    In Row E, we have a scheduled make date, the next cell down has an actual make date recorded by operators, this goes on for 100 lines, from e4, through e104, I want to know how many of these jobs were actually made on the scheduled date.

    I am having issues because some of the scheduled dates can be scheduled on the same day, so if there is no dates recorded by the operators my formula still counts the scheduled dates. hope this makes sense.

    I have attatched a sample of what i`m struggling with.


    TIA
    Last edited by tokyojo1; 01-15-2015 at 11:22 PM.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Counting the same schedule date, problem..

    try something like this

    =COUNTIFS($C$7:$C$28,"<>",$D$7:$D$28,D6)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Re: Counting the same schedule date, problem..

    Thanks Vlady, is there any chance that this could be made to work with the attached file in the 1st post, it should only be saying two match.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Counting the same schedule date, problem..

    try

    =COUNTIFS($B$5:$B$40,"Actuals",$E$5:$E$40,E6)

    and may i suggest that refrain from merging cells it can bring some troubles.

  5. #5
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Re: Counting the same schedule date, problem..

    Vlady Many thanks for the help, one more question, I have to copy this data form another sheet that in column E has a date and time format, the date function works great, operators only enter a date is there a way to tell the countifs function to ignore the time or to only look at the first two parts of the date.

    Copied data looks like 1/12/2015 21:00
    Can this countifs statement be made to look at only 1/12 and ignore the year and the time?

    Thanks you.
    Last edited by tokyojo1; 01-15-2015 at 12:46 PM.

  6. #6
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Counting the same schedule date, problem..

    you can use sumproduct something like the bellow

    =SUMPRODUCT((MONTH(B1:B100)=2)*(YEAR(B1:B100)=2011)*A1:A100) -> month and year
    the asterisk serves as an "AND"
    B1:B100 are the dates/time so it depends on what you like

    =SUMPRODUCT((Day(B1:B100)=5)*(MONTH(B1:B100)=2)*(YEAR(B1:B100)=2011)*A1:A100) day/month/year

    Note that you can have reference cell instead of typing 5 for days 2 for month say you have a specific date
    D1 = 2/2/2015 -> real date

    =SUMPRODUCT((MONTH(B1:B100)=month(D1))*(YEAR(B1:100)=year(D1))*A1:A100) get the month in D1 and year compare to the dates in B1:B100

    HTH

+ 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. Counting within an excel schedule
    By warpoet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-13-2014, 09:04 AM
  2. [SOLVED] Schedule Help - Hourly Counting
    By PirateBob in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2012, 08:37 AM
  3. Counting hours on a schedule
    By jrdwiz in forum Excel General
    Replies: 2
    Last Post: 03-21-2010, 06:34 PM
  4. [SOLVED] Date Counting problem
    By Sandy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-23-2006, 11:35 AM
  5. Counting cells in a schedule.
    By Metolius Dad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-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