multifidus
New Member
- Joined
- Feb 2, 2023
- Messages
- 14
- Office Version
- 365
- Platform
- MacOS
I am working on a fun project that will automatically update all of the stats for NBA players. As a part of this I have three sheets for each team (total stats, home stats only, away stats only). I built out the first one without any problem, but if took a lot of time since I am referencing a separate workbook that is running a web query to pull the stats data from basketball reference.
Instead of hardcoding this again for the next team, I am attempting to simply use find and replace to change the name of the reference sheet.
Example:
=AVERAGE([BostonCelticsPlayers.xlsx]Tatum_Jayson!$J:$J)
I want to change the "BostonCelticsPlayers.xlsx" to reference the workbook I have for the Atlanta Hawks "AtlantaHawksPlayers.xlsx". When I try to use find and replace it says "Microsoft Excel cannot find matching data to replace"
I have tried numerous iterations of typing the the text (using quotes, not using quotes, just changing BostonCeltics to AtlantaHawks, the full file name, etc.).
Any suggestions?
Instead of hardcoding this again for the next team, I am attempting to simply use find and replace to change the name of the reference sheet.
Example:
=AVERAGE([BostonCelticsPlayers.xlsx]Tatum_Jayson!$J:$J)
I want to change the "BostonCelticsPlayers.xlsx" to reference the workbook I have for the Atlanta Hawks "AtlantaHawksPlayers.xlsx". When I try to use find and replace it says "Microsoft Excel cannot find matching data to replace"
I have tried numerous iterations of typing the the text (using quotes, not using quotes, just changing BostonCeltics to AtlantaHawks, the full file name, etc.).
Any suggestions?