+ Reply to Thread
Results 1 to 8 of 8

time interval frequency

  1. #1
    Registered User
    Join Date
    02-07-2020
    Location
    NY
    MS-Off Ver
    2016
    Posts
    16

    Post time interval frequency

    Hello
    This is my first request for help. I have a sample data (day Collected Time of the day collected ), I would like to create a bin for each hour from time of day collected. For some reason I was not able to do using Solver. Can you please suggest me whats the wrong in my data.
    Thanks,
    Stan
    Attached Files Attached Files
    Last edited by mrnrao11; 02-07-2020 at 02:43 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,902

    Re: time interval frequency

    You have data type mixed in your [Time of the day collected].

    First clean it up by using =Value(F3) in G3 and copy down. Then copy the values over F column (as values only).

    Then in M4:
    =COUNTIFS($F$3:$F$133,">="&L4,$F$3:$F$133,"<"&MIN(1,L5))
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    02-07-2020
    Location
    NY
    MS-Off Ver
    2016
    Posts
    16

    Re: time interval frequency

    Many thanks, its very helpful, for some reason i was not able to change the time. Can you please let me know about =Value F3 means.

  4. #4
    Registered User
    Join Date
    02-07-2020
    Location
    NY
    MS-Off Ver
    2016
    Posts
    16

    Re: time interval frequency

    00:12
    00:19
    00:19
    01:09
    01:17
    01:22
    01:36
    01:43
    01:43
    02:21
    02:37
    03:11
    03:52
    03:52
    03:52
    04:35
    04:35
    04:52
    05:42
    05:42

    I am doing something not correct. I am highlighting all the cells, format cells, time, selecting 1:30:55 PM. After this selection there was no change in the time like AM and PM. Can you please let me know your thoughts or what I am missing.
    many thanks and wonderful weekend.
    Thanks,
    Stan

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,620

    Re: time interval frequency

    1. Custom format column 1: hh:mm:ss
    2. Put 1 in G1, copy
    3. Select times in F, Paste Special, Multiply
    Ben Van Johnson

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: time interval frequency

    Quote Originally Posted by mrnrao11 View Post
    Many thanks, its very helpful, for some reason i was not able to change the time. Can you please let me know about =Value F3 means.
    If you are not aware of it dates and times are numbers. Dates are the count of days since Jan 1, 1900 which is day 1. The formatting is cosmetic. Times are decimal fractions of a day. 8/24=1/3 = 8:00 AM 12/24 = 1/2 = 12:00 PM 16/24 = 4:00 PM. The formatting is also cosmetic and does nothing to the values or data types.

    It is easy to mistake text "dates" and "times" as actual dates and times. They are not and must be converted to numeric values.

    VALUE is a spreadsheet function that does that. Type =VALUE(f3) and that will convert those text "numbers" into actual numbers that Excel can recognize as times. Then format the results to suit.
    Dave

  7. #7
    Registered User
    Join Date
    02-07-2020
    Location
    NY
    MS-Off Ver
    2016
    Posts
    16

    Re: time interval frequency

    Thank you so much

  8. #8
    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
    81,268

    Re: time interval frequency

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    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.

+ 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] Time Difference excluding a specific time interval
    By nickyowen99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2019, 01:37 AM
  2. [SOLVED] Time Used per Interval
    By Murtadau_Gabier in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-29-2019, 07:15 AM
  3. Replies: 11
    Last Post: 10-24-2016, 08:12 PM
  4. COUNTIF time interval falls between set of time ranges
    By eyoonbbj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2014, 01:44 PM
  5. Replies: 1
    Last Post: 04-29-2014, 04:42 AM
  6. Replies: 0
    Last Post: 04-23-2012, 10:06 AM
  7. The best way to specify time interval ...
    By nicgendron in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-16-2005, 11:05 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