View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rudy Rudy is offline
external usenet poster
 
Posts: 31
Default Conditional Scenario of Text value

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" wrote in message
...
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