![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
I would like to identify parent/child relationships in Excel by using conditional formatting.
Column 1 Column 2 GMAN-0056147 GMAN-0056190 (Parent) GMAN-0056150 GMAN-0056155 (Child) GMAN-0056153 GMAN-0056154 (Child) I am able to identify the first child by using the mid function and comparing the 1st row against the second row, but am lost as to how I can write a formula to identify the second child and third and fourth, etc. This wouldn't be so hard, except that the number of children for a parent will not always be the same. Thanks in advance for your help. [ This Message was edited by: goodwisa on 2002-04-01 10:41 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
|
|
|
|
|
|
|
#3 | ||
|
New Member
Join Date: Mar 2002
Posts: 6
|
Quote:
|
||
|
|
|
|
|
#4 | |||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
Even with VBA, things might get difficult with lots of parents that must be colored differently along with their children. |
|||
|
|
|
|
|
#5 | ||||
|
New Member
Join Date: Mar 2002
Posts: 6
|
Quote:
|
||||
|
|
|
|
|
#6 | ||||
|
New Member
Join Date: Mar 2002
Posts: 6
|
Quote:
|
||||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|