Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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,SM ALL($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. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "outlawpolyester" wrote in message ... 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. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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! "Max" wrote: 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,SM ALL($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. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Welcome, glad it worked for you.
-- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "outlawpolyester" wrote in message ... 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! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I share a list within a book with multiple worksheets? | Excel Worksheet Functions | |||
linking multiple books (source.xls) to a single book (destination. | Excel Discussion (Misc queries) | |||
linking multiple columns onto multiple worksheets | Excel Discussion (Misc queries) | |||
How do I print multiple worksheets of a work book onto one page? | Excel Discussion (Misc queries) | |||
VB??.tmp error with multiple excel worksheets in 1 book | Excel Worksheet Functions |