COUNTIF WITH UNIQUE COMBINATION

dannwid

New Member
Joined
Jul 26, 2017
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hello fellas, I need a little help on countif formula.

I have table with contains No of PO and Vendor Name. Sometimes, some vendors split one PO into 2 or more, hence they appear twice or more.

So, i need to countif every each of vendor by their unique PO. You can see the case in the picture below, I also put the xlsx file.

What combination formula can i use to achieve result in yellow area, with criteria on F4,F5,F6 and so on?

I am hopeful that I describe the case well.

Thank you in advance

Screenshot_13.jpg



EXCEL FILE: DOWNLOAD
 
That suggests you don't have the groupby function yet.
Try
Case 123.xlsx
BCDEFG
2formula result goal:
3POVENDORS NAMEVENDORNumber of POs (unique)
4123AAAAAA2
5123AAABBB1
6123AAACCC3
7123AAA
8222AAA
9222AAA
10333BBB
11333BBB
12441CCC
13442CCC
14443CCC
15443CCC
16
Sheet1
Cell Formulas
RangeFormula
F4:F6F4=UNIQUE(TOCOL(C4:C100,1))
G4:G6G4=ROWS(UNIQUE(FILTER($B$4:$B$100,$C$4:$C$100=F4)))
Dynamic array formulas.
I think this is the best solution. Thanks Fluff. ;)
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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