Counting using frequency formula with multiple criteria

Beefboy

New Member
Joined
Jul 10, 2017
Messages
2
I have a financial modeling issue I can not solve.

I am seeking:

1. The number of unique obligors with a senior debt principle value investments >0
2. The number of unique obligors with a principle value investment >0


A,1BCD What I expect the results to be:
2Obligor IDPrinciple ValueSenior Debt
(Yes = 1)
Unique Obligors with Senior Debt Investments w/ Principle > 0Unique Obligors w/ Principle > 0
311001 11
422001 11
52300
63110 1
74115 1
851201 11
951601
1062001 11
117300 1
11801
1281001 11
12901
1290
Result:58

<tbody>
</tbody><colgroup><col style="text-align: center;" span="2"><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"><col style="text-align: center;"></colgroup>



I have been trying to utilize a derivative of the formula provided in the following thread but cant get it right.

=SUM(IF(FREQUENCY(IF(A6:A100=E2,IF(C6:C100<>"",C6:C100)),IF(A6:A100=E2,IF(C6:C100<>"",C6:C100))),1))
https://www.mrexcel.com/forum/excel...sing-frequency-formula-multiple-criteria.html

Your help would be greatly appreciated,

Chris
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
If your ID's are numeric then formulas in E & F17.
If ID's are text then formulas in E & F18.
These are array formulas and must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDEF
1Obligor IDPrinciple ValueSenior DebtUnique Obligors with Senior Debt Investments w/ Principle > 0Unique Obligors w/ Principle > 0
2(Yes = 1)
311001
422001
52300
63110
74115
851201
951601
1062001
117300
12801
1381001
14901
1590
16Result:
1758
1858
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,540
Members
449,038
Latest member
Guest1337

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