I want to set up a separate worksheet that lists *only* the acceptances. In
other words, I want a separate worksheet that extracts the rows of data that
contain y in column B but none of the other rows.
Any advice?
Madeline in Toronto
--
Regards!
Stefi
„Madeline Koch” ezt írta:
> .
>
I kind of got this to work, but I don't know how to get the list of the Ys
all at the top.
If I sent you a dummy file you could see what I've done (it's very difficult
to explain here, but I could try...!)
Cheers,
Madeline
> A simple formulas option to set it up dynamic in another sheet ..
> Assume source data in Sheet1, cols A & B, data in row2 down,
> where col A = Names, col B = Status (eg: y - for accepted)
> In another sheet,
> In A2: =IF(Sheet1!B2="y",ROW(),"")
> In B2: =IF(ROWS($1:1)>COUNT(A:A),"",INDEX(Sheet1!A:A,SMALL(A:A,ROWS($1:1))))
> Copy A2:B2 down to cover the max expected extent of source data, eg down to
> B200? Hide/minimize col A. Col B will auto-return the list of source names
> (those with "y") as the source data changes, with all results neatly bunched
> at the top.
T
And if you have more than 1 source col to return from Sheet1,
just fix the point to col A: $A:$A in the 2nd formula
ie use in B2:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL($A:$A,ROWS($1:1))+2))
Copy B2 across by as many cols as required. Then select n copy A2:Z2 (say)
down to cover the max expected extent of source data, eg down to Z200?
Hide/minimize col A. Cols B to Z will auto-return the required list of
source lines satisfying the criteria as the source data changes, with all
results neatly packed at the top
Try the above first. It should clear it up and get it going sweetly for you
You can use this link to upload a sample
http://cjoint.com/
--
Max
Singapore
------
"Madeline Koch" <mad....@utoronto.ca> wrote in message
news:C762679A.26EB2%mad....@utoronto.ca...
I got this to work using the following formulae:
Column A: =IF(invitations!B2="y",invitations!B2,"")
Column B: =IF(invitations!B2="y",invitations!C2,"")
Column C: =IF(invitations!B2="y",invitations!D2,"")
I don't understand your second formula and where it should go!
Thanks again.
Madeline
Here's a working sample based on your set-up for easy ref:
http://cjoint.com/?bccoQ60qyl
--
Max
Singapore
"Madeline Koch" <mad....@utoronto.ca> wrote in message
news:C763F969.27019%mad....@utoronto.ca...
Advanced filters can be made dynamic through a simple code. When you will
click on a button, the result of the advanced filter would update
--
Regards,
Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
"Madeline Koch" <mad....@utoronto.ca> wrote in message
news:C762679A.26EB2%mad....@utoronto.ca...
But at first it was importing some of the rows that had n instead of y
source field.
I tried again, and it worked. But things weren't quite in the right
alphabetical order, so I tried resorted the source worksheet.
That did rearrange things, but for some reason it stops at the 37th row,
even though there are 143 in the actual source worksheet -- and 52 rows with
a y in them!
Thanks for your help.
Madeline
The extracted lines would appear in the same relative order as they are
within the source. There's no alphabetic sorting.
> That did rearrange things, but for some reason it stops at the 37th row,
> even though there are 143 in the actual source worksheet -- and 52 rows
> with
> a y in them!
I think you might have messed the criteria col up when you re-sorted the
source sheet. Suggest that you restore the set up like this. Re-fill the
criteria col from the top cell (do ensure that the top cell's formula is
intact, ie pointing to the 1st data cell in the source). Drag down to copy
again all the way to cover the max expected extent of the source (do ensure
that the copy down extent does indeed cover the full source data extent, or
beyond)
--
Max
Singapore
"Madeline Koch" <mad....@utoronto.ca> wrote in message
news:C767FEF8.274F6%mad....@utoronto.ca...
Max wrote:
> I think you might have messed the criteria col up when you re-sorted the
> source sheet. Suggest that you restore the set up like this. Re-fill the
> criteria col from the top cell (do ensure that the top cell's formula is
> intact, ie pointing to the 1st data cell in the source). Drag down to copy
> again all the way to cover the max expected extent of the source (do ensure
> that the copy down extent does indeed cover the full source data extent, or
> beyond)
I tried starting again from scratch. Now going wonky after row 23 (the
source worksheet has 143 rows). This is what I've got (note that I don't
need all the columns from the source worksheet):
ROW 1
Column A:
=IF(invitations!B1="y",ROW(),"")
Column B:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX(invitations!C:C,SMALL($A:$A,ROWS($1:1))
))
Column C:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX(invitations!D:D,SMALL($A:$A,ROWS($1:1))
))
ROW 25
A
=IF(invitations!B25="y",ROW(),"")
B
=IF(ROWS($1:25)>COUNT($A:$A),"",INDEX(invitations!C:C,SMALL($A:$A,ROWS($1:25
))))
C
=IF(ROWS($1:25)>COUNT($A:$A),"",INDEX(invitations!D:D,SMALL($A:$A,ROWS($1:25
))))
In Column A, stuff is working -- the source-worksheet rows that have a y in
the column B have the row number carried over. But no other info from that
row makes it. Also there seems to be the "formula refers to empty cell"
error everywhere except in the cells that contain data.
I'm stumped again!
Thanks,
Madeline