Linking multiple worksheets in a book

O

outlawpolyester

I'm not sure the best way to ask the question, but I need a formula that will
do the following:

Sheet 1 has all the information, for example:
A B C D
1 Date Activity Cost IsDeductible
2 1-10 Purchase $12
3 1-10 Donation $5 x
4 1-12 Purchase $2
5 1-13 Purchase $25 x


I want Sheet 3 to only show the rows that are marked 'x' in the column
'IsDeductible' (column D):
A B C
1 Date Activity Cost
2 1-10 Donation $5
3 1-13 Purchase $25

Thus far I've only been able to create formulas that will carry over the
information from Sheet 1 into the corresponding row of Sheet 3, meaning there
is a gap (which may mean a gap of 100 of cells or more--won't work):
A B C
1 Date Activity Cost
2
3 1-10 Donation $5
4
5 1-13 Purchase $25

Sorry if there is TMI. I've searched for similar questions, but haven't
found any applicable answers. Maybe there is a simple operator I am unaware
of?
Any suggestions would be appreciated.
 
M

Max

Here's a simple way to get there ..

In Sheet3,

In A2: =IF(Sheet1!D2="x",ROW(),"")
Leave A1 blank

In B2:
=IF(ROWS($1:1)>COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL($A:$A,ROWS($1:1))))
Copy B2 to D2. Select A2:D2, copy down to cover the max expected extent of
source data in Sheet1. Hide away or minimize col A. Cols B to D will return
the required results, all neatly bunched at the top.
 
O

outlawpolyester

Thank You, Max!

I adapted the formulas to my actual worksheets and they work perfectly!

I will admit that I don't fully understand how they work yet (I'll have to
study a few of the functions I've not used much before)...but nevertheless
they work and were clean enough I could plug them in w/out fully
understanding the whole formula.

And thank you for the quick reply!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top