Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
dk dk is offline
external usenet poster
 
Posts: 129
Default Autofilter Special

We need to autofilter & Copy only records that contain "true" after false
not all the "true" records?
also limit the cells to information not to 65000 etc
  #2   Report Post  
Posted to microsoft.public.excel.newusers
dk dk is offline
external usenet poster
 
Posts: 129
Default Autofilter Special

we are attaching a file which we want to filer out the 1 true after false
how can it be done
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss FALSE
EGmr 01-DafHaY R Mos Gold TRUE

look were the false & true comes up when we filter we need the new name row
not all the true's only the first true after false

"dk" wrote:

We need to autofilter & Copy only records that contain "true" after false
not all the "true" records?
also limit the cells to information not to 65000 etc

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Autofilter Special

Let's back it up a bit and understand carefully what's happening ..

For easy reference, I attach a link to a sample showing your posted data
with the earlier expression that I gave you implemented:

http://www.freefilehosting.net/download/3e988
Flagging Duplicates.xls

In the sample, the unique items are defined based on the fields in cols A to
C (that's what I gathered you specified earlier in your original thread). The
formula in D2**, copied down will flag uniques as FALSE, duplicates as TRUE.
Note that the source data need not be sorted for the flagging to work.

**In D2, copied down:
=IF(COUNTA(A2:C2)<3,"",SUMPRODUCT((A$2:A2=A2)*(B$2 :B2=B2)*(C$2:C2=C2))1)

To reconfirm our understanding:
Uniques = 1st occurrence (FALSE)
Duplicates = 2nd occurrence onwards (TRUE)

And, any source lines with incomplete data for flagging (there must be data
in all 3 cols A to C) will return as blanks: "". This precaution is taken
care of by the front IF part in the expression: IF(COUNTA(A2:C2)<3,"",...

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"dk" wrote:
we are attaching a file which we want to filer out the 1 true after false
how can it be done
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss TRUE
EGmr 01-DafHaY R Mos M Weiss FALSE
EGmr 01-DafHaY R Mos Gold TRUE

look were the false & true comes up when we filter we need the new name row
not all the true's only the first true after false

"dk" wrote:

We need to autofilter & Copy only records that contain "true" after false
not all the "true" records?
also limit the cells to information not to 65000 etc

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
2007 Autofilter worse than 2003 Autofilter jsky Excel Discussion (Misc queries) 9 October 31st 07 12:14 AM
How to use now() in a special way The Fool on the Hill Excel Discussion (Misc queries) 13 July 13th 07 02:16 PM
Special Welcome Pop Up FARAZ QURESHI Excel Discussion (Misc queries) 3 January 1st 07 10:28 PM
Special formats noyb New Users to Excel 2 October 16th 06 09:05 PM
How to Sort within AutoFilter with Protection on (and AutoFilter . giblon Excel Discussion (Misc queries) 1 February 16th 06 12:23 PM


All times are GMT +1. The time now is 05:32 AM.

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"