Hey All,
I have a the below Dummy data set and what I need to do is only get a count of the rows per name that contain a 1 so if there is a 0 we don't care about it essentially.
so like in the case of Dean it should just be a count of 3 and so on.
This might be a simple task but I cant see way to do it after trying various approaches already.
Sample data:
| Name | Present_or_Not | Year |
| Dean | 1 | 2023 |
| Dean | 1 | 2023 |
| Dean | 1 | 2023 |
| Dean | 0 | 2023 |
| Dean | 0 | 2023 |
| James | 1 | 2023 |
| James | 1 | 2023 |
| James | 0 | 2023 |
| Liam | 0 | 2023 |
| Liam | 0 | 2023 |
| Liam | 1 | 2023 |
| Liam | 1 | 2023 |
| Liam | 1 | 2023 |
| Liam | 0 | 2023 |
| Liam | 0 | 2023 |
Cheers to you all in advance.