Excel SUMIF with INDEX and MATCH

Sontu

New Member
Joined
Mar 1, 2018
Messages
2
I have a set of data that looks like the attached table. I want to be able to sum all the values that fall under the Alphas, Betas, X-Rays etc. for a particular specimen. I suppose the SUMIF function with INDEX and MATCH should work, however i am unable to put the formula together. Any help would be much appreciated.

AlphaBetaX-Ray Gamma Neutron
AlphaBetaGamma NeutronAlphaBetaX-Ray BetaX-Ray Gamma NeutronBetaX-Ray AlphaBetaX-Ray Gamma NeutronBetaX-Ray AlphaNeutronGamma
Spec A1744283828 12436121083128926851075841012
NeutronX-Ray Gamma NeutronAlphaBetaGamma AlphaX-Ray Gamma NeutronBetaX-Ray AlphaBetaX-Ray Gamma BetaGammaX-RayBetaAlphaNeutron
Spec B2641322927 8912710467107688112548103986
NeutronX-Ray Gamma NeutronAlphaBetaGamma AlphaX-Ray Gamma NeutronBetaX-Ray AlphaBetaX-Ray Gamma BetaNeutronX-RayAlphaGammaBeta
Spec C3336342623 44878109126152128612810745128

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

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Based on your data above try:
The formula in B3 can just be copied across and then copied to the other rows.
Excel Workbook
ABCDEFGHIJKLMN
1AlphaBetaX-RayGammaNeutron`
2AlphaBetaGammaNeutronAlphaBetaX-Ray
3Spec A1744283828124361210
4NeutronX-RayGammaNeutronAlphaBetaGamma
5Spec B2641353927891271046
6NeutronX-RayGammaNeutronAlphaBetaGamma
7Spec C333638382344878109
Sheet
 
Upvote 0
Based on your data above try:
The formula in B3 can just be copied across and then copied to the other rows.

ABCDEFGHIJKLMN
1 AlphaBetaX-RayGammaNeutron `
2 AlphaBetaGammaNeutronAlphaBetaX-Ray
3Spec A1744283828 124361210
4 NeutronX-RayGammaNeutronAlphaBetaGamma
5Spec B2641353927 891271046
6 NeutronX-RayGammaNeutronAlphaBetaGamma
7Spec C3336383823 44878109

<colgroup><col style="width:30px; "><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:31px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"><col style="width:64px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B3=SUMIF($H2:$AD2,B$1,$H3:$AD3)
B5=SUMIF($H4:$AD4,B$1,$H5:$AD5)
B7=SUMIF($H6:$AD6,B$1,$H7:$AD7)

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Thanks mate. It works. I realised i was complicating things for no reason.
 
Upvote 0

Forum statistics

Threads
1,215,239
Messages
6,123,816
Members
449,127
Latest member
Cyko

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