Counting multiple answers from Forms

Katarnnl

New Member
Joined
Jun 27, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have exported the results of several identical surveys I conducted in Forms and are now trying to combine and analyse the results in Excel. However I get stuck at the responses with multiple answer categories. After using a pivottable on the results, the outcome in Excel show up like this:

ResponseCount
answer1;answer25
answer1;answer3;other1
answer1;answer2;answer33
other1
answer3;answer12

The issue is that the "other" answer is whatever text the respondent put there. Using SUMIF formulas, I have been able to count the number of answer1, answer2, etc. But I cannot find a way yet to count the "other" answers.

Currently I do not really care what exact text the respondent included, I just want to count the number of respondent who answered anything other than answer1, answer2, etc. So the result I am looking for should look like this:

ResponseCount
answer111
answer28
answer36
other2

Anyone any ideas on this one?
 
That is strange. Not sure how it is calculated, but I got an error here on a list with 7.000 characters, including spaces. Can it depend somehow on system settings perhaps?
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
What does this return after changing the ranges to match your real data.
Excel Formula:
=SUM(LEN(REPT(A2:A6,B2:B6)))
 
Upvote 0
Ok, that is what I was afried of. If you multiply it with the numbers, you easily go over. If I use your formula on all of the data, it is not even working, I get #VALUE. But if I just adjust the range to a small portion of the data, it already goes over 32,000
 
Upvote 0
How many main answers do you have?
 
Upvote 0
If you don't have too many main answers, this could work.
MrExcelPlayground18.xlsx
ABCDE
1ResponseCountMain Answers
2answer1;answer2;5answer111
3answer1;answer3;random;1answer28
4answer1;answer2;answer3;3answer36
5text;things;1other5
6answer3;answer1;more random;2
Sheet12
Cell Formulas
RangeFormula
E2:E4E2=LET(x,$A$2:$A$6,y,$B$2:$B$6,SUM(FILTER(y,NOT(ISERR(SEARCH(D2,x))))))
E5E5=LET(x,$A$2:$A$6,y,$B$2:$B$6,a,SUBSTITUTE(x,D2,""),aa,SUBSTITUTE(a,D3,""),aaa,SUBSTITUTE(aa,D4,""),b,SUBSTITUTE(aaa," ",""),c,TRIM(SUBSTITUTE(b,";"," ")),d,IF(c<>"",1+LEN(c)-LEN(SUBSTITUTE(c," ","")),0),SUM(d*y))
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,040
Members
449,092
Latest member
ikke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top