Hi!
I have a dashboard which contains multiple rows with various study numbers (listed in a Study Number column). Some of the study numbers occur more than once in the column (for example study 12345 is for liquid samples and in another row, study 12345 is for solid samples). Each study number is also associated with a study status (ACTIVE, CLOSED) which appears in another column. I'm trying to
- Count each study number only once no matter how many times it appears in the column
- Define the status for the study since it should be the same no matter how many times it appears.
For example, in the following example, my macro will ultimately tell me that I have 2 active studies. Just to note, my column that has study number has ~200 rows in reality and the study numbers don't always appear next to each other in order.
Thank you!
STUDY Sample Type. STATUS
ABCDE. solid active
ABCDE. liquid active
CCCCC. liquid active
CCCCC solid active