Don't count duplicates

RPowlett

New Member
Joined
Feb 5, 2016
Messages
15
Hi,

I hope someone can help with this query.

I am looking to record each of my team members activity excluding duplicate results.

Here is some sample data:

Phoner Company Name Date of Meeting DD/MM/YY Month Meeting Held in Initial Meeting Type AA1F or Tel "Does the company have a DB Scheme?
Y/N" Opportunity Booked on Total Fee/Bkge Consultants Name Pipeline, Work In Progress, Not Interested, Won or Lost
Caller 1 T J Smith & Nephew 01/03/2015 March Telephone No Opportunity 1 Consultant 11 Not Interested
Caller 1 Streamline 01/05/2015 May Face To Face Yes Opportunity 1 £10,000 Consultant 20 Won
Caller 1 Streamline 03/06/2015 June Telephone No Opportunity 1 Consultant 1 Won
Caller 1 Streamline 03/06/2015 June Face To Face Yes Opportunity 2 Consultant 12 Won
Caller 1 Street League 01/08/2015 August Telephone No Opportunity 3 Consultant 7 Won
Caller 1 T J Smith & Nephew 01/11/2015 November Face To Face Yes Opportunity 2 Consultant 3 Won
Caller 1 Streamline 02/11/2015 November Face To Face Yes Opportunity 1 Consultant 4 Won
Caller 1 Streamline 02/11/2015 November Telephone Yes Opportunity 2 Consultant 2 Won
Caller 1 Streamline 05/12/2015 December Face To Face Yes Opportunity 1 Consultant 8 Won
Caller 1 Abbott Laboratories 16/05/2015 May Face To Face Yes Opportunity 1 Consultant 20 Won
Caller 1 Aberdeen Asset Management August Face To Face No Opportunity 1 Consultant 6 Work In Progress

I need to find out how many different opportunities each caller has made counting duplicate opportunities for each company only once. I would also need a formula for the total amounts of the won opportunities for each caller.

For example Caller 1 has made a total of 5 opportunities so far worth £10k.

I tried this formula for the number of opportunities but I kept getting an inaccurate number:

