Need help with Count excluding duplicates when using a table

Golfpro1286

New Member
Joined
Aug 22, 2018
Messages
30
I have a table of data that contains the following columns. I am trying to count the number of loans each officer has made. In order to have a slicer on the dashboard to switch between combinations of New/Refi funds some loans can be duplicates. Can someone help me with a formula to count the loans an officer makes excluding duplicates that occur in the "Funds(New/refi)" column. This will show in a separate tab that has other loan information the cell references below are on that tab.

I would like to count the counting field to be the Loan # Column and to exclude duplicates.
Here are the ifs that need to apply: Date <= cell G2; Date >= cell K2; Officer = cell A10; System = "CL";

In the example below the count should be 3 even though there are 5 entries, there are 2 duplicates (in red).

[TABLE="class: grid, width: 1000"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Officer Name[/TD]
[TD]Borrower[/TD]
[TD]System[/TD]
[TD]Loan #[/TD]
[TD]Funds(New/Refi)[/TD]
[TD]Loan Amount[/TD]
[/TR]
[TR]
[TD]10/1/18[/TD]
[TD]Officer 1[/TD]
[TD]Borrower 1[/TD]
[TD]CL[/TD]
[TD]123456[/TD]
[TD]New[/TD]
[TD]$5,000.00[/TD]
[/TR]
[TR]
[TD]10/1/18[/TD]
[TD]Officer 1[/TD]
[TD]Borrower 1[/TD]
[TD]CL[/TD]
[TD]123456[/TD]
[TD]Refi[/TD]
[TD]$7,500.00[/TD]
[/TR]
[TR]
[TD]10/3/18[/TD]
[TD]Officer 1[/TD]
[TD]Borrower 2[/TD]
[TD]CL[/TD]
[TD]123457[/TD]
[TD]New[/TD]
[TD]$10,000.00[/TD]
[/TR]
[TR]
[TD]10/5/18[/TD]
[TD]Officer 1[/TD]
[TD]Borrower 3[/TD]
[TD]CL[/TD]
[TD]123458[/TD]
[TD]New[/TD]
[TD]$12,000.00[/TD]
[/TR]
[TR]
[TD]10/5/18[/TD]
[TD]Officer 1[/TD]
[TD]Borrower 3[/TD]
[TD]CL[/TD]
[TD]123458[/TD]
[TD]Refi[/TD]
[TD]$9,000.00[/TD]
[/TR]
</tbody>[/TABLE]


Thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I ended up just creating a new column to dictate if it was a duplicate entry and added that to my current Countifs formula.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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