I would be grateful to receive a steer as to the formula to use, where I have a list, that involves 20 names, in 5 different areas identified by an abbreviated label, and those names fall into either T or C types which alter frequently although the area and name does not. I need to produce a total for each T or C according to area. without altering the position of the original data.
I have set out a small array showing name, type and class although in practise the name is irrelevant to the totals needed
[TABLE="width: 572"]
<tbody>[TR]
[TD][TABLE="width: 551"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Area[/TD]
[TD]Class[/TD]
[TD] Type St "C"[/TD]
[TD]Type St "T"[/TD]
[TD] Type Ux "C"[/TD]
[TD]Type Ux "T"[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]St[/TD]
[TD]C[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]Ux[/TD]
[TD]T[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Donald[/TD]
[TD]St[/TD]
[TD]T[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Richard[/TD]
[TD]Ux[/TD]
[TD]T[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Totals[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
Easy to do in old fashioned Basic. I have tried match and index but my lack of expertise with Excel a frustrating handicap.
Many thanks for reading this and if you can help that would be appreciated[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have set out a small array showing name, type and class although in practise the name is irrelevant to the totals needed
[TABLE="width: 572"]
<tbody>[TR]
[TD][TABLE="width: 551"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Area[/TD]
[TD]Class[/TD]
[TD] Type St "C"[/TD]
[TD]Type St "T"[/TD]
[TD] Type Ux "C"[/TD]
[TD]Type Ux "T"[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]St[/TD]
[TD]C[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tom[/TD]
[TD]Ux[/TD]
[TD]T[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Donald[/TD]
[TD]St[/TD]
[TD]T[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Richard[/TD]
[TD]Ux[/TD]
[TD]T[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Totals[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
Easy to do in old fashioned Basic. I have tried match and index but my lack of expertise with Excel a frustrating handicap.
Many thanks for reading this and if you can help that would be appreciated[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]