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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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,215,420
Messages
6,124,803
Members
449,190
Latest member
cindykay

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