ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Advance Filter Formula (https://www.excelbanter.com/excel-discussion-misc-queries/125015-advance-filter-formula.html)

Teddy-B

Advance Filter Formula
 
Can anyone help? I need a formula to filter data in a list according to
date/time - 24 hr clock. My time feilds are imported as (ex. 12-05-06 20:07).
I want to filter the list from 02:00 on one date to 02:00 on the following
day's date.

Thanks for your help!

Peo Sjoblom

Advance Filter Formula
 
You can do this using the advanced filter, you can create a criteria range
in for instance
A1:B2

in A1 and B1 put the header for the date/times (yes the same header both in
A1 and B1)

in A2 put ="="&D1

in B2 put ="<="&E1

now in D1 put the date and time of the starting filter values, for instance
12-05-06 02:00
in E1 put 12-06-06 02:00

it will look strange in A2 and B2 since the numerical value of for instance
the first value is

=39066.0833333333



select the table, do datafilteradvanced filter, click in the criteria
range and select A1:B2,
if you want the filtered values in a separate area select copy to another
location and click OK



--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"Teddy-B" wrote in message
...
Can anyone help? I need a formula to filter data in a list according to
date/time - 24 hr clock. My time feilds are imported as (ex. 12-05-06
20:07).
I want to filter the list from 02:00 on one date to 02:00 on the following
day's date.

Thanks for your help!




Teddy-B

Advance Filter Formula
 
Peo:
This formula works awesome. Thanks for you help again. I would have
never figured this one out without your help.

Best regards:

Teddy

"Teddy-B" wrote:

Can anyone help? I need a formula to filter data in a list according to
date/time - 24 hr clock. My time feilds are imported as (ex. 12-05-06 20:07).
I want to filter the list from 02:00 on one date to 02:00 on the following
day's date.

Thanks for your help!



All times are GMT +1. The time now is 04:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com