Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Linking multiple worksheets in a book

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Linking multiple worksheets in a book

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Linking multiple worksheets in a book

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Linking multiple worksheets in a book

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
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
How do I share a list within a book with multiple worksheets? Joane Excel Worksheet Functions 6 October 3rd 07 11:09 PM
linking multiple books (source.xls) to a single book (destination. mday Excel Discussion (Misc queries) 4 August 25th 06 04:31 AM
linking multiple columns onto multiple worksheets talderman Excel Discussion (Misc queries) 3 August 23rd 06 02:00 AM
How do I print multiple worksheets of a work book onto one page? Kab10 Excel Discussion (Misc queries) 2 May 23rd 06 09:56 AM
VB??.tmp error with multiple excel worksheets in 1 book Grant143 Excel Worksheet Functions 0 November 11th 05 07:54 PM


All times are GMT +1. The time now is 09:51 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"