So, just to be sure, you want your formula in sheets "Game Data" column "D". Correct?
And the results in column D should display the sum of goals scored by the player from sheets "Player Games" cell "A1" up until the point where this formula is?
like this if the name was dave, results of formula in ""
john 2 "blank"
dave 1 "1"
john 3 "blank"
dave 3 "4"
like this if the name was john, results of formula in ""
john 2 "2"
dave 1 "blank"
john 3 "5"
dave 3 "blank"
works a treat if the person is in e2 but for example the person in such a large database in e8336 it wont work for unless i change e2 to e8366 see below -
From -
=IF(AND('Game Data'!$E2='Player games'!A$1,'Game Data'!$H2>=1),SUMIF('Game Data'!$E$2:E2,'Player games'!A$1,'Game Data'!$H$2:H2),"")
To -
=IF(AND('Game Data'!$E8366='Player games'!A$1,'Game Data'!$H8366>=1),SUMIF('Game Data'!$E$8366:E8366,'Player games'!A$1,'Game Data'!$H$8366:H8366),"")
i would have to change this for each player search
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.