• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

COUNT Uniques names- Multiple conditions

Hello All,

I am trying to build a formula to count Unique people names in Column "G" with a multiple conditions. Conditions are:
1. By type in Column "K".
2. By period of time in Column "J".
3. By Location in column "D".

We are looking now at a Analysis sheet.
When I am changing the dates in F7, 8 and G7, 8; and selecting the location name in C4,

In all F and G 12:27 I should have a number of unique (not repeated) names of people from column "G" related to the selected time period and location number.

Thank you.
 

Attachments

  • New Report_2.xlsm
    926.9 KB · Views: 3
Also,

when there is "zero' amount in column "L", the number of unique names in column "G" should be counted.

Thank you.
 
Hi Dan ,

Over 200,000 lines , no array formula is going to be fast.

The only way you can speed it up is either by using helper columns or by using VBA.

Narayan
 
Hi:

I am not sure how fast it is going to run in a bigger data set. I have put a macro to do the same.

Thanks
 

Attachments

  • New Report_2.xlsm
    937.1 KB · Views: 2
Back
Top