Using Excel to Edit Rosters?

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Using Excel to Edit Rosters?

Post by colinrsmall »

So I've heard that it's possible to use Excel to edit rosters? I've tried using the editor to export rosters as CSVs but I can't figure out how best to edit the CSV and import it again. Is there a guide somewhere to using Excel to edit rosters? I like the editor but it can be a bit slow to search for players.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Using Excel to Edit Rosters?

Post by archibalduk »

Yes; that's correct.

I have made a start writing some guides on how to edit via spreadsheets but it is slow progress. This is the thread where I am/will publish the guides: http://www.ehmtheblueline.com/forums/vi ... 10&t=18124 (the guide on how to create a research sheet might be of use to you)

The Editor uses preset forms of spreadsheets for editing/importing data. You can create these by clicking on the following in the Editor (you don't have to load a database first): Tools -> Import Spreadsheet -> Create Templates. You can choose the format by selecting CSV, XLSX or XML before clicking on the Create Templates button. XLSX is the generally the best format to use.

To move a player to a team, you would open the staff.xlsx file (which is created via Create Templates above), enter the player's name and DOB and you can then adjust the Club Playing and/or Club Contracted columns accordingly. Once your spreadsheet is ready, open the chosen database in the Editor and click on Tools -> Import Spreadsheet -> Import Spreadsheet.
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Re: Using Excel to Edit Rosters?

Post by colinrsmall »

archibalduk wrote:Yes; that's correct.

I have made a start writing some guides on how to edit via spreadsheets but it is slow progress. This is the thread where I am/will publish the guides: http://www.ehmtheblueline.com/forums/vi ... 10&t=18124 (the guide on how to create a research sheet might be of use to you)

The Editor uses preset forms of spreadsheets for editing/importing data. You can create these by clicking on the following in the Editor (you don't have to load a database first): Tools -> Import Spreadsheet -> Create Templates. You can choose the format by selecting CSV, XLSX or XML before clicking on the Create Templates button. XLSX is the generally the best format to use.

To move a player to a team, you would open the staff.xlsx file (which is created via Create Templates above), enter the player's name and DOB and you can then adjust the Club Playing and/or Club Contracted columns accordingly. Once your spreadsheet is ready, open the chosen database in the Editor and click on Tools -> Import Spreadsheet -> Import Spreadsheet.
Thanks so much!
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Re: Using Excel to Edit Rosters?

Post by colinrsmall »

archibalduk wrote:Yes; that's correct.

I have made a start writing some guides on how to edit via spreadsheets but it is slow progress. This is the thread where I am/will publish the guides: http://www.ehmtheblueline.com/forums/vi ... 10&t=18124 (the guide on how to create a research sheet might be of use to you)

The Editor uses preset forms of spreadsheets for editing/importing data. You can create these by clicking on the following in the Editor (you don't have to load a database first): Tools -> Import Spreadsheet -> Create Templates. You can choose the format by selecting CSV, XLSX or XML before clicking on the Create Templates button. XLSX is the generally the best format to use.

To move a player to a team, you would open the staff.xlsx file (which is created via Create Templates above), enter the player's name and DOB and you can then adjust the Club Playing and/or Club Contracted columns accordingly. Once your spreadsheet is ready, open the chosen database in the Editor and click on Tools -> Import Spreadsheet -> Import Spreadsheet.
Actually, is there a way to filter players that associated with but not necessarily playing in a league? I wanted to try my hand at re-rating NHL players and prospects, so I don't need to see players that aren't players or prospects (including owned rights) in the NHL.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Using Excel to Edit Rosters?

Post by archibalduk »

You can use the Research Sheet referenced in the guide I mentioned above - but this will only show players contracted and/or playing for an NHL team (that's as far as you can filter for now).
User avatar
scottababc
Junior League
Posts: 15
Joined: Tue Aug 08, 2017 12:57 am
Favourite Team: Penguins

Re: Using Excel to Edit Rosters?

Post by scottababc »

So could you then also use excel no not only edit the rosters, but also create new players? because I'm trying to add new, created players to certain draft years, but they never show up when I use the editor, would it work with Excel instead?
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Using Excel to Edit Rosters?

Post by archibalduk »

Yes the same spreadsheet can be used to create new players and staff too. You just need to put "a" or "add" in the Mode column for those persons you want to create.
AvisFriso
Learning to skate
Posts: 1
Joined: Wed May 26, 2021 9:27 pm
Favourite Team: none

Using Excel to Edit Rosters?

Post by AvisFriso »

Well, it seems like I have missed a lot of things :D. Honestly, I did not know that it is possible to use Excel to edit rosters. It sounds like an exciting and helpful feature. Wait, but how can you use the same spreadsheet to create new players and staff too?! I mean, that sounds a bit unrealistic. I have actually been using tableau to create interactive visual analytics for all of my players.

[Admin note: URL removed]
HarryMaguire
Learning to skate
Posts: 1
Joined: Mon May 08, 2023 11:46 am
Favourite Team: Florida Panters

Using Excel to Edit Rosters?

Post by HarryMaguire »

Just a heads up, this thread is 6 years old, but I'm happy to help you out with your Excel conundrum. Excel is definitely a great tool to use when it comes to editing rosters. Here's a quick rundown of how to do it: Export the roster as a CSV file from your editor Open up the CSV file in Excel Make any changes you need to the roster (adding, deleting or editing players) Save the file Import the CSV file back into your editor As for guides, there are plenty of YouTube videos and online tutorials out there that can help you out. Additionally, if you're looking to [Admin: URL removed], I found this awesome deal. They've got Office 2021 Professional Plus for Windows at a really good price. It's definitely worth checking out.
Zemalli
Learning to skate
Posts: 4
Joined: Fri Nov 03, 2023 10:12 am
Favourite Team: Losing one

Using Excel to Edit Rosters?

Post by Zemalli »

I have recently tried to mass edit players PA with Excel. I have created xlsx research sheet but unable to impprt it.

First editor complains about too many columns. I have removed five from the end "Not imported"

Then I have got error xlsx with complains of Birth City if birth city is entered. I haven't manage to solve this.

Any tips?
Zemalli
Learning to skate
Posts: 4
Joined: Fri Nov 03, 2023 10:12 am
Favourite Team: Losing one

Using Excel to Edit Rosters?

Post by Zemalli »

Example:

1. Export to .CSV 123.csv using following selections:

Export all entries
Club Competition (Filtered to Finnish Liiga)
Research sheet
Players non-players

Export Data.

2. Try to import same 123.CSV which we just exported.

I got error "ERR_TOO_MANY_COLUMNS_OF_DATA

Then I can either disable "Do not create duplicates" or delete few cells with excel.

Anyways next error is "All rows contain errors. Details of errors have been saved to spreadsheet"

When I open error spreadsheet there is tons of errors about Birth city.

I have tried to play around with different import and export settings, XLSX and CSV files with Excel and Notepad++ Reduced to only one player, tried to use template but this error seems to be unavoidable!
Zemalli
Learning to skate
Posts: 4
Joined: Fri Nov 03, 2023 10:12 am
Favourite Team: Losing one

Using Excel to Edit Rosters?

Post by Zemalli »

I managed to solve my issue.

I needed to check "Use nation abbreviations" at Arena & City Names, "Long names" at Club names and "Full date of birth" in Dates of birth!

I somehow thought that these settings are only to be used if I import arenas or cities ](*,)

Hopefully this post will save some time and effort from next one who is facing problems :razz:
bl981
Junior League
Posts: 11
Joined: Mon Mar 30, 2015 5:43 am

Using Excel to Edit Rosters?

Post by bl981 »

I'm trying to do add player history, but i notice the editor only allows for gp g a pim and +/-, is there any way to add more stats to player histories?? Also for goalies there's no column for shots against. Thx.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Using Excel to Edit Rosters?

Post by archibalduk »

bl981 wrote: Wed Jun 18, 2025 1:29 pm I'm trying to do add player history, but i notice the editor only allows for gp g a pim and +/-, is there any way to add more stats to player histories?? Also for goalies there's no column for shots against. Thx.
No unfortunately the EHM database only supports a limited range of stats. The Editor will let you import/export all the stats supported by the database. The remainder of the stats are generated in-game within the saved game.
Post Reply