Formula Help Please

rstagman

New Member
Joined
Apr 16, 2018
Messages
7
Good morning. I'm a new user to this forum but have been using it for a while now to learn and expand my skill set on different formulas. With that being said, I'm stumped on this one. Here's what I'm trying to do with the data below. If the Column D equals "Monitoring" then I want to count unique values in Column B. The formula should only be returning a count of 1 since the Testing Name in Column B is the same even though there are 2 entries for monitoring in Column D. I tried writing the formula below but am not having any luck. I also need this formula to work for blank cells. Can someone have a double look at the formula I've used below and let me know where I'm messing up? Thank you all very much for your help.


FORMULA USED:

=SUM(--(FREQUENCY(IF(B3:B31<>"",IF(D3:D31="Monitoring",MATCH(B3:B31,B3:B31,0))),ROW(B3:B31)-ROW(B3)+1)>0))

DATA:
Ref #Testing NameBusiness AreaTesting Type
1Testing 1CorporateTesting
2Testing 2CorporateTesting
3Testing 3CorporateTesting
4Testing 4CorporateTesting
5Testing 5CorporateTesting
6Testing 6CorporateTesting
7Testing 7CorporateTesting
8Testing 8CorporateTesting
9Testing 9CorporateTesting
10Testing 10CorporateTesting
11Testing 11CorporateTesting
12Testing 12CorporateTesting
13Testing 13CorporateTesting
14Testing 14CorporateTesting
15Testing 15CorporateTesting
16Testing 16CorporateTesting
17Testing 17CorporateTesting
18Testing 18CorporateTesting
19Testing 19CorporateTesting
20Testing 20CorporateTesting
21Testing 21CorporateTesting
22Testing 22CorporateTesting
23Testing 23CorporateTesting
24Testing 24CorporateTesting
25Testing 25CorporateTesting
26Testing 26CorporateTesting
27Testing 27CorporateTesting
28Testing 28CorporateTesting
29Testing 29Commercial LendingMonitoring
30Testing 29CorporateMonitoring

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
I've been continuing to work on this since I've posted. all I needed to do was press Ctrl+Shift+Enter and it worked. Sorry for the wasted thread.
 
Upvote 0
Your formula worked for me.
It is an array formula and must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCDEF
1
2Ref #Testing NameBusiness AreaTesting Type
31Testing 1CorporateTesting1
42Testing 2CorporateTesting
53Testing 3CorporateTesting
64Testing 4CorporateTesting
75Testing 5CorporateTesting
86Testing 6CorporateTesting
97Testing 7CorporateTesting
108Testing 8CorporateTesting
119Testing 9CorporateTesting
1210Testing 10CorporateTesting
1311Testing 11CorporateTesting
1412Testing 12CorporateTesting
1513Testing 13CorporateTesting
1614Testing 14CorporateTesting
1715Testing 15CorporateTesting
1816Testing 16CorporateTesting
1917Testing 17CorporateTesting
2018Testing 18CorporateTesting
2119Testing 19CorporateTesting
2220Testing 20CorporateTesting
2321Testing 21CorporateTesting
2422Testing 22CorporateTesting
2523Testing 23CorporateTesting
2624Testing 24CorporateTesting
2725Testing 25CorporateTesting
2826Testing 26CorporateTesting
2927Testing 27CorporateTesting
3028Testing 28CorporateTesting
3129Testing 29Commercial LendingMonitoring
3230Testing 29CorporateMonitoring
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

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