{=SUM(IF(FREQUENCY(IF('BDT Meetings Log'!A2:A2000=A3,IF(1-('BDT Meetings Log'!B2:B2000=""),IF(1-('BDT Meetings Log'!G2:G2000=""),MATCH('BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!J2:J2000="Won")))),ROW('BDT Meetings Log'!G2:G2000)-ROW('BDT Year Stats'!A3)+1),1))}

Can someone help me please?

RPowlett
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi Aladin,

Thanks for responding. I'm really struggling to post the sample. I'll try to use a smaller sample if this helps?
 
Upvote 0
Hi Aladin,

I think it may have something to do with me using a work computer but I'm not sure.

Thanks and please see the smaller sample below:


Phoner Company Name Date of Meeting DD/MM/YY Month Meeting Held in Initial Meeting Type AA1F or Tel "Does the company have a DB Scheme?
Y/N" Opportunity Booked on Total Fee/Bkge Consultants Name Pipeline, Work In Progress, Not Interested, Won or Lost
Caller 2 Tagged Resources 07/01/2015 October Telephone No Opportunity 1 Consultant 19 Not Interested
Caller 1 T J Smith & Nephew 01/03/2015 March Telephone No Opportunity 1 Consultant 11 Not Interested
Caller 1 Streamline 01/05/2015 May Face To Face Yes Opportunity 1 £10,000 Consultant 20 Won
Caller 1 Streamline 03/06/2015 June Telephone No Opportunity 1 Consultant 1 Won
Caller 1 Streamline 03/06/2015 June Face To Face Yes Opportunity 2 Consultant 12 Won
Caller 1 Street League 01/08/2015 August Telephone No Opportunity 3 Consultant 7 Won

In this sample the two formulas should show that caller 1 has 4 opportunities worth a total of £10k so far.

Thank you

RPowlett
 
Upvote 0
Phoner

Company Name

Date of Meeting DD/MM/YY

Month Meeting Held in

Initial Meeting Type AA1F or Tel

Does the company have a DB Scheme?

Y/N

Opportunity Booked on

Total Fee/Bkge

Consultants Name

Pipeline, Work In Progress, Not Interested, Won or Lost

Caller 2

Tagged Resources

07/01/2015

October

Telephone

No

Opportunity 1

Consultant 19

Not Interested

Caller 1

T J Smith & Nephew

01/03/2015

March

Telephone

No

Opportunity 1

Consultant 11

Not Interested

Caller 1

Streamline

01/05/2015

May

Face To Face

Yes

Opportunity 1

£10,000

Consultant 20

Won

Caller 1

Streamline

03/06/2015

June

Telephone

No

Opportunity 1

Consultant 1

Won

Caller 1

Streamline

03/06/2015

June

Face To Face

Yes

Opportunity 2

Consultant 12

Won

Caller 1

Street League

01/08/2015

August

Telephone

No

Opportunity 3

Consultant 7

Won

Caller 1

T J Smith & Nephew

01/11/2015

November

Face To Face

Yes

Opportunity 2

Consultant 3

Won

Caller 1

Streamline

02/11/2015

November

Face To Face

Yes

Opportunity 1

Consultant 4

Won

Caller 1

Streamline

02/11/2015

November

Telephone

Yes

Opportunity 2

Consultant 2

Won

Caller 2

Tagged Resources

02/11/2015

November

Face To Face

No

Opportunity 1

Consultant 16

Not Interested

Caller 1

Streamline

05/12/2015

December

Face To Face

Yes

Opportunity 1

Consultant 8

Won


<tbody>
</tbody>

I think I done it thanks Aladin.

In the above example Caller 1 has won 5 unique opportunities for the companies totalling £10k so far.
This was my attempt for the number of won opportunities for each caller:

{=SUM(IF(FREQUENCY(IF('BDT Meetings Log'!A2:A2000=A3,IF(1-('BDT Meetings Log'!B2:B2000=""),IF(1-('BDT Meetings Log'!G2:G2000=""),MATCH('BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!J2:J2000="Won")))),ROW('BDT Meetings Log'!G2:G2000)-ROW('BDT Year Stats'!A3)+1),1))}

Not sure what I did wrong but I'd also need a formula that shows the total amount won by each caller, if possible.

Are you able to help with the two formulas?

Thanks

RPowlett
 
Upvote 0
[...]

I think I done it thanks Aladin.

In the above example Caller 1 has won 5 unique opportunities for the companies totalling £10k so far.
This was my attempt for the number of won opportunities for each caller:

{=SUM(IF(FREQUENCY(IF('BDT Meetings Log'!A2:A2000=A3,IF(1-('BDT Meetings Log'!B2:B2000=""),IF(1-('BDT Meetings Log'!G2:G2000=""),MATCH('BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!J2:J2000="Won")))),ROW('BDT Meetings Log'!G2:G2000)-ROW('BDT Year Stats'!A3)+1),1))}

Not sure what I did wrong but I'd also need a formula that shows the total amount won by each caller, if possible.

Are you able to help with the two formulas?

Thanks

RPowlett

Thanks for the sample.

Just looking at the formula you have, we should have:

{=SUM(IF(FREQUENCY(IF('BDT Meetings Log'!A2:A2000=A3,IF(1-('BDT Meetings Log'!B2:B2000=""),IF(1-('BDT Meetings Log'!G2:G2000=""),IF('BDT Meetings Log'!J2:J2000="Won",MATCH('BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,'BDT Meetings Log'!B2:B2000&'BDT Meetings Log'!G2:G2000,0))))),ROW('BDT Meetings Log'!G2:G2000)-ROW('BDT Meetings Log'!G2)+1),1))}

Does this deliver the goods you are after? Note that you need lock (dollarize) all ranges from BDT, if you are copying this down.
 
Upvote 0

Forum statistics

Threads
1,221,829
Messages
6,162,232
Members
451,756
Latest member
tommyw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top