mark hansen
Well-known Member
- Joined
- Mar 6, 2006
- Messages
- 534
- Office Version
- 2016
- Platform
- Windows
I've been working on a formula for 3 days now and still getting a #VALUE error.
I have a table and need to count the amount of "Yes" and "No" answers in a range of columns.
I can count the amount of "Yes" (and "no") answers in a column range. This formula works
=COUNTIFS(Table1[[Was pain re-assessed and documented within 1 hour of intervention? ]:[Was falls risk assessment completed using age appropriate scale?]],"Yes")
I can count the amount of rows within a date range. This formula also works... (DB35 is start date and BD36 is ending date)
=COUNTIFS(Table1[Date of Visit],">="&BD35,Table1[Date of Visit],"<="&BD36)
But when I put them together I get a #VALUE error
=COUNTIFS(Table1[Date of Visit],">="&BD35,Table1[Date of Visit],"<="&BD36,Table1[[Was pain re-assessed and documented within 1 hour of intervention? ]:[Was falls risk assessment completed using age appropriate scale?]],"Yes")
What am I overlooking?
Thanks,
Mark
I have a table and need to count the amount of "Yes" and "No" answers in a range of columns.
I can count the amount of "Yes" (and "no") answers in a column range. This formula works
=COUNTIFS(Table1[[Was pain re-assessed and documented within 1 hour of intervention? ]:[Was falls risk assessment completed using age appropriate scale?]],"Yes")
I can count the amount of rows within a date range. This formula also works... (DB35 is start date and BD36 is ending date)
=COUNTIFS(Table1[Date of Visit],">="&BD35,Table1[Date of Visit],"<="&BD36)
But when I put them together I get a #VALUE error
=COUNTIFS(Table1[Date of Visit],">="&BD35,Table1[Date of Visit],"<="&BD36,Table1[[Was pain re-assessed and documented within 1 hour of intervention? ]:[Was falls risk assessment completed using age appropriate scale?]],"Yes")
What am I overlooking?
Thanks,
Mark