LOOKUP / SUBTOTAL formula based on set criterior

Jzfbkr

New Member
Joined
Aug 4, 2014
Messages
29
FormationScoredConceededHome / AwayResultPoints
4-4-2
42HW
3
3-5-222HD1
4-3-301AL0
4-4-211AD1

<tbody>
</tbody>










FormationTotal ConceededTotal Scored#W#D#LTotal Points
4-4-2??????

<tbody>
</tbody>


Based on the table above does anybody know formulas that can return the following information. I have been trying to use a LOOKUP function but having no joy.

Any help on this would be massively appreciated.

Thanks
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Won't a SUMIF and COUNTIF work?


Excel 2010
ABCDEFG
1FormationScoredConceededHome / AwayResultPoints
24-4-242HW3
33-5-322HD1
44-3-301AL0
54-4-211AD1
6
7FormationTotal ConceededTotal Scored#W#D#LTotal Points
84-4-2351104
Sheet3
Cell Formulas
RangeFormula
B8=SUMIF($A$2:$A$5,$A$8,$C$2:$C$5)
C8=SUMIF($A$2:$A$5,$A$8,$B$2:$B$5)
D8=COUNTIFS($A$2:$A$5,$A$8,$E$2:$E$5,"W")
E8=COUNTIFS($A$2:$A$5,$A$8,$E$2:$E$5,"D")
F8=COUNTIFS($A$2:$A$5,$A$8,$E$2:$E$5,"L")
G8=D8*3+E8
 
Last edited:
Upvote 0
Brilliant!! Sorry I don't know why I didn't think of that in the first place! Thanks for your help.

If there a way to apply these formulas to only visible cells? For instance when I filter data I only want the filtered data to be included?
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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