Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
top.jimmy
 
Posts: n/a
Default Overcoming "Formula too long"

I've created a 15 week dart league workbook and want to be able to track up
to eight teams playing each week. There are four data/score sheets in each
worksheet and one worksheet for each week. (i.e 2 teams playing against
eachother in each
scoresheet) The problem I'm having is getting the 4th score sheet to post to
my master stats worksheet due to "Formula too long." I basically index/match
each of the four scoresheets for a specific player...Here's the formula for
one player...

$C$305 =player's name, 'Mstr Stats'!$D307=the stat to look for
'WK 1'!$A$32:$W$56=the tabulated scores of the first two team's game
'WK 1'!$B$32:$B$56=the player name match
'WK 1'!$A$32:$W$32=the stat match(i.e. Ton 80's) and so on...to the
second,third or fourth game (but I can't enter the fourth table due to
"formula too long error" Imagine that???)

=IF(ISERROR(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))),0,(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))))+IF(ISERROR(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))),0,(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))))+IF(ISERROR(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK
1'!$B$89:$W$89,0))),0,(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK 1'!$B$89:$W$89,0))))

Any suggestions??? Could I 'Name' each table formula to consolidate the
formula and give more space for the fourth team game. I've gotten this far,
and I know there's a solution.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Overcoming "Formula too long"

Can we assume that the layout of all the different stats is the same for each
game? That is, the first column always has the name, the second column
always has stat x, the third stat y, etc? If so, then the error checking is
really only for the player's name, and I'd make two changes:
1. Change the error checking in each grid to look only for the name so that
you don't need to repeat the entire index function. Instead of
=iserror(index(match(...),match(...)),0,index(matc h(...),match(...)), try
=if(isna(match(...)),0,index(match(...),match(...) ). Not huge, but saves ~
1/4 of the verbiage.
2. Burn a cell on the master stats sheet to associate the statistic in D307
to a column. Ex, in D308: =MATCH('Mstr Stats'!$D307,'WK 1'!$A$32:$W$32,0).
Then you only need
=if(isna(MATCH($C$305,'WK 1'!$B$32:$B$56,0)),0,index(MATCH($C$305,'WK
1'!$B$32:$B$56,0),$E308)); repeat for each score sheet w/in the Wk1
worksheet.
HTH. --Bruce

"top.jimmy" wrote:

I've created a 15 week dart league workbook and want to be able to track up
to eight teams playing each week. There are four data/score sheets in each
worksheet and one worksheet for each week. (i.e 2 teams playing against
eachother in each
scoresheet) The problem I'm having is getting the 4th score sheet to post to
my master stats worksheet due to "Formula too long." I basically index/match
each of the four scoresheets for a specific player...Here's the formula for
one player...

$C$305 =player's name, 'Mstr Stats'!$D307=the stat to look for
'WK 1'!$A$32:$W$56=the tabulated scores of the first two team's game
'WK 1'!$B$32:$B$56=the player name match
'WK 1'!$A$32:$W$32=the stat match(i.e. Ton 80's) and so on...to the
second,third or fourth game (but I can't enter the fourth table due to
"formula too long error" Imagine that???)

=IF(ISERROR(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))),0,(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))))+IF(ISERROR(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))),0,(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))))+IF(ISERROR(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK
1'!$B$89:$W$89,0))),0,(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK 1'!$B$89:$W$89,0))))

Any suggestions??? Could I 'Name' each table formula to consolidate the
formula and give more space for the fourth team game. I've gotten this far,
and I know there's a solution.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
top.jimmy
 
Posts: n/a
Default Overcoming "Formula too long"

Yes. Every scorsheet reference on every worksheet is exactly the same.
There are 21 stats to track per player per game & 64 players to keep up with;
using the next or adjacent cell is not prudent for the workbook I've made due
to lack of planning by me. Sooo, I'll try the ISNA function for space. If I
recall correctly, I tried that but was getting a return that I didn't want,
but I can Conditionally Format that out.

Thanks for the reply. I'll try it tonight and let you know how it turned
worked.

Thanks,
JIM
"bpeltzer" wrote:

Can we assume that the layout of all the different stats is the same for each
game? That is, the first column always has the name, the second column
always has stat x, the third stat y, etc? If so, then the error checking is
really only for the player's name, and I'd make two changes:
1. Change the error checking in each grid to look only for the name so that
you don't need to repeat the entire index function. Instead of
=iserror(index(match(...),match(...)),0,index(matc h(...),match(...)), try
=if(isna(match(...)),0,index(match(...),match(...) ). Not huge, but saves ~
1/4 of the verbiage.
2. Burn a cell on the master stats sheet to associate the statistic in D307
to a column. Ex, in D308: =MATCH('Mstr Stats'!$D307,'WK 1'!$A$32:$W$32,0).
Then you only need
=if(isna(MATCH($C$305,'WK 1'!$B$32:$B$56,0)),0,index(MATCH($C$305,'WK
1'!$B$32:$B$56,0),$E308)); repeat for each score sheet w/in the Wk1
worksheet.
HTH. --Bruce

"top.jimmy" wrote:

I've created a 15 week dart league workbook and want to be able to track up
to eight teams playing each week. There are four data/score sheets in each
worksheet and one worksheet for each week. (i.e 2 teams playing against
eachother in each
scoresheet) The problem I'm having is getting the 4th score sheet to post to
my master stats worksheet due to "Formula too long." I basically index/match
each of the four scoresheets for a specific player...Here's the formula for
one player...

$C$305 =player's name, 'Mstr Stats'!$D307=the stat to look for
'WK 1'!$A$32:$W$56=the tabulated scores of the first two team's game
'WK 1'!$B$32:$B$56=the player name match
'WK 1'!$A$32:$W$32=the stat match(i.e. Ton 80's) and so on...to the
second,third or fourth game (but I can't enter the fourth table due to
"formula too long error" Imagine that???)

=IF(ISERROR(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))),0,(INDEX('WK 1'!$A$32:$W$56,MATCH($C$305,'WK
1'!$B$32:$B$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$A$32:$W$32,0))))+IF(ISERROR(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))),0,(INDEX('WK 1'!$Z$32:$AU$56,MATCH($C$305,'WK
1'!$Z$32:$Z$56,0),MATCH('Mstr Stats'!$D307,'WK
1'!$Z$32:$AU$32,0))))+IF(ISERROR(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK
1'!$B$89:$W$89,0))),0,(INDEX('WK 1'!$B$89:$W$111,MATCH($C$305,'WK
1'!$B$89:$B$111,0),MATCH('Mstr Stats'!$D307,'WK 1'!$B$89:$W$89,0))))

Any suggestions??? Could I 'Name' each table formula to consolidate the
formula and give more space for the fourth team game. I've gotten this far,
and I know there's a solution.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"formula for tracking days off " mcwsrexcel Excel Worksheet Functions 1 February 17th 06 03:06 AM
"string too long" error message dick Excel Discussion (Misc queries) 0 January 4th 06 11:02 AM
overcoming nested IF limitations...with VBA? JLC Excel Worksheet Functions 3 November 7th 05 11:06 AM
overcoming zero values in line graph marika1981 Charts and Charting in Excel 3 March 11th 05 02:09 AM


All times are GMT +1. The time now is 11:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"