Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Custom AutoFilter

Suppose I have the following entries in a column:
0:20
0:21
0:22
..
..
..
0:30

Now I put a filter and select Custom. In the Customer Autofilter dialog box
if iselect "is less than and select 0:25" and click 'Ok', I get the correct
values. Now when I select Custom once again what is see is "is less than
0.0173611111111111" instead of "is less than 0:25". I have to select 0:25
once again in the drop down. This is very annoying. How can I solve this. Any
help is highly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Custom AutoFilter

You will find that the two values are the same !

Excel stores times as fractions of a 24-hour day, so what makes sense
to us as 0:25 (i.e. 25 minutes) is stored by Excel as 25 / 24 / 60,
i.e. 0.017361111 according to my calculator.

This means that you can just click OK if you want to apply the same
custom filter value as before. If you want to change it, then you can
either select a value from the pull-down, or type it in directly as
0:20:00 (20 minutes, for example).

Hope this helps.

Pete

Rocky wrote:
Suppose I have the following entries in a column:
0:20
0:21
0:22
.
.
.
0:30

Now I put a filter and select Custom. In the Customer Autofilter dialog box
if iselect "is less than and select 0:25" and click 'Ok', I get the correct
values. Now when I select Custom once again what is see is "is less than
0.0173611111111111" instead of "is less than 0:25". I have to select 0:25
once again in the drop down. This is very annoying. How can I solve this. Any
help is highly appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Custom AutoFilter

Hi Rocky,

the number 0,0173611111111111 is related to 00:25:00 in a general format,
so, you do not need to select 0:25 again.

hth
regards from Brazil
Marcelo


"Rocky" escreveu:

Suppose I have the following entries in a column:
0:20
0:21
0:22
.
.
.
0:30

Now I put a filter and select Custom. In the Customer Autofilter dialog box
if iselect "is less than and select 0:25" and click 'Ok', I get the correct
values. Now when I select Custom once again what is see is "is less than
0.0173611111111111" instead of "is less than 0:25". I have to select 0:25
once again in the drop down. This is very annoying. How can I solve this. Any
help is highly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Custom AutoFilter

Thanks Marcelo. I was bit confused.

Regards
Rocky

"Marcelo" wrote:

Hi Rocky,

the number 0,0173611111111111 is related to 00:25:00 in a general format,
so, you do not need to select 0:25 again.

hth
regards from Brazil
Marcelo


"Rocky" escreveu:

Suppose I have the following entries in a column:
0:20
0:21
0:22
.
.
.
0:30

Now I put a filter and select Custom. In the Customer Autofilter dialog box
if iselect "is less than and select 0:25" and click 'Ok', I get the correct
values. Now when I select Custom once again what is see is "is less than
0.0173611111111111" instead of "is less than 0:25". I have to select 0:25
once again in the drop down. This is very annoying. How can I solve this. Any
help is highly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Custom AutoFilter

Thanks Pete for the detail explanation. I have got my answer.
Regards
Rocky

"Pete_UK" wrote:

You will find that the two values are the same !

Excel stores times as fractions of a 24-hour day, so what makes sense
to us as 0:25 (i.e. 25 minutes) is stored by Excel as 25 / 24 / 60,
i.e. 0.017361111 according to my calculator.

This means that you can just click OK if you want to apply the same
custom filter value as before. If you want to change it, then you can
either select a value from the pull-down, or type it in directly as
0:20:00 (20 minutes, for example).

Hope this helps.

Pete

Rocky wrote:
Suppose I have the following entries in a column:
0:20
0:21
0:22
.
.
.
0:30

Now I put a filter and select Custom. In the Customer Autofilter dialog box
if iselect "is less than and select 0:25" and click 'Ok', I get the correct
values. Now when I select Custom once again what is see is "is less than
0.0173611111111111" instead of "is less than 0:25". I have to select 0:25
once again in the drop down. This is very annoying. How can I solve this. Any
help is highly appreciated.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Autofilter yields no results rjejyork Excel Discussion (Misc queries) 4 July 20th 06 09:10 PM
Can I use more than two conditions in custom autofilter? Chris M Excel Worksheet Functions 2 July 6th 06 08:17 PM
Custom autofilter Bug In excel 2002 Matthew D Excel Discussion (Misc queries) 0 February 14th 06 02:54 AM
custom autofilter does not work Max Excel Discussion (Misc queries) 2 January 13th 06 02:41 AM
Shortcut for Filter- Custom Autofilter Eileen Excel Discussion (Misc queries) 2 November 27th 04 01:09 PM


All times are GMT +1. The time now is 11:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"