Firstly, thank you for taking the time out to help me.
I'm working on a project where I'm attempting to track different football players' performance over time. I currently have different sheets for each year. So, what I'm currently trying to do is track which players stayed on the team over multiple years.
The issue is that when I was copying the data from online there were random spaces entered after some players' names. So I've taken all the names and put them into a single sheet, but when I enter the following formula to check to see if a player was on the roster for two years, some do not show up because they have a space after their name in one of the years, but not the other: =IF(ISERROR(MATCH(A2,$B$2:$B$1500,0)),"",A2)
I went through one of the years manually to delete the extra spaces, but this took about a half hour (lots of rosters), and it's quite tedious. The TRIM function did not seem to work when trying to delete the space after the names. It ended up reverting back to a space as soon as I copied and pasted the output from it. I've tried COUNTIF to see if I could get a value back for a cell with more than one space. Everything comes back the same, and I assume it's because there are words in between the spaces, but I'm not positive.
Anything that could make this process more efficient than just going through it manually would be of great assistance. I appreciate it! Let me know if I need to make my question more clear or use an example.
I'm working on a project where I'm attempting to track different football players' performance over time. I currently have different sheets for each year. So, what I'm currently trying to do is track which players stayed on the team over multiple years.
The issue is that when I was copying the data from online there were random spaces entered after some players' names. So I've taken all the names and put them into a single sheet, but when I enter the following formula to check to see if a player was on the roster for two years, some do not show up because they have a space after their name in one of the years, but not the other: =IF(ISERROR(MATCH(A2,$B$2:$B$1500,0)),"",A2)
I went through one of the years manually to delete the extra spaces, but this took about a half hour (lots of rosters), and it's quite tedious. The TRIM function did not seem to work when trying to delete the space after the names. It ended up reverting back to a space as soon as I copied and pasted the output from it. I've tried COUNTIF to see if I could get a value back for a cell with more than one space. Everything comes back the same, and I assume it's because there are words in between the spaces, but I'm not positive.
Anything that could make this process more efficient than just going through it manually would be of great assistance. I appreciate it! Let me know if I need to make my question more clear or use an example.