Countif Unique Values

Velven

New Member
Joined
Nov 30, 2017
Messages
37
Hello !

I am trying to make a counting for unique value on the same date.
I've seen several formulas here and it's too complex for me to understand :(.

Staff record ( Sheet 1 )
ABCD
1DateStaffDep QuantityWa Quantity
212/1/2017AlexExpected value
1
Expected Value
1
312/1/2017JohnExpected Value
2
Expected Value
0
412/2/2017AlexExpected Value
1
Expected Value 0
512/2/2017JohnExpected Value 0Expected Value 1

<tbody>
</tbody>

Customers Record ( Sheet 2 )
ABCD
1DateCustomersDep or WaStaff
212/1/2017Cust ADepAlex
312/1/2017Cust AWaAlex
412/1/2017Cust ADepAlex
512/1/2017Cust BDepJohn
612/1/2017Cust CDepJohn
712/2/2017Cust CWaJohn
812/2/2017Cust DDepAlex

<tbody>
</tbody>

So what I'm trying to do is under C2:E5 must be filled in with the values shown on Sheet 2.

C2 must check date on both sheet if matches , check staff on both sheets , Check if it's a Dep or Wa. Check if it's a Unique Customer for the current date.

Dep and Wa must be separate. Meaning Unique Wa count and Unique Dep count , only unique for the same date.


If anybody even understand what I'm trying to do :confused:. I suck at explaining. But it's too complex for me to make a formula.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Try:
These are array formulas and must be entered with CTRL-SHIFT-ENTER.

Drag formulas down column as needed.

Excel Workbook
ABCD
1DateStaffDep QuantityWa Quantity
212/1/2017Alex11
312/1/2017John20
412/2/2017Alex10
512/2/2017John01
Sheet1
Excel Workbook
ABCD
1DateCustomersDep or WaStaff
212/1/2017Cust ADepAlex
312/1/2017Cust AWaAlex
412/1/2017Cust ADepAlex
512/1/2017Cust BDepJohn
612/1/2017Cust CDepJohn
712/2/2017Cust CWaJohn
812/2/2017Cust DDepAlex
Sheet2
 
Upvote 0

Forum statistics

Threads
1,215,680
Messages
6,126,188
Members
449,296
Latest member
tinneytwin

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