Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How Do I Count Unique Values in Excel

The data below is a small extract of my dataset. I have been trying to work with a formula to get a count of the unique number of times a day of the week appears for a room in given date range.

Data Table

Here is the formula I tried to use:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

=FILTER(Table1,Table1[Exam Rm Number]=I2)*(Table1[Day of Wk]=I1)

Here is the result I am getting:

Results

Can anyone help me with a formula to return what I am looking to do?

>Solution :

If I have understood correctly, then you would need to use a formula like as below:

enter image description here


• Formula used in cell B12

=LET(
     a,Table1[ApptDate],
     b,Table1[Day of Wk],
     c,Table1[Exam Rm Number],
     d,HSTACK(a,b,c),
     ROWS(UNIQUE(FILTER(d,(b="Thursday")*(c="Room 1")))))

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading