Sorry, another excel thread, but I'm just going round in circles trying to work out how to do something.
My worksheet contains details of invoices raised to pay suppliers in the last 12 months. Each line has the Supplier Name, Department to which the services were supplied and other related data. There are around 500,000 lines of data. I'm trying to determine for each Supplier the number of Departments they have supplied.
So using the example data below:
Line1. Supplier A, DepartmentZ
Line2. Supplier A, DepartmentY
Line3. Supplier A, DepartmentY
Line4. Supplier B, DepartmentZ
Line5. Supplier B, DepartmentZ
I would get:
Supplier A - 2
Supplier B - 1
The way I thought to approach it was to count unique text values (Departments) grouped by Supplier but even with the powers of Google I'm struggling to work out the principle let alone the formula to do it.
Any help will be gratefully accepted.
My worksheet contains details of invoices raised to pay suppliers in the last 12 months. Each line has the Supplier Name, Department to which the services were supplied and other related data. There are around 500,000 lines of data. I'm trying to determine for each Supplier the number of Departments they have supplied.
So using the example data below:
Line1. Supplier A, DepartmentZ
Line2. Supplier A, DepartmentY
Line3. Supplier A, DepartmentY
Line4. Supplier B, DepartmentZ
Line5. Supplier B, DepartmentZ
I would get:
Supplier A - 2
Supplier B - 1
The way I thought to approach it was to count unique text values (Departments) grouped by Supplier but even with the powers of Google I'm struggling to work out the principle let alone the formula to do it.
Any help will be gratefully accepted.