Prev Previous Post   Next Post Next
  #1   Report Post  
TUNGANA KURMA RAJU
 
Posts: n/a
Default loop count

I posted a question yesterday named"count row numbers in loop".Nobody could
solve my problem.I am posting the same with elaborate logic.
A B c(Total persons D (Total females
(name) (code) working under) working under)

1 JOHN 4/M =2 =1
2 CARY 6/M =0 =0
3 LARA 1/M = 1 =1
4 DAVID 0/M = 7 =2
5 LUCY 6/F =1 =0
6 RAO 4/M =3 = 1
7 JAMES 5/M =0 =0
8 CRIS 3/F =0 =0

Range B1:B8 contains codes of range A1:A8 persons.John's code 4/M indicates
he is a male employee and his immediate boss is row(4) person ,that is
DAVID.Row(4) person(DAVID) has 2 subordinates(John & Rao),whose 3
subordinates are(lara,cary,lucy) and their 2 subordinates are (james and
cris),thus total 7persons are working under DAVID.
What formula will get the above results in C1 and D1?
I don't want to add any more columns to my worksheet to get the desired
results.
 
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
count rownumbers in loop TUNGANA KURMA RAJU Excel Discussion (Misc queries) 9 October 3rd 05 09:29 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM
Match Last Occurrence of two numbers and Count to Previous Occurence Sam via OfficeKB.com Excel Worksheet Functions 33 April 4th 05 02:17 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"