Hugo Koblet said:
Any Excell wizard out there that knows how I can count how many times a name occours over various sheets?
Would be fun to publish a list that shows how many times all riders have been picked when we start the new season. So far I have been doing it manually but that's just with like 4 teams - it takes quite some work when there are 100 teams
Not an expert - but I can work a spreadsheet ok.
The only ways I can think of doing that involves a little bit of stuffing around. I can explain a little, but if it doesnt work easily, once I have sent in my team I am hppy if you want to email me your spreadsheet and I will do it for you.
To do yourself
- create new worksheet on front
- if your sheet names are just "sheet 1' "sheet 2" etc, then leave them as that.
- on your summary sheet, list in column B all riders on cq
- assuming you then have seperate sheets with everyones teams, with the names in cells A1:A33 ... your formula will be
=SUMPRODUCT(COUNTIF(INDIRECT("'Sheet"&ROW(INDIRECT("1:30"))&"'!A1:A33"),b1)) Where 1:30 is assuming you have 30 teams with the worksheets named Sheet1 Sheet2 ... to Sheet30.
- If you copy this formula down the list of riders, it will count the number of times each rider has been used. You can then sort (using autofilters is easiest) to see the highest numbers etc.
- when new teams are added, just change the sheet range (and copy down the column to all riders) to include new teams in the count
- If the worksheets are named the team names (or any other name), you will need to list the sheet names in a column in your summary sheet in column A, and name the range Tabnames, then your formula would be
=SUMPRODUCT(COUNTIF(INDIRECT("'"&TabNames&"'!A1:A33"),b1))
other than that - Countif would work, but would involve you nesting a countif for each sheet/team (still create summary sheet with each riders name in column b (assuming you named sheets by username)
eg =COUNTIF(AussieGoddess!$A$1:$A$32,Summary!A6)+COUNTIF(Boomcie!$A$1:$A$31,Summary!A6)+COUNTIF(TimmyLovesRabo!$A$1:$A$35,Summary!A6) (assumes 3 teams and summary sheet, with rider names in column a)
It is simpler for you to use, but take longer to set up. If you do this, make sure you use absolute cell references for the range so that you can copy down the formula to all riders ....and then again just sort by the number of times.