Limit 8192 Characters

L40

Board Regular
Joined
Mar 17, 2011
Messages
100
Im using Excel 2007 and I'm trying to save my work and i'm getting this message.
One or more formulas in this workbook are longer than the allowed limit of 8192 characters. To avoid this limitation, save the workbook in the Excal Binary Workbook format.

I have verified all of my formulas and i do not see any errors. I have also tried saving a a binary woork book and i get the same error. This is the formula i'm using.

=IF(SUM('[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62)=0,0,SUM('[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62)/INDEX(FREQUENCY('[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62,0),2))

I have been using this for some time now and for some reason now it is doing this. does anyone know what is going on?

Thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I don't understand why you're using SUM in your original formula. I have taken it out as I don't think it's needed. Check if this still works and then try saving:
Code:
=IF('[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62=0,0,'[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62/INDEX(FREQUENCY('[2011 2nd Shift Daily Tally Record.xlsx]4-09-11:4-03-11'!$N$62,0),2))
 
Upvote 0
Weird, I've just tried a variation of the adapted version of your formula that I gave and it works ok...
 
Upvote 0
How about instead just =MAX(0, $N$62)
 
Upvote 0
WHere should the =Max(0, $n$62) go in the formula. I have never used =Max so i'm unfamiliar with it.
 
Upvote 0
Replace the entire formula with that.
 
Upvote 0
When I replaced the formula it changed everything to 0. The work book that contains this formula is pulling information from 3 separate work books. Not sure if that’s why it’s not working.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
Upvote 0
Ok i think figured a portion of it out. I used the =max(0, $n$62) like this but i gotr a 0. so i tried it like this =MAX(0, '[2011 2nd Shift Daily Tally Record.xlsx]2-26-11:2-20-11'!$N$62) and i did get a value in return. But the value was incorrecrt, it is not the correct average.
 
Upvote 0
I don't see how your original formula averages anything. Removing the sheet references, it looks like this:

=IF(SUM($N$62)=0, 0, SUM($N$62)/INDEX(FREQUENCY($N$62, 0), 2))

As Jack pointed out, summing a single cell doesn't do anything, so that's equivalent to

=IF($N$62=0, 0, $N$62/INDEX(FREQUENCY($N$62,0),2))

But the Frequency function returns either zero (if N62 is <= 0) or 1 (if N62 > 0).
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

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