+ Reply to Thread
Results 1 to 8 of 8

Not counting the total records for Aging for greater or less than 1 hour

  1. #1
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Not counting the total records for Aging for greater or less than 1 hour

    I am trying to count the Aging for >= or < hour. When I tried using pivot table is counting correctly but when use as formula is not working.
    Or is there any other formul to solve the greater or less than 1 hour?

    Please refer to attachment. The sample formula is at column AP.

    Regards
    Chitra
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Not counting the total records for Aging for greater or less than 1 hour

    Because 2 + 1 = 3? I'm not sure which records you believe should count and are not.

    The formula appears to evaluate correctly.

    First Forumula Half= True, True, False, False
    Second Formula Half= False, False, True, False

    The first three rows are counted, the fourth is not.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Not counting the total records for Aging for greater or less than 1 hour

    The first seems to be correct

    In the second you have used Resolaging2 instead of resolaging in both countifs

    Also an extra blank space an extra space that is not in the table

    =COUNTIFS(Table1[Workgroupsumm],$AP$10,Table1[ResolAging2],"<= 1 hour",Table1[Reported Date],"<="&$AP$8,Table1[Mth Cls],"Jun-15")+COUNTIFS(Table1[Workgroupsumm],$AP$10,Table1[ResolAging],"<= 1 hour",Table1[Reported Date],"<="&$AP$8,Table1[Mth Cls],"")

    REgards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  4. #4
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Not counting the total records for Aging for greater or less than 1 hour

    All the while I was using column "ResolAging" to count at heading "1 hour" but it did not work. Just to test the formula, I tested by adding ResolAging2 but that too did not work.

    If I choose 1 hour, it should count as 4 records and if I choose "<= 1 hour", should count as 1 record.

    Is there any other formula to solve this issue?

  5. #5
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Not counting the total records for Aging for greater or less than 1 hour

    Is there any other formula to solve this issue? Really need your suggestions and expertise. Spent so much time solving this issue...
    Last edited by suchetherrah; 06-04-2015 at 05:17 PM.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Not counting the total records for Aging for greater or less than 1 hour

    How are you calculating the aging?

    It seems that there would be a much more efficient formula, such as sumproduct.

  7. #7
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Not counting the total records for Aging for greater or less than 1 hour

    First formula is working because dates in column D contains time also but in AP8 time is 12:00
    So 31/5/15 is excluded. Use 1/6/15 instead
    See attached also

    Use this as second formula

    AS10:
    Please Login or Register  to view this content.
    It will calculate 1
    Regards
    Attached Files Attached Files
    Last edited by mahju; 06-04-2015 at 10:04 PM.

  8. #8
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: Not counting the total records for Aging for greater or less than 1 hour

    Sorry for the delay for not replying this thread due to unforeseen curcumstances.

    Thank you for your suggestion. daffodil11 did mention that to try sumproduct but I still couldn't get it right.

    Please advise. Thank you.

+ 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] Counting Total People Coming In Over 1 Hour Block
    By grunge in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-26-2013, 03:35 AM
  2. Hour(A1) if A1 is greater than 24?
    By Don Culp in forum Excel General
    Replies: 5
    Last Post: 04-08-2011, 03:56 PM
  3. Aging total calculation (Report)
    By rashim in forum Excel General
    Replies: 4
    Last Post: 12-14-2010, 02:17 AM
  4. Replies: 1
    Last Post: 08-10-2010, 02:13 AM
  5. Count aging records
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-25-2009, 10:14 AM

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