Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Write a function to do what auto-filter does

Does anybody have a readymade function to do what auto-filter does? I have
done this before but it will take very long to figure it all out. I think I
used a combination of: vlookup, address, index, isna, row().
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 119
Default Write a function to do what auto-filter does


why not just simply use the filter with coding?

1. select the cell
2. select the range of data
3. apply the autofilter

is this what you want?



"Kobus" wrote:

Does anybody have a readymade function to do what auto-filter does? I have
done this before but it will take very long to figure it all out. I think I
used a combination of: vlookup, address, index, isna, row().

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Write a function to do what auto-filter does

I had the function working before and it was magic. Auto filter is far
easier but the function has many advantages.

"Leung" wrote:


why not just simply use the filter with coding?

1. select the cell
2. select the range of data
3. apply the autofilter

is this what you want?



"Kobus" wrote:

Does anybody have a readymade function to do what auto-filter does? I have
done this before but it will take very long to figure it all out. I think I
used a combination of: vlookup, address, index, isna, row().

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Write a function to do what auto-filter does

I assume you want to generate a new filtered table in a different location

if it is a second worksheet
in column A enter
=if(Criteria(sheet1 row),Row(Sheet1 row),"")
copy down for as many rows as you want
in column B enter
=if(row()count(A:A),"",small(A:A,row())

in Column C
=if(B1="","",index(sheet1-dataset,B1))
and copy down
Hide columns A:B
Modify The Equations As needed for your actual data set

"Kobus" wrote:

I had the function working before and it was magic. Auto filter is far
easier but the function has many advantages.

"Leung" wrote:


why not just simply use the filter with coding?

1. select the cell
2. select the range of data
3. apply the autofilter

is this what you want?



"Kobus" wrote:

Does anybody have a readymade function to do what auto-filter does? I have
done this before but it will take very long to figure it all out. I think I
used a combination of: vlookup, address, index, isna, row().

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Write a function to do what auto-filter does

Thanks
I works well, I had it work before in one formula. It was long and very
complicated. If I manage to rework it I will post it under this topic


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
Auto Filter Function getting 'stuck' dlb Excel Worksheet Functions 3 April 16th 07 05:00 AM
Range limit for auto filter function Pierre Excel Discussion (Misc queries) 3 June 30th 06 09:33 AM
Auto Filter function Wardy1 Excel Discussion (Misc queries) 2 March 30th 06 01:16 PM
Excel Auto Filter Function George Excel Worksheet Functions 5 March 17th 06 09:00 PM
Excel auto filter doesn't recoginize case - won't filter AA from A Mikey Excel Discussion (Misc queries) 1 September 29th 05 08:18 PM


All times are GMT +1. The time now is 06:54 PM.

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

About Us

"It's about Microsoft Excel"