Data summary using Index or countif

Demona

New Member
Joined
Sep 30, 2015
Messages
1
I have a survey questionairre which asked for one or multiple answers.
Now I need to summarize the date and facing the belwo issue:

The question was asked to select one or more of the below options:

Options
AMER

<tbody>
</tbody>
APAC

<tbody>
</tbody>
Legislation

<tbody>
</tbody>
Agency

<tbody>
</tbody>
Others

<tbody>
</tbody>

<tbody>
</tbody>

The final data received from the survey is in the form of below:
Row LabelsAMERAPAC
Legislation 1 1
Agency 2 1
Others 3 -
Legislation, Agency 4 1
Agency,Others 1 3
Legislation, Agency, Others 1 5
Grand Total 12 11


<colgroup><col><col span="2"></colgroup><tbody>
</tbody>

I need to summarise the total count on each of the 3 options for each region. I tried using countif, it did not work. I think I need to use Index formula s this is not simple vlookup case. Your assistance is appreciated.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi

Try this:

Code:
=SUMIFS(AMERColumn, RowLabelsColumn, "*"&A2&"*")

Where A2 contains "Legislation", AMERColumn is the 1,2,3,4,1,1,12 column from your final data, and RowLabelsColumn contains Legislation, Agency, Others etc. from your final data. This works by summing the number based on the first column containing for example "Legislation" somewhere in the string, as I have appended wildcards * either side of the term.

Hope that helps

Mackers
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

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