| Home | Forums | Reviews | Articles | Register |
![]() |
| Thread Tools | Rate Thread |
|
|
|
| |
|
Roger Govier
Guest
Posts: n/a
|
Hi Rudy
Set yourself up a matrix as follows No Helper Helper Analyst 3 3 Consultant 2 2 Executive 3 4 Manager 5 2 Partner 2 4 With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper in G1 in cell F2 enter the following =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) In cell G2 enter =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) Copy F2:G2 down through cells F3:6 The results I got are as in the table -- Regards Roger Govier "Rudy" <(E-Mail Removed)> wrote in message news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > Hi > I was wondering if you could help me out in here. For example, I have > this > scenario of a database of 5000 employees who do many business travels. > Some > of these people have their tickets booked by Helpers and some do their > own > bookings. Notes that some names on the database repeated on the list > and > their Helpers could be different and some of them simply don't have > Helpers > do the bookings for them. > > Name - Job Title - Assistant > Amy Green - Analyst > Mike Brown - Consultant - Helper One > Lisa White - Manager > Bill Purple - Partner - Helper Two > Lucy Yellow - Analyst - Helper Three > Ian Dunlop - Consultant > Charlie White - Consultant - Helper Four > David Smith - Manager > John Bell - Executive - Helper Seven > Graham Bell - Executive > David Green - Analyst - Helper Five > Lucy Smith - Partner > Jan Dunlop - Analyst - Helper Eight > Mike Dunlop - Manager > John Brown - Executive - Helper Five > Bill Purple - Partner - Helper Two > Carol Smith - Executive > Margaret McDonald - Manager > Cindy Wright - Manager - Helper Five > Ian Wright - Partner > Richard McDonald - Partner - Helper Four > Matthew White - Analyst > Jason Yellow - Manager - Helper Seven > Graham Bell - Executive > Matt Smith - Executive - Helper Five > Lucy Yellow - Analyst > John Bell - Executive - Helper Eight > Mike Brown - Consultant > Mike Dunlop - Manager > Bill Purple - Partner - Helper Two > > > > I am trying to find out How many Analyst, Consultant, Executive, > Manager, > Partner have their bookings done by Helpers and How many of them do > their own > bookings, and so on . > Any solutions are greatly appreciated. > Thanks > |
|
||
|
||||
|
=?Utf-8?B?UnVkeQ==?=
Guest
Posts: n/a
|
Hi Roger
Thank you so much for your response. Half way through, almost solve my query. The Matrix/Formulaes you gave me are perfect, however, they count each Names as one value. For example, as on my list Bill Purple occurs 3 times and Richard McDonald once. Both of their job titles are Partner and they both have Helpers. The formula you gave me will count Helper 4. What I would like is to count Bill Purple as 1 (although his name appears 3 times on the list) and Richard McDonald as 1, hence, people with job title Partner has 2 bookings done by Helper and so on. Many thanks. "Roger Govier" wrote: > Hi Rudy > > Set yourself up a matrix as follows > > No Helper Helper > Analyst 3 3 > Consultant 2 2 > Executive 3 4 > Manager 5 2 > Partner 2 4 > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > in G1 > in cell F2 enter the following > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > In cell G2 enter > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > Copy F2:G2 down through cells F3:6 > > The results I got are as in the table > -- > Regards > > Roger Govier > > > "Rudy" <(E-Mail Removed)> wrote in message > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > Hi > > I was wondering if you could help me out in here. For example, I have > > this > > scenario of a database of 5000 employees who do many business travels. > > Some > > of these people have their tickets booked by Helpers and some do their > > own > > bookings. Notes that some names on the database repeated on the list > > and > > their Helpers could be different and some of them simply don't have > > Helpers > > do the bookings for them. > > > > Name - Job Title - Assistant > > Amy Green - Analyst > > Mike Brown - Consultant - Helper One > > Lisa White - Manager > > Bill Purple - Partner - Helper Two > > Lucy Yellow - Analyst - Helper Three > > Ian Dunlop - Consultant > > Charlie White - Consultant - Helper Four > > David Smith - Manager > > John Bell - Executive - Helper Seven > > Graham Bell - Executive > > David Green - Analyst - Helper Five > > Lucy Smith - Partner > > Jan Dunlop - Analyst - Helper Eight > > Mike Dunlop - Manager > > John Brown - Executive - Helper Five > > Bill Purple - Partner - Helper Two > > Carol Smith - Executive > > Margaret McDonald - Manager > > Cindy Wright - Manager - Helper Five > > Ian Wright - Partner > > Richard McDonald - Partner - Helper Four > > Matthew White - Analyst > > Jason Yellow - Manager - Helper Seven > > Graham Bell - Executive > > Matt Smith - Executive - Helper Five > > Lucy Yellow - Analyst > > John Bell - Executive - Helper Eight > > Mike Brown - Consultant > > Mike Dunlop - Manager > > Bill Purple - Partner - Helper Two > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > Manager, > > Partner have their bookings done by Helpers and How many of them do > > their own > > bookings, and so on . > > Any solutions are greatly appreciated. > > Thanks > > > > > |
|
||
|
||||
|
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
|
Yeah....I realized my mistake *after* I posted.
See if this solution fills the bill: Again...with your posted data in A1:C31 G1: Self-Sufficient H1: Dependent F1: Category F2: Partner F3: Executive F4: Manager F5: Consultant F6: Analyst ARRAY FORMULAS* G2: =COUNT(1/FREQUENCY(IF(($B$2:$B$31=F2)*($C$2:$C$31="")*ISNA(MATCH($A$2:$A$31&TRUE,$A$2:$A$31&($C$2:$C$31<>""),0)),IF($A$2:$A$31<>"",MATCH($A$2:$A$31,$A$2:$A$31,0))),ROW($A$2:$A$31)-ROW($A$2)+1)) H2: =COUNT(1/FREQUENCY(IF(($B$2:$B$31=F2)*($C$2:$C$31<>"")*ISNUMBER(MATCH($A$2:$A$31&TRUE,$A$2:$A$31&($C$2:$C$31<>""),0)),IF($A$2:$A$31<>"",MATCH($A$2:$A$31,$A$2:$A$31,0))),ROW($A$2:$A$31)-ROW($A$2)+1)) *Note_1: For array formulas, hold down [Ctrl] and [Shift] when you press [Enter], instead of just pressing [Enter]. Note_2: Since text wrap will undoubtedly impact the display, there are NO spaces in those formulas Copy cells G2:H2 Paste into G3:H6 Using your data, those formulas returned these values: Category_____Self-Sufficient_____Dependent Partner________2_______________2 Executive______2_______________3 Manager______4_______________2 Consultant _____1_______________2 Analyst________2_______________3 Does that help? *********** Regards, Ron XL2002, WinXP "Rudy" wrote: > Hi Roger > > Thank you so much for your response. Half way through, almost solve my query. > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > as one value. For example, as on my list Bill Purple occurs 3 times and > Richard McDonald once. Both of their job titles are Partner and they both > have Helpers. > The formula you gave me will count Helper 4. What I would like is to count > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > McDonald as 1, hence, people with job title Partner has 2 bookings done by > Helper and so on. > > Many thanks. > > > > > > > > "Roger Govier" wrote: > > > Hi Rudy > > > > Set yourself up a matrix as follows > > > > No Helper Helper > > Analyst 3 3 > > Consultant 2 2 > > Executive 3 4 > > Manager 5 2 > > Partner 2 4 > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > in G1 > > in cell F2 enter the following > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > In cell G2 enter > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > Copy F2:G2 down through cells F3:6 > > > > The results I got are as in the table > > -- > > Regards > > > > Roger Govier > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > Hi > > > I was wondering if you could help me out in here. For example, I have > > > this > > > scenario of a database of 5000 employees who do many business travels. > > > Some > > > of these people have their tickets booked by Helpers and some do their > > > own > > > bookings. Notes that some names on the database repeated on the list > > > and > > > their Helpers could be different and some of them simply don't have > > > Helpers > > > do the bookings for them. > > > > > > Name - Job Title - Assistant > > > Amy Green - Analyst > > > Mike Brown - Consultant - Helper One > > > Lisa White - Manager > > > Bill Purple - Partner - Helper Two > > > Lucy Yellow - Analyst - Helper Three > > > Ian Dunlop - Consultant > > > Charlie White - Consultant - Helper Four > > > David Smith - Manager > > > John Bell - Executive - Helper Seven > > > Graham Bell - Executive > > > David Green - Analyst - Helper Five > > > Lucy Smith - Partner > > > Jan Dunlop - Analyst - Helper Eight > > > Mike Dunlop - Manager > > > John Brown - Executive - Helper Five > > > Bill Purple - Partner - Helper Two > > > Carol Smith - Executive > > > Margaret McDonald - Manager > > > Cindy Wright - Manager - Helper Five > > > Ian Wright - Partner > > > Richard McDonald - Partner - Helper Four > > > Matthew White - Analyst > > > Jason Yellow - Manager - Helper Seven > > > Graham Bell - Executive > > > Matt Smith - Executive - Helper Five > > > Lucy Yellow - Analyst > > > John Bell - Executive - Helper Eight > > > Mike Brown - Consultant > > > Mike Dunlop - Manager > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > Manager, > > > Partner have their bookings done by Helpers and How many of them do > > > their own > > > bookings, and so on . > > > Any solutions are greatly appreciated. > > > Thanks > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
|
Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for
Rudy and I guess I only *thought* I posted it to this thread. I didn't even look at the name when I responded. More coffee, anyone? I'm getting some. : \ *********** Regards, Ron XL2002, WinXP "Rudy" wrote: > Hi Roger > > Thank you so much for your response. Half way through, almost solve my query. > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > as one value. For example, as on my list Bill Purple occurs 3 times and > Richard McDonald once. Both of their job titles are Partner and they both > have Helpers. > The formula you gave me will count Helper 4. What I would like is to count > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > McDonald as 1, hence, people with job title Partner has 2 bookings done by > Helper and so on. > > Many thanks. > > > > > > > > "Roger Govier" wrote: > > > Hi Rudy > > > > Set yourself up a matrix as follows > > > > No Helper Helper > > Analyst 3 3 > > Consultant 2 2 > > Executive 3 4 > > Manager 5 2 > > Partner 2 4 > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > in G1 > > in cell F2 enter the following > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > In cell G2 enter > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > Copy F2:G2 down through cells F3:6 > > > > The results I got are as in the table > > -- > > Regards > > > > Roger Govier > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > Hi > > > I was wondering if you could help me out in here. For example, I have > > > this > > > scenario of a database of 5000 employees who do many business travels. > > > Some > > > of these people have their tickets booked by Helpers and some do their > > > own > > > bookings. Notes that some names on the database repeated on the list > > > and > > > their Helpers could be different and some of them simply don't have > > > Helpers > > > do the bookings for them. > > > > > > Name - Job Title - Assistant > > > Amy Green - Analyst > > > Mike Brown - Consultant - Helper One > > > Lisa White - Manager > > > Bill Purple - Partner - Helper Two > > > Lucy Yellow - Analyst - Helper Three > > > Ian Dunlop - Consultant > > > Charlie White - Consultant - Helper Four > > > David Smith - Manager > > > John Bell - Executive - Helper Seven > > > Graham Bell - Executive > > > David Green - Analyst - Helper Five > > > Lucy Smith - Partner > > > Jan Dunlop - Analyst - Helper Eight > > > Mike Dunlop - Manager > > > John Brown - Executive - Helper Five > > > Bill Purple - Partner - Helper Two > > > Carol Smith - Executive > > > Margaret McDonald - Manager > > > Cindy Wright - Manager - Helper Five > > > Ian Wright - Partner > > > Richard McDonald - Partner - Helper Four > > > Matthew White - Analyst > > > Jason Yellow - Manager - Helper Seven > > > Graham Bell - Executive > > > Matt Smith - Executive - Helper Five > > > Lucy Yellow - Analyst > > > John Bell - Executive - Helper Eight > > > Mike Brown - Consultant > > > Mike Dunlop - Manager > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > Manager, > > > Partner have their bookings done by Helpers and How many of them do > > > their own > > > bookings, and so on . > > > Any solutions are greatly appreciated. > > > Thanks > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?UnVkeQ==?=
Guest
Posts: n/a
|
hahaha..
Thanks for the solution Ron. I applied the formulas you gave me to my actual worksheet with 5000 names. The second formula (The Dependent - H2) worked well and returned with values, however, the first formula (The Self-Sufficient - G2) returned with 0 value. Any idea when I have done wrong? I've checked and re-checked, all seem okay. Thanks. "Ron Coderre" wrote: > Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for > Rudy and I guess I only *thought* I posted it to this thread. I didn't even > look at the name when I responded. > > More coffee, anyone? I'm getting some. : \ > > *********** > Regards, > Ron > > XL2002, WinXP > > > "Rudy" wrote: > > > Hi Roger > > > > Thank you so much for your response. Half way through, almost solve my query. > > > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > > as one value. For example, as on my list Bill Purple occurs 3 times and > > Richard McDonald once. Both of their job titles are Partner and they both > > have Helpers. > > The formula you gave me will count Helper 4. What I would like is to count > > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > > McDonald as 1, hence, people with job title Partner has 2 bookings done by > > Helper and so on. > > > > Many thanks. > > > > > > > > > > > > > > > > "Roger Govier" wrote: > > > > > Hi Rudy > > > > > > Set yourself up a matrix as follows > > > > > > No Helper Helper > > > Analyst 3 3 > > > Consultant 2 2 > > > Executive 3 4 > > > Manager 5 2 > > > Partner 2 4 > > > > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > > in G1 > > > in cell F2 enter the following > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > > In cell G2 enter > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > > Copy F2:G2 down through cells F3:6 > > > > > > The results I got are as in the table > > > -- > > > Regards > > > > > > Roger Govier > > > > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > > Hi > > > > I was wondering if you could help me out in here. For example, I have > > > > this > > > > scenario of a database of 5000 employees who do many business travels. > > > > Some > > > > of these people have their tickets booked by Helpers and some do their > > > > own > > > > bookings. Notes that some names on the database repeated on the list > > > > and > > > > their Helpers could be different and some of them simply don't have > > > > Helpers > > > > do the bookings for them. > > > > > > > > Name - Job Title - Assistant > > > > Amy Green - Analyst > > > > Mike Brown - Consultant - Helper One > > > > Lisa White - Manager > > > > Bill Purple - Partner - Helper Two > > > > Lucy Yellow - Analyst - Helper Three > > > > Ian Dunlop - Consultant > > > > Charlie White - Consultant - Helper Four > > > > David Smith - Manager > > > > John Bell - Executive - Helper Seven > > > > Graham Bell - Executive > > > > David Green - Analyst - Helper Five > > > > Lucy Smith - Partner > > > > Jan Dunlop - Analyst - Helper Eight > > > > Mike Dunlop - Manager > > > > John Brown - Executive - Helper Five > > > > Bill Purple - Partner - Helper Two > > > > Carol Smith - Executive > > > > Margaret McDonald - Manager > > > > Cindy Wright - Manager - Helper Five > > > > Ian Wright - Partner > > > > Richard McDonald - Partner - Helper Four > > > > Matthew White - Analyst > > > > Jason Yellow - Manager - Helper Seven > > > > Graham Bell - Executive > > > > Matt Smith - Executive - Helper Five > > > > Lucy Yellow - Analyst > > > > John Bell - Executive - Helper Eight > > > > Mike Brown - Consultant > > > > Mike Dunlop - Manager > > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > > Manager, > > > > Partner have their bookings done by Helpers and How many of them do > > > > their own > > > > bookings, and so on . > > > > Any solutions are greatly appreciated. > > > > Thanks > > > > > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
|
Please post your formula, so I can see exactly what you're working with.
*********** Regards, Ron XL2002, WinXP "Rudy" wrote: > hahaha.. > Thanks for the solution Ron. > I applied the formulas you gave me to my actual worksheet with 5000 names. > The second formula (The Dependent - H2) worked well and returned with > values, however, the first formula (The Self-Sufficient - G2) returned with 0 > value. Any idea when I have done wrong? > I've checked and re-checked, all seem okay. > > Thanks. > > > > > > "Ron Coderre" wrote: > > > Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for > > Rudy and I guess I only *thought* I posted it to this thread. I didn't even > > look at the name when I responded. > > > > More coffee, anyone? I'm getting some. : \ > > > > *********** > > Regards, > > Ron > > > > XL2002, WinXP > > > > > > "Rudy" wrote: > > > > > Hi Roger > > > > > > Thank you so much for your response. Half way through, almost solve my query. > > > > > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > > > as one value. For example, as on my list Bill Purple occurs 3 times and > > > Richard McDonald once. Both of their job titles are Partner and they both > > > have Helpers. > > > The formula you gave me will count Helper 4. What I would like is to count > > > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > > > McDonald as 1, hence, people with job title Partner has 2 bookings done by > > > Helper and so on. > > > > > > Many thanks. > > > > > > > > > > > > > > > > > > > > > > > > "Roger Govier" wrote: > > > > > > > Hi Rudy > > > > > > > > Set yourself up a matrix as follows > > > > > > > > No Helper Helper > > > > Analyst 3 3 > > > > Consultant 2 2 > > > > Executive 3 4 > > > > Manager 5 2 > > > > Partner 2 4 > > > > > > > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > > > in G1 > > > > in cell F2 enter the following > > > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > > > In cell G2 enter > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > > > Copy F2:G2 down through cells F3:6 > > > > > > > > The results I got are as in the table > > > > -- > > > > Regards > > > > > > > > Roger Govier > > > > > > > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > > > Hi > > > > > I was wondering if you could help me out in here. For example, I have > > > > > this > > > > > scenario of a database of 5000 employees who do many business travels. > > > > > Some > > > > > of these people have their tickets booked by Helpers and some do their > > > > > own > > > > > bookings. Notes that some names on the database repeated on the list > > > > > and > > > > > their Helpers could be different and some of them simply don't have > > > > > Helpers > > > > > do the bookings for them. > > > > > > > > > > Name - Job Title - Assistant > > > > > Amy Green - Analyst > > > > > Mike Brown - Consultant - Helper One > > > > > Lisa White - Manager > > > > > Bill Purple - Partner - Helper Two > > > > > Lucy Yellow - Analyst - Helper Three > > > > > Ian Dunlop - Consultant > > > > > Charlie White - Consultant - Helper Four > > > > > David Smith - Manager > > > > > John Bell - Executive - Helper Seven > > > > > Graham Bell - Executive > > > > > David Green - Analyst - Helper Five > > > > > Lucy Smith - Partner > > > > > Jan Dunlop - Analyst - Helper Eight > > > > > Mike Dunlop - Manager > > > > > John Brown - Executive - Helper Five > > > > > Bill Purple - Partner - Helper Two > > > > > Carol Smith - Executive > > > > > Margaret McDonald - Manager > > > > > Cindy Wright - Manager - Helper Five > > > > > Ian Wright - Partner > > > > > Richard McDonald - Partner - Helper Four > > > > > Matthew White - Analyst > > > > > Jason Yellow - Manager - Helper Seven > > > > > Graham Bell - Executive > > > > > Matt Smith - Executive - Helper Five > > > > > Lucy Yellow - Analyst > > > > > John Bell - Executive - Helper Eight > > > > > Mike Brown - Consultant > > > > > Mike Dunlop - Manager > > > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > > > Manager, > > > > > Partner have their bookings done by Helpers and How many of them do > > > > > their own > > > > > bookings, and so on . > > > > > Any solutions are greatly appreciated. > > > > > Thanks > > > > > > > > > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?UnVkeQ==?=
Guest
Posts: n/a
|
Hi Ron
The Self-Sufficient - No value returned or 0 =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000="")*ISNA(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) The Dependent - Value Returned - Worked well =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000<>"")*ISNUMBER(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) Thank you. Regards, Rudy "Ron Coderre" wrote: > Please post your formula, so I can see exactly what you're working with. > > *********** > Regards, > Ron > > XL2002, WinXP > > > "Rudy" wrote: > > > hahaha.. > > Thanks for the solution Ron. > > I applied the formulas you gave me to my actual worksheet with 5000 names. > > The second formula (The Dependent - H2) worked well and returned with > > values, however, the first formula (The Self-Sufficient - G2) returned with 0 > > value. Any idea when I have done wrong? > > I've checked and re-checked, all seem okay. > > > > Thanks. > > > > > > > > > > > > "Ron Coderre" wrote: > > > > > Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for > > > Rudy and I guess I only *thought* I posted it to this thread. I didn't even > > > look at the name when I responded. > > > > > > More coffee, anyone? I'm getting some. : \ > > > > > > *********** > > > Regards, > > > Ron > > > > > > XL2002, WinXP > > > > > > > > > "Rudy" wrote: > > > > > > > Hi Roger > > > > > > > > Thank you so much for your response. Half way through, almost solve my query. > > > > > > > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > > > > as one value. For example, as on my list Bill Purple occurs 3 times and > > > > Richard McDonald once. Both of their job titles are Partner and they both > > > > have Helpers. > > > > The formula you gave me will count Helper 4. What I would like is to count > > > > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > > > > McDonald as 1, hence, people with job title Partner has 2 bookings done by > > > > Helper and so on. > > > > > > > > Many thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Roger Govier" wrote: > > > > > > > > > Hi Rudy > > > > > > > > > > Set yourself up a matrix as follows > > > > > > > > > > No Helper Helper > > > > > Analyst 3 3 > > > > > Consultant 2 2 > > > > > Executive 3 4 > > > > > Manager 5 2 > > > > > Partner 2 4 > > > > > > > > > > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > > > > in G1 > > > > > in cell F2 enter the following > > > > > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > > > > In cell G2 enter > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > > > > Copy F2:G2 down through cells F3:6 > > > > > > > > > > The results I got are as in the table > > > > > -- > > > > > Regards > > > > > > > > > > Roger Govier > > > > > > > > > > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > > > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > > > > Hi > > > > > > I was wondering if you could help me out in here. For example, I have > > > > > > this > > > > > > scenario of a database of 5000 employees who do many business travels. > > > > > > Some > > > > > > of these people have their tickets booked by Helpers and some do their > > > > > > own > > > > > > bookings. Notes that some names on the database repeated on the list > > > > > > and > > > > > > their Helpers could be different and some of them simply don't have > > > > > > Helpers > > > > > > do the bookings for them. > > > > > > > > > > > > Name - Job Title - Assistant > > > > > > Amy Green - Analyst > > > > > > Mike Brown - Consultant - Helper One > > > > > > Lisa White - Manager > > > > > > Bill Purple - Partner - Helper Two > > > > > > Lucy Yellow - Analyst - Helper Three > > > > > > Ian Dunlop - Consultant > > > > > > Charlie White - Consultant - Helper Four > > > > > > David Smith - Manager > > > > > > John Bell - Executive - Helper Seven > > > > > > Graham Bell - Executive > > > > > > David Green - Analyst - Helper Five > > > > > > Lucy Smith - Partner > > > > > > Jan Dunlop - Analyst - Helper Eight > > > > > > Mike Dunlop - Manager > > > > > > John Brown - Executive - Helper Five > > > > > > Bill Purple - Partner - Helper Two > > > > > > Carol Smith - Executive > > > > > > Margaret McDonald - Manager > > > > > > Cindy Wright - Manager - Helper Five > > > > > > Ian Wright - Partner > > > > > > Richard McDonald - Partner - Helper Four > > > > > > Matthew White - Analyst > > > > > > Jason Yellow - Manager - Helper Seven > > > > > > Graham Bell - Executive > > > > > > Matt Smith - Executive - Helper Five > > > > > > Lucy Yellow - Analyst > > > > > > John Bell - Executive - Helper Eight > > > > > > Mike Brown - Consultant > > > > > > Mike Dunlop - Manager > > > > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > > > > Manager, > > > > > > Partner have their bookings done by Helpers and How many of them do > > > > > > their own > > > > > > bookings, and so on . > > > > > > Any solutions are greatly appreciated. > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
|
Rudy
When I re-arranged my data to match your structure, the formula returned correct values. I'm inclined to think that the problem lies in your data table. Try this: Make a backup copy of the workbook. Reduce the data list to just 10 rows. Check the values for anomalies: trailing spaces, false blanks, whatever. If that doesn't work....try re-typing some values to see if that impacts the formulas. Let us know what you discover. *********** Regards, Ron XL2002, WinXP "Rudy" wrote: > Hi Ron > > The Self-Sufficient - No value returned or 0 > =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000="")*ISNA(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) > > The Dependent - Value Returned - Worked well > =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000<>"")*ISNUMBER(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) > > Thank you. > > Regards, > Rudy > > > > > > "Ron Coderre" wrote: > > > Please post your formula, so I can see exactly what you're working with. > > > > *********** > > Regards, > > Ron > > > > XL2002, WinXP > > > > > > "Rudy" wrote: > > > > > hahaha.. > > > Thanks for the solution Ron. > > > I applied the formulas you gave me to my actual worksheet with 5000 names. > > > The second formula (The Dependent - H2) worked well and returned with > > > values, however, the first formula (The Self-Sufficient - G2) returned with 0 > > > value. Any idea when I have done wrong? > > > I've checked and re-checked, all seem okay. > > > > > > Thanks. > > > > > > > > > > > > > > > > > > "Ron Coderre" wrote: > > > > > > > Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for > > > > Rudy and I guess I only *thought* I posted it to this thread. I didn't even > > > > look at the name when I responded. > > > > > > > > More coffee, anyone? I'm getting some. : \ > > > > > > > > *********** > > > > Regards, > > > > Ron > > > > > > > > XL2002, WinXP > > > > > > > > > > > > "Rudy" wrote: > > > > > > > > > Hi Roger > > > > > > > > > > Thank you so much for your response. Half way through, almost solve my query. > > > > > > > > > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > > > > > as one value. For example, as on my list Bill Purple occurs 3 times and > > > > > Richard McDonald once. Both of their job titles are Partner and they both > > > > > have Helpers. > > > > > The formula you gave me will count Helper 4. What I would like is to count > > > > > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > > > > > McDonald as 1, hence, people with job title Partner has 2 bookings done by > > > > > Helper and so on. > > > > > > > > > > Many thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Roger Govier" wrote: > > > > > > > > > > > Hi Rudy > > > > > > > > > > > > Set yourself up a matrix as follows > > > > > > > > > > > > No Helper Helper > > > > > > Analyst 3 3 > > > > > > Consultant 2 2 > > > > > > Executive 3 4 > > > > > > Manager 5 2 > > > > > > Partner 2 4 > > > > > > > > > > > > > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > > > > > in G1 > > > > > > in cell F2 enter the following > > > > > > > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > > > > > In cell G2 enter > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > > > > > Copy F2:G2 down through cells F3:6 > > > > > > > > > > > > The results I got are as in the table > > > > > > -- > > > > > > Regards > > > > > > > > > > > > Roger Govier > > > > > > > > > > > > > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > > > > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > > > > > Hi > > > > > > > I was wondering if you could help me out in here. For example, I have > > > > > > > this > > > > > > > scenario of a database of 5000 employees who do many business travels. > > > > > > > Some > > > > > > > of these people have their tickets booked by Helpers and some do their > > > > > > > own > > > > > > > bookings. Notes that some names on the database repeated on the list > > > > > > > and > > > > > > > their Helpers could be different and some of them simply don't have > > > > > > > Helpers > > > > > > > do the bookings for them. > > > > > > > > > > > > > > Name - Job Title - Assistant > > > > > > > Amy Green - Analyst > > > > > > > Mike Brown - Consultant - Helper One > > > > > > > Lisa White - Manager > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > Lucy Yellow - Analyst - Helper Three > > > > > > > Ian Dunlop - Consultant > > > > > > > Charlie White - Consultant - Helper Four > > > > > > > David Smith - Manager > > > > > > > John Bell - Executive - Helper Seven > > > > > > > Graham Bell - Executive > > > > > > > David Green - Analyst - Helper Five > > > > > > > Lucy Smith - Partner > > > > > > > Jan Dunlop - Analyst - Helper Eight > > > > > > > Mike Dunlop - Manager > > > > > > > John Brown - Executive - Helper Five > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > Carol Smith - Executive > > > > > > > Margaret McDonald - Manager > > > > > > > Cindy Wright - Manager - Helper Five > > > > > > > Ian Wright - Partner > > > > > > > Richard McDonald - Partner - Helper Four > > > > > > > Matthew White - Analyst > > > > > > > Jason Yellow - Manager - Helper Seven > > > > > > > Graham Bell - Executive > > > > > > > Matt Smith - Executive - Helper Five > > > > > > > Lucy Yellow - Analyst > > > > > > > John Bell - Executive - Helper Eight > > > > > > > Mike Brown - Consultant > > > > > > > Mike Dunlop - Manager > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > > > > > > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > > > > > Manager, > > > > > > > Partner have their bookings done by Helpers and How many of them do > > > > > > > their own > > > > > > > bookings, and so on . > > > > > > > Any solutions are greatly appreciated. > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > > |
|
||
|
||||
|
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
|
One more thing....
You DID remember to commit all of the formulas with [ctrl]+[shift]+[enter] instead of just [enter], right? *********** Regards, Ron XL2002, WinXP "Rudy" wrote: > Hi Ron > > The Self-Sufficient - No value returned or 0 > =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000="")*ISNA(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) > > The Dependent - Value Returned - Worked well > =COUNT(1/FREQUENCY(IF(($H$2:$H$5000=A21)*($K$2:$K$5000<>"")*ISNUMBER(MATCH($E$2:$E$5000&TRUE,$E$2:$E$5000&($K$2:$K$5000<>""),0)),IF($E$2:$E$5000<>"",MATCH($E$2:$E$5000,$E$2:$E$5000,0))),ROW($E$2:$E$5000)-ROW($E$2)+1)) > > Thank you. > > Regards, > Rudy > > > > > > "Ron Coderre" wrote: > > > Please post your formula, so I can see exactly what you're working with. > > > > *********** > > Regards, > > Ron > > > > XL2002, WinXP > > > > > > "Rudy" wrote: > > > > > hahaha.. > > > Thanks for the solution Ron. > > > I applied the formulas you gave me to my actual worksheet with 5000 names. > > > The second formula (The Dependent - H2) worked well and returned with > > > values, however, the first formula (The Self-Sufficient - G2) returned with 0 > > > value. Any idea when I have done wrong? > > > I've checked and re-checked, all seem okay. > > > > > > Thanks. > > > > > > > > > > > > > > > > > > "Ron Coderre" wrote: > > > > > > > Hmmmm....Sorry, Roger/Rudy....I had come up with an erroneous solution for > > > > Rudy and I guess I only *thought* I posted it to this thread. I didn't even > > > > look at the name when I responded. > > > > > > > > More coffee, anyone? I'm getting some. : \ > > > > > > > > *********** > > > > Regards, > > > > Ron > > > > > > > > XL2002, WinXP > > > > > > > > > > > > "Rudy" wrote: > > > > > > > > > Hi Roger > > > > > > > > > > Thank you so much for your response. Half way through, almost solve my query. > > > > > > > > > > The Matrix/Formulaes you gave me are perfect, however, they count each Names > > > > > as one value. For example, as on my list Bill Purple occurs 3 times and > > > > > Richard McDonald once. Both of their job titles are Partner and they both > > > > > have Helpers. > > > > > The formula you gave me will count Helper 4. What I would like is to count > > > > > Bill Purple as 1 (although his name appears 3 times on the list) and Richard > > > > > McDonald as 1, hence, people with job title Partner has 2 bookings done by > > > > > Helper and so on. > > > > > > > > > > Many thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Roger Govier" wrote: > > > > > > > > > > > Hi Rudy > > > > > > > > > > > > Set yourself up a matrix as follows > > > > > > > > > > > > No Helper Helper > > > > > > Analyst 3 3 > > > > > > Consultant 2 2 > > > > > > Executive 3 4 > > > > > > Manager 5 2 > > > > > > Partner 2 4 > > > > > > > > > > > > > > > > > > With Analyst in E2, Consultant in E3 etc. and No Helper in F1, Helper > > > > > > in G1 > > > > > > in cell F2 enter the following > > > > > > > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31="")) > > > > > > In cell G2 enter > > > > > > =SUMPRODUCT(($B$2:$B$31=$E2)*($C$2:$C$31<>"")) > > > > > > Copy F2:G2 down through cells F3:6 > > > > > > > > > > > > The results I got are as in the table > > > > > > -- > > > > > > Regards > > > > > > > > > > > > Roger Govier > > > > > > > > > > > > > > > > > > "Rudy" <(E-Mail Removed)> wrote in message > > > > > > news:304D9859-5EFE-4539-BB71-(E-Mail Removed)... > > > > > > > Hi > > > > > > > I was wondering if you could help me out in here. For example, I have > > > > > > > this > > > > > > > scenario of a database of 5000 employees who do many business travels. > > > > > > > Some > > > > > > > of these people have their tickets booked by Helpers and some do their > > > > > > > own > > > > > > > bookings. Notes that some names on the database repeated on the list > > > > > > > and > > > > > > > their Helpers could be different and some of them simply don't have > > > > > > > Helpers > > > > > > > do the bookings for them. > > > > > > > > > > > > > > Name - Job Title - Assistant > > > > > > > Amy Green - Analyst > > > > > > > Mike Brown - Consultant - Helper One > > > > > > > Lisa White - Manager > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > Lucy Yellow - Analyst - Helper Three > > > > > > > Ian Dunlop - Consultant > > > > > > > Charlie White - Consultant - Helper Four > > > > > > > David Smith - Manager > > > > > > > John Bell - Executive - Helper Seven > > > > > > > Graham Bell - Executive > > > > > > > David Green - Analyst - Helper Five > > > > > > > Lucy Smith - Partner > > > > > > > Jan Dunlop - Analyst - Helper Eight > > > > > > > Mike Dunlop - Manager > > > > > > > John Brown - Executive - Helper Five > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > Carol Smith - Executive > > > > > > > Margaret McDonald - Manager > > > > > > > Cindy Wright - Manager - Helper Five > > > > > > > Ian Wright - Partner > > > > > > > Richard McDonald - Partner - Helper Four > > > > > > > Matthew White - Analyst > > > > > > > Jason Yellow - Manager - Helper Seven > > > > > > > Graham Bell - Executive > > > > > > > Matt Smith - Executive - Helper Five > > > > > > > Lucy Yellow - Analyst > > > > > > > John Bell - Executive - Helper Eight > > > > > > > Mike Brown - Consultant > > > > > > > Mike Dunlop - Manager > > > > > > > Bill Purple - Partner - Helper Two > > > > > > > > > > > > > > > > > > > > > > > > > > > > I am trying to find out How many Analyst, Consultant, Executive, > > > > > > > Manager, > > > > > > > Partner have their bookings done by Helpers and How many of them do > > > > > > > their own > > > > > > > bookings, and so on . > > > > > > > Any solutions are greatly appreciated. > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > > |
|
||
|
||||
|
|
|
| |
![]() |
| Thread Tools | |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using a conditional suffix in text function format syntax=text(value,format_text) | Brotherharry | Microsoft Excel Worksheet Functions | 1 | 13th Jan 2009 03:03 PM |
| Lookup Conditional Scenario - urgent (I have can't figure this out | Alexander | Microsoft Excel Worksheet Functions | 0 | 5th Sep 2008 09:20 AM |
| Can I create text that is conditional on text elsewhere in Word | =?Utf-8?B?dGpsMTI4?= | Microsoft Word Document Management | 1 | 19th Feb 2007 03:17 PM |
| Conditional Formatting based on text within a cell w/ text AND num | =?Utf-8?B?U2hpcmxleQ==?= | Microsoft Excel Worksheet Functions | 2 | 22nd Dec 2006 01:40 AM |
| Conditional Formatting based on Text within Text | =?Utf-8?B?R2VvcmdlIEx5bmNo?= | Microsoft Excel Misc | 3 | 5th May 2005 07:58 PM |
Powered by vBulletin®. Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2010, Crawlability, Inc. |




