Formula Size Limit

jmeeko

New Member
Joined
Apr 6, 2002
Messages
8
Is there a way to overcome the the formula size limit of 1024. MS indicates about 32k is the permissible character length, but apparently formulas are treated differently (even though I could not find this documented in MSDN or TechNet). No, my users will not accept the result of the formula instead.

My code simply creates an array of row numbers needing to be totaled at the end, so it's just a matter of simple addition of cell references (e.g. "=A1+A13+A25..."). Any suggestions on a workaround??

Thanks all.
This message was edited by jmeeko on 2002-12-10 14:53
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
On 2002-12-10 14:51, jmeeko wrote:
Is there a way to overcome the the formula size limit of 1024. MS indicates about 32k is the permissible character length, but apparently formulas are treated differently (even though I could not find this documented in MSDN or TechNet). No, my users will not accept the result of the formula instead.

My code simply creates an array of row numbers needing to be totaled at the end, so it's just a matter of simple addition of cell references (e.g. "=A1+A13+A25..."). Any suggestions on a workaround??

Thanks all.
This message was edited by jmeeko on 2002-12-10 14:53

Given

=A1+A13+A25...

you appear to sum every 12th cell in a vertical range in A. So try...

=SUMPRODUCT((MOD(ROW(A1:A600)-CELL("Row",A1:A600)+0,12)=0)*(A1:A600))
 
Upvote 0
Sorry for any pattern in my example, but there isn't one in reality.

During the sheet's creation process I am pulling records from a database so there is no way to anticipate any pattern in how many detail records there will be for any given group.

Thanks.
 
Upvote 0
In one cell say b1 put the bulk of your formula, +a1+a5... then in another cell say b2 put your first formula cell address and the rest of your formula, b1+a12+a22...

This way you can concatenate formulas across more than one cell and get around the formula size limit. Hope this helps. JSW
 
Upvote 0
I had considered this is a possibility, although I'm not looking forward to the implementation due to the complexity and size of the spreadsheet already.

Sounds like it may be only only solution short of asking the user to decrease the size of the imported dataset or to use fewer subtotal groupings.

Thanks.
 
Upvote 0

Forum statistics

Threads
1,215,168
Messages
6,123,408
Members
449,098
Latest member
ArturS75

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top