HuskyJones
New Member
- Joined
- Sep 30, 2015
- Messages
- 45
- Office Version
- 365
- Platform
- Windows
Hey folks
You brilliantly helped me the other week with this but i've come across an issue.
What I want is
K = General Practice (in primary care)
AI = 0
AR OR AS OR AT = 1
I've got it to work as an AND but this is giving me too many people/tests e.g. AR4 and AT4 both have 1's so this is counted twice, I just need it once.
I'm sure my formula below will make you cringe but here goes...............
=COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AT$3:$AT$1003, "1")+COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AR$3:$AR$1003, "1")+COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AS$3:$AS$1003, "1")
If you can advise how I can get AR or AS or AT that would be AMAZING!
You brilliantly helped me the other week with this but i've come across an issue.
What I want is
K = General Practice (in primary care)
AI = 0
AR OR AS OR AT = 1
I've got it to work as an AND but this is giving me too many people/tests e.g. AR4 and AT4 both have 1's so this is counted twice, I just need it once.
I'm sure my formula below will make you cringe but here goes...............
=COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AT$3:$AT$1003, "1")+COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AR$3:$AR$1003, "1")+COUNTIFS('Raw Data'!$K$3:$K$1003,"General Practice (in primary care)", 'Raw Data'!$AI$3:$AI$1003, "0", 'Raw Data'!$AS$3:$AS$1003, "1")
If you can advise how I can get AR or AS or AT that would be AMAZING!