+ Reply to Thread
Results 1 to 5 of 5

Count if formula for a duration of time

  1. #1
    Registered User
    Join Date
    11-28-2014
    Location
    india
    MS-Off Ver
    7
    Posts
    141

    Count if formula for a duration of time

    Hi All
    In the attached excel I just wanted to add Date wise calculation.
    In the table called “Weekly AVG” I have already set the formula which I want, Now I want to add the Date in the formula.
    Whatever the date I will put in the "Start date" and "End date" in the excel and the data should be reflecting for that same period of time only.

    I have tried the below formula in “U7”
    =SUMPRODUCT((C:C=T7)*(D:D="<>")*(DATE>=$V$2)*(DATE<=$AE$2))

    The above formula is not working this is not working.
    But in “U8” I have putted
    =IFERROR(COUNTIFS(C:C,T8,D:D,"<>"),"") ----- this is working without any date,

    If anyone can help me to get the data it will be a great help.

    Regards
    Arindam

    Attached File : - Countif formula.xlsx

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Count if formula for a duration of time

    Try this in U7 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    BSB

  3. #3
    Registered User
    Join Date
    11-28-2014
    Location
    india
    MS-Off Ver
    7
    Posts
    141

    Re: Count if formula for a duration of time

    Hi
    Thanks for your response,
    This is working for "U" line formula, but in V I have a different formula with "Average" it is not working over there.
    if you can help me with that, it will be grateful.

    Regards
    Arindam

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Count if formula for a duration of time

    In V7 and copied down and right as appropriate:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    BSB
    Last edited by BadlySpelledBuoy; 01-31-2019 at 05:18 AM.

  5. #5
    Registered User
    Join Date
    11-28-2014
    Location
    india
    MS-Off Ver
    7
    Posts
    141

    Re: Count if formula for a duration of time

    Hay this is working....cool...Thanks a lot for your support...

+ 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. Help. Time duration formula
    By Tommyc12345 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-29-2018, 05:25 AM
  2. time formats and time duration formula
    By kristinGersh in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-30-2018, 03:17 PM
  3. Problem with calculation in a time duration formula
    By hal87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-21-2015, 09:36 PM
  4. [SOLVED] Date and Time duration formula
    By tep1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 03:16 AM
  5. Help with time duration formula..
    By amper in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 12-28-2006, 11:46 AM
  6. Time Duration formula for presentations
    By oldtime in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-24-2005, 04:43 PM
  7. Time duration formula
    By Ska in forum Excel General
    Replies: 2
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

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