bobaaholic
New Member
- Joined
- Aug 4, 2021
- Messages
- 2
- Office Version
- 365
- Platform
- MacOS
Hi everyone, I'm not sure if this has been posted before but I couldn't find anything on it. I'm working on a project with characteristics being marked with two letters to indicated morning or evening for different columns and I'd like to count the cells without double-counting cells with related characteristics. I'd also like I've tried a few variations of COUNTIF but haven't really been able to figure it out.
For example, I'd like to count the number of people using Drug X or Drug Z. There are 3 people using Drug X and one person is using Drug X and Drug Z but I'd like to only count them as 3 people (instead of 4 non-empty cells for Drug X and Drug Z). Also I'd like to count the cells only with M. Hope that made sense!
For example, I'd like to count the number of people using Drug X or Drug Z. There are 3 people using Drug X and one person is using Drug X and Drug Z but I'd like to only count them as 3 people (instead of 4 non-empty cells for Drug X and Drug Z). Also I'd like to count the cells only with M. Hope that made sense!
Drug.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Name | Drug X | Drug Y | Drug Z | ||
2 | Beth | M | E | |||
3 | Amy | M | ||||
4 | Connor | M | E | |||
Sheet2 |