Counting Unique Fields with Conditions

Moxioron

Active Member
Joined
Mar 17, 2008
Messages
436
Office Version
  1. 2019
Hello.

I am able to successfully get the number of unique days between two dates using:

=SUM(IF(FREQUENCY(IF(Detail!$Q$4:$Q$15000>=$B$3,IF(Detail!$Q$4:$Q$15000<=$C$3,Detail!$Q$4:$Q$15000)),Detail!$Q$4:$Q$15000),1))

However, I can't figure out how to add another variable. I am trying to count the number of days a user (column B) was logged into the phone system.

Example:
Martha had 445 phone calls between 01/01/2020 and 01/31/2020 and was logged in 22 of those days.

Any assistance would be appreciated. Thank you.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Can you please update your account details to show your versio, it saves members from having to ask all the time. Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,196
Members
449,072
Latest member
DW Draft

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