> You have got me wrong.
Not really, think I was quite spot-on.
Just a matter of adapting it slightly to suit your actual set-up
Here's a sample implementation based on your set-up detail posted:
http://www.freefilehosting.net/download/3cb93
Auto update of sheets.xls
Source data in Sheet1, cols A to F, data from row2 down
with col C = key col ("Active") where: yes
marks the active students' lines to be brought over to Sheet2
In Sheet2,
In A2: =IF(Sheet1!C2="","",IF(Sheet1!C2="yes",ROW(),""))
Leave A1 blank. This is the criteria col.
In B2: =IF(C2="","",ROWS($1:1))
(this is for auto serial numbering)
In C2:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX(Sheet1!C:C,SMALL($A:$A,ROWS($1:1))))
Copy C2 to G2. Select A2:G2, copy down to cover the max expected extent of
data in Sheet1. Minimize/hide away col A. Cols C to G will return the
required list of active students, with all results neatly bunched at the top.
Col B creates an auto serial numbering to top it off.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Krishna Kumar L" wrote:
> Max,
>
> You have got me wrong. The sample sheet is mentioned herein
> Sheet 1
> Sl. Name Active Eng Math Geog
>
> 1 David yes 100 90 95
> 2 Roby yes 12 22 65
> 3 James no4 Steven no
>
> Sheet 2Sl. Name Active Eng Math Geog
>
> 1 David yes 100 90 95
> 2 Roby yes 12 22 65
>
> Sl. Name Active Eng Math Geog
>
> 1 David yes 100 90 95
> 2 Roby yes 12 22 65
> 3 James yesso if a person is not active in the first sheet he does not reflect in the
> second sheet, also I will be adding new students in the middle of the year.
> Try to in-cooperate that also.
>
> Thank you
>
> L Krishna Kumar