• How does one autofilter time?

    • This topic has 7 replies, 3 voices, and was last updated 16 years ago.
    Author
    Topic
    #459841

    Hi,

    How does one autofilter all time values between 12am and 6am that span over several days?

    I only want records in a list who’s time is between 12am and 6am. the list has a CALL Column that has a date and time stored in it…((similar to the format that =NOW() uses.)) These dates and times span several days, but I am only interested to extract CALLS that were made in the early morning between 12 and 6am irrespective of day!

    TIA

    Viewing 0 reply threads
    Author
    Replies
    • #1160552

      Another Question…

      I have just noticed that the CALL column content is actually TEXT (ie… it is not a valid date / time format…the import has converted the entry to :
      May 5 2009 1:18AM)

      So…is there a way to convert this to a date/time format or can we filter the 12am-6am request even if it is text?

      TX

      • #1160579

        I have just noticed that the CALL column content is actually TEXT (ie… it is not a valid date / time format…the import has converted the entry to : May 5 2009 1:18AM)

        So…is there a way to convert this to a date/time format or can we filter the 12am-6am request even if it is text?

        See if it will convert with =TIMEVALUE(SUBSTITUTE(TRIM(RIGHT(A1,7)),RIGHT(A1,2),” “)&RIGHT(A1,2))
        (optionally cell-formatted as time), and then filter. Very lightly tested, so be sure it works!

        • #1160698

          Hi John…(And WebGenii)

          TX a stack!

          That formula solved my problem. It created the correct time value which allowed me to apply the necessary filter. It worked great!!

          Cheers!!!

      • #1160585

        Another Question…

        I have just noticed that the CALL column content is actually TEXT (ie… it is not a valid date / time format…the import has converted the entry to :
        May 5 2009 1:18AM)

        So…is there a way to convert this to a date/time format or can we filter the 12am-6am request even if it is text?

        TX

        Easier to filter on time – but one has to remove the date from the time.
        I added a column using the following to extract the time and then reformated using timevalue (this will give all calls the same date).
        Filtering in 2007 is easy after this.

        =TIMEVALUE(TEXT(A3,”hh:mm:ss”))

        • #1160600

          =TIMEVALUE(TEXT(A3,”hh:mm:ss”))

          No fair not telling how you removed the date. This would conversion be much easier if there was space between the time and the “AM/PM” indicator. I would usually handle this with Find and Replace.

          • #1161183

            No fair not telling how you removed the date. This would conversion be much easier if there was space between the time and the “AM/PM” indicator. I would usually handle this with Find and Replace.

            um I assumed the date was in date format. The formula simply extracts the time from that date. Then all times will have the same date (but you knew that anyway).

            • #1161191

              I have just noticed that the CALL column content is actually TEXT (ie… it is not a valid date / time format…the import has converted the entry to: May 5 2009 1:18AM)

    Viewing 0 reply threads
    Reply To: How does one autofilter time?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: