+ Reply to Thread
Results 1 to 16 of 16

Count number of stoppage frequencies

  1. #1
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Count number of stoppage frequencies

    Dear experts,
    kindly help, for solving the problem,
    Counting no of stoppage frequencies in excel sheet.
    kindly check the attachment.

    regards.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Count number of stoppage frequencies

    Your request is not clear. You need to tell us what results you expect and how you manually calculate them.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    I want to know that,
    how many time my equipment stopped within the dates,
    In attached file, equipment stopped 8 time, i want the formula,
    thanks.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Count number of stoppage frequencies

    And how have you arrived at the value of 8?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Kindly check the attached file.

    regards.
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Count number of stoppage frequencies

    Please could you explain in words in your next post the logic behind your calculations and the significance of the cells highlighted in yellow? I am afraid it is still far from clear, to me, at least.

  7. #7
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Dear AliGW
    In yellow colour, Equipment stopped on 03/06/2016 at 13:30 hours and started next day 04/06/2016 at 13:20 (cell no. B6 and B7).

    on 03/06/2016 stopped for 10.50 hours
    on 04/06/2016 stopped for 13:20 hours
    this will count 1 stoppage because it was stopped continously 2 days (03/06/2016 to 04/06/2016).

    if it break the date or time, it will count 2 stoppages as shown in "Cell no. B4 and B5.

    Thanks

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Count number of stoppage frequencies

    Hi,

    You appear to be counting C13:D15 as one stoppage, however there is a gap between D14 & C15 so surely there are two stoppages and in total 9 rather than 8.

    Please clarify.

  9. #9
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Yes, Richard you are right, total 9 stoppages, not 8.
    regards,

  10. #10
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    124

    Re: Count number of stoppage frequencies

    May be this ?
    =SUMPRODUCT(--(B$4:B$15<>C$3:C$14))

  11. #11
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Dear Soledad / Experts
    Kindly apply this formula in the latest attached file.
    regards,
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Count number of stoppage frequencies

    This in E4 copied down (you will need to un-merge those cells first, though):

    =SUMPRODUCT(--(B$4:B4<>C$3:C3))

  13. #13
    Forum Contributor
    Join Date
    11-21-2013
    Location
    zimbabwe
    MS-Off Ver
    Excel 2003
    Posts
    124

    Re: Count number of stoppage frequencies

    Or this
    =IF(B4<>C3,SUMPRODUCT(--(B$4:B4<>C$3:C3)),"")

  14. #14
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Solved the problem.

    Thank you very much, all expert specially AliGW and Soledad.

    regards.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Count number of stoppage frequencies

    You're welcome, but it was Soledad's solution: all I did was tweak it to make it incremental.

  16. #16
    Registered User
    Join Date
    01-27-2016
    Location
    saudi arabia
    MS-Off Ver
    2010
    Posts
    27

    Re: Count number of stoppage frequencies

    Thanks to all friends.

+ 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] Repeat the number according to its frequencies
    By kuntalnr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-17-2013, 07:12 PM
  2. Challe:Trying to copy a range of costs over a number of years but at different frequencies
    By JamesGoulding85 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-31-2013, 02:28 PM
  3. Replies: 2
    Last Post: 05-31-2013, 12:52 PM
  4. Why doesn't this VBA code count the frequencies of each value?
    By seigna in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 04-15-2013, 06:42 PM
  5. Percentiles and frequencies
    By lldsandsll in forum Excel General
    Replies: 6
    Last Post: 07-12-2012, 11:11 AM
  6. Macro to count and filter frequencies
    By EAGLEBUCKS in forum Excel General
    Replies: 0
    Last Post: 07-29-2011, 08:04 AM
  7. Stoppage line on line chart
    By schnett in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-07-2007, 02:36 PM
  8. how to count the number of text frequencies and copy to other cell
    By DG in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-06-2005, 03:05 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