Formula to Calculate Complex Count

masouder

Board Regular
Joined
Jul 5, 2013
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
I have a somewhat complex count to complete. I need to count the number of Accounts that have more than one Carrier where the Agent is Sally and the Date is Aug 1. In the example below the formula should return 1: only ACME Hardware has more than one Carrier.

Any help is appreciated.

Excel Question.xlsx
ABCD
1AccountCarrierAgentDate
2ACME HardwareCalChoiceSally1-Aug
3ACME HardwareCovered CaliforniaSally1-Aug
4ACME HardwareChoice BuilderSally1-Aug
5ACME HardwareChoice BuilderSally1-Aug
6ACME HardwareChoice BuilderSally1-Aug
7ACME HardwareChoice BuilderSally1-Aug
8ACME HardwareBeam DentalSally1-Aug
9ACME HardwareBeam DentalSally1-Aug
10South Street MarketBlue ShieldSally1-Aug
11South Street MarketBlue ShieldSally1-Aug
12South Street MarketBlue ShieldSally1-Aug
13South Street MarketBlue ShieldSally1-Aug
14Mid City DrugstoreMetLifeSally1-Aug
15Mid City DrugstoreMetLifeSally1-Aug
16Mid City DrugstoreMetLifeSally1-Aug
17Mid City DrugstoreMetLifeSally1-Aug
18Mid City DrugstoreMetLifeSally1-Aug
19Mid City DrugstoreMetLifeSally1-Aug
20Mid City DrugstoreMetLifeSally1-Aug
21Mid City DrugstoreMetLifeSally1-Aug
22Mid City DrugstoreMetLifeSally1-Aug
Sheet1 (2)
 
Not sure if this is related to deleting blank, but when I deleted rows where Joe is the Agent then it worked.
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,962
Latest member
Fenes

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