Unique count

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,134
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I have this table what is required if the column Apr'23 cell is blank then no action but if has value then it to do a unique client count for column Actual Client Name output in column A.

Is their is a way as i tried a to but no desired result.

C count - Desired (Actual Client Name as Ref)Actual Client NameApr'23
1​
Bank of Maharashtra0
2​
Bank of Maharashtra1
1​
DIPG (Goa)1
1​
Nudge AWC FOUNDATION1
2​
Nudge AWC FOUNDATION1
1​
Adani Estate Management1
1​
ECGC1
1​
Sanofi1
1​
Symbiosis Inst of Law Management1
1​
APV- Citadel1
1​
Directorate of information (G-20/Gujarat)1
Nucleus Office Parks
3​
Bank of Maharashtra2
1​
Dezerv2
2​
Dezerv2
ABC MF
Adani Estate Management
Aegon Life Insurance
AMFI
 
It works for me
Fluff.xlsm
ABC
1Uniq CC RO INActual Cleint NameApr'23
2 CG Govt
3 CG Govt
4 CG Govt
51CG Govt4
62CG Govt4
Master
Cell Formulas
RangeFormula
A2:A6A2=IF(C2<>"",COUNTIFS(B$2:B2,B2,C$2:C2,"<>"),"")


Can you post some data using the XL2BB add-in that shows the problem
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
=IF(C2<>"",COUNTIFS(B$2:B2,B2,C$2:C2,"<>"),"")
I am using the same function but i am not getting the same result, not sure why.

Uniq CC
RO IN (Col BA)
Actual Cleint Name (Col BB)Apr'23 (Col BC)
Nucleus Office Parks
Nucleus Office Parks
3 (its not giving 1)Nucleus Office Parks3
4 (its not giving 2)Nucleus Office Parks1
Nucleus Office Parks
Nucleus Office Parks

my record starts from row number 8.

Excel Formula:
=IF(BC8<>"",COUNTIFS(BB$8:BB8,BB8,BC$8:BC8,"<>"),"")
 
Upvote 0
That suggest that col BC is not blank, is there a formula in it & if so what?
 
Upvote 0
That suggest that col BC is not blank, is there a formula in it & if so what?
yes it has a formula
Excel Formula:
=IF(AI8="","",INDEX(F8:AT8,MATCH($BC$7,$F$7:$AT$7,0))/100000)
this is the formula in BC
 
Upvote 0
Ok, try
Excel Formula:
=IF(BC8<>"",COUNTIFS(BB$8:BB8,BB8,BC$8:BC8,">0"),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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