LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Retrieve All Children

I have a list with many columns; but the relevent columns to this
request a

Account Parent Children

Account is the Account
Parent is the Parent to that Account
Children is the number of children to this account (of which some
could be other parents).

Is there an easy way to have some macro pull the bottom level (leaf
level) accounts to a certain parent. These account would have 0 in
the Children Column.

So for Acct ZZCBNMKT (see below) it would return

BM5102
BM5104
BM5106
BM5108
BM5114
BM5116
BM5120
BM5121
BM5126
BM5140
BM5150
BM5151
BM5152
BM51525117
BM5170
BM51800050
BM51800001
BM51800004
BM51800014



| | | + ZZCBNMKT - Total CBN Marketing
| | | | + ZZCBNMKTGR - Total CBN MKTG
Gross
| | | | | + BM5100 - CBN MK
Salaries, Wages & Bonus
| | | | | | + BM5102 -
CBN MK Salaries & Wages
| | | | | | + BM5104 -
CBN Vacation Accrual
| | | | | | + BM5106 -
CBN MK Bonus
| | | | | | + BM5108 -
CBN MK Incentive Pay
| | | | | + BM5114 - CBN MK
Overtime
| | | | | + BM5116 - CBN MK
Commissions
| | | | | + BM5120T - CBN MK
Total Employee Benefits
| | | | | | + BM5120 -
CBN MK Employee Benefits - Historical
| | | | | | + BM5121 -
CBN MK Health & Welfare
| | | | | | + BM5126 -
CBN MK 401k
| | | | | + BM5140 - CBN MK
Payroll Tax Expense
| | | | | + BM5150 - CBN MK
Capitalized Payroll
| | | | | + BM5151 - Temporary
Help
| | | | | + BM5152 -
Contractors
| | | | | + BM51525117 -
Selling Partner Commissions
| | | | | + BM5170 - Travel &
Entertainment
| | | | | + BM5180 - Education
& Training
| | | | | | +
BM51800050 - BM Education Reimbursement
| | | | | | +
BM51800001 - Education, Training & Professional Development
| | | | | | +
BM51800004 - Education & Training Local (From)
| | | | | | +
BM51800014 - Education & Training Local (To)

 
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
Saw children in the face of tanks HEBAbrothers Excel Discussion (Misc queries) 0 January 10th 09 07:14 PM
i need to make a potty log sheet for the children at my job what kate Charts and Charting in Excel 1 May 17th 06 07:11 PM
How do I express a ratio (1:4 meaning 1 adult to every 4 children. Iris Excel Worksheet Functions 4 March 22nd 05 07:42 PM
If I don't have children open I get #REF! where external links are Colettb Excel Discussion (Misc queries) 0 February 2nd 05 05:49 PM
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM


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