LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Creating child worksheet from parent

Here is another formula solution which might work:

Try this:

=INDEX(Master!A$1:A$11,SMALL(IF(Master!$A$1:$A$11= $A$1,ROW($1:$11)*(Master!$A$1:$A$11=$A$1),""),ROW( A1)))

This array formula uses the content of cell A1 on a "child" sheet to bring
in all data for the child group.

Enter this on the second row of the child sheet and copy it down and over as
far as desired. This formula assumes that the entry on the master sheet
which indicated which items are to be brought over are located in column A.
Adjust the ranges down to match the extent of your data, ie. changen the A11
and $11 references to extend down as needed.

To make it an array press Shift+Ctrl+Enter to enter the formula.

When the formula extends beyond the maximumn number of items it will return
a #NUM! error. You can suppress this using conditional formatting or by
modifying the formula:

1. Conditional Formatting - Use =ISERR(A2) and set the font color to match
the background - white for example.

2. The modified formula approach uses:

=IF(ROW()MAX(ROW($1:$11)*(Master!$A$1:$A$11=$A$1) ),"",INDEX(Master!A$1:A$11,SMALL(IF(Master!$A$1:$A $11=$A$1,ROW($1:$11)*(Master!$A$1:$A$11=$A$1),""), ROW(A1))))

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Vibeke" wrote:

Hi,
I have a master worksheet which consists of
Column A1:A5000 is numbers 1-5,000 (being ID numbers on tickets)
Column B1:B5000 is text (being one of six place names, venues for ticket
sales)

In six other (child) worksheets, named for the venues, I'd like to create
lists that others can use to record whether a specific ticket is sold. For
example, if "Townsville" gets tickets 250 to 1200, this would be recorded on
the Parent list and the Townsville worksheet would only list those numbers -
with no blank rows! I may need to amend the master list from time to time-
e.g. if tickets aren't sold in Townsville, they can be re-assigned to
Cityville (and so disappear from the former worksheet and show up in the
latter).

I think I need MATCH, INDEX and\or ROW to do this, but after trying sevreal
options, I'm no closer.

Any ideas? Thanks in anticipation.

 
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
Hierarchal view of parent/child list Mitch Powell Excel Discussion (Misc queries) 6 October 4th 08 01:16 AM
Pivot Table - Parent to Child Data Brennan Excel Discussion (Misc queries) 1 September 24th 08 05:23 AM
Finding loops in parent/child relationships GrahamC Excel Discussion (Misc queries) 3 November 22nd 07 05:15 PM
Windows browser Parent/Child structure ERK New Users to Excel 2 December 3rd 06 12:44 AM
Sorting Parent Child kcmtnbiker Excel Worksheet Functions 2 March 31st 06 01:54 AM


All times are GMT +1. The time now is 07:58 PM.

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"