Feb 19 2022 10:51 PM
Feb 19 2022 10:51 PM
Hi Excel Community,
Thank you for reading this question, I think it might be easier to explain if you could kindly open the attached excel.
Background: I have a set of different clinical trials that needs to be evaluated and categorize into different groups. Group 1 means they're clinical trials that include patients with moderate and severe Covid-19 patients. Group 1+2 means they're clinical trials that further narrows only specifically moderate Covid-19 patients.
Goal: I would like to create one column of this Relevance Grouping. And then create the table seen in row 22 and 23 where I can analysis the # of total trials and median RR.
Current Issue and Question: Because of the Relevance Groups that overlaps "1+2", I don't know how to use excel formula in this situation. Could someone kindly show me how to resolve this with formula in Row 27 and 28?
Thanks so much,
Feb 19 2022 11:42 PM
Thanks so much for your time to respond and provide your feedback within the excel! That is very helpful however I realized that my original data set includes other categories as well as blank cells which are uncategorized. I have revised the sample Raw Data in the attach excel document in yellow highlighted rows.
1) Could you teach me how to count for the number of studies that are in Group 1 and 2 when the original data set has more categories involved?
2) And similarly for finding the median RR? Looking at your excel formula, I tried to use a similar approach to find the median RR such as this one, but excel did not accept it:
=MEDIAN(FILTER(Table8[RR],Table8[Relevance Group]=1 or "1+2"))
Thank you kindly,
Feb 20 2022 12:12 AMSolution
@AmyYang See attached.
The key to all these calculations is the FILTER function. You can study the help pages to gain an understanding on how this function works. Combining criteria with the + sign works like a logical OR operation. When you use the * sign it's like AND.
Once you have narrowed down the dataset by filtering, you can apply COUNTA and MEDIAN.
Feb 26 2022 12:40 AM
@Riny_van_Eekelen Hi Riny, thanks so much for your follow-up feedback, that makes a lot of sense! Thanks for sharing and teaching.