Excel Experts –
I have two spreadsheets, one with a set of data with 23 columns and over 2,000 rows. Each year there will be additional rows added. I also have ranked each column (category) to provide me top to bottom player performance. I have also correspondingly named each column (category) in a different spreadsheet so I can list the players top to bottom. Some of the categories have criteria that must be met before listing the player. If they do not meet the criteria, they will not be listed. I have used the following formulas to help me achieve this goal, but unfortunately for me it creates errors at the end of the column if the criteria have not been met. I have tried using the following formulas without success.
IF('Pitcher Career Stats'!AR2<>"","",OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AR$2:AR$5000,ROW()-ROW(AV$5)+1),'Pitcher Career Stats'!AR$2:AR$5000,0)-1,0))
IF('Pitcher Career Stats'!AS2="",OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AS$2:AS$5000,ROW()-ROW(AX$5)+1),'Pitcher Career Stats'!AS$2:AS$5000,0)-1,0),"")
IF('Pitcher Career Stats'!M2>=2000,OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AS$2:AS$5000,ROW()-ROW(AX$5)+1),'Pitcher Career Stats'!AS$2:AS$5000,0)-1,0),"")
Once it does not meet the criteria it leaves the following error message in cell #NUM!
Sample of spreadsheet:
HITS / 9
Once the criteria are met is there some way to eliminate the error from appearing?
Thanks in advance for your consideration.
Gus
I have two spreadsheets, one with a set of data with 23 columns and over 2,000 rows. Each year there will be additional rows added. I also have ranked each column (category) to provide me top to bottom player performance. I have also correspondingly named each column (category) in a different spreadsheet so I can list the players top to bottom. Some of the categories have criteria that must be met before listing the player. If they do not meet the criteria, they will not be listed. I have used the following formulas to help me achieve this goal, but unfortunately for me it creates errors at the end of the column if the criteria have not been met. I have tried using the following formulas without success.
IF('Pitcher Career Stats'!AR2<>"","",OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AR$2:AR$5000,ROW()-ROW(AV$5)+1),'Pitcher Career Stats'!AR$2:AR$5000,0)-1,0))
IF('Pitcher Career Stats'!AS2="",OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AS$2:AS$5000,ROW()-ROW(AX$5)+1),'Pitcher Career Stats'!AS$2:AS$5000,0)-1,0),"")
IF('Pitcher Career Stats'!M2>=2000,OFFSET('Pitcher Career Stats'!$Z$2,MATCH(SMALL('Pitcher Career Stats'!AS$2:AS$5000,ROW()-ROW(AX$5)+1),'Pitcher Career Stats'!AS$2:AS$5000,0)-1,0),"")
Once it does not meet the criteria it leaves the following error message in cell #NUM!
Sample of spreadsheet:
HITS / 9
Moyer, Jamie | 8.62 |
Pettitte, Andy | 8.76 |
Sabathia, CC | 9.04 |
Colon, Bartolo | 9.17 |
#NUM! | #### |
Once the criteria are met is there some way to eliminate the error from appearing?
Thanks in advance for your consideration.
Gus