#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula too long

I am trying to add up this formula across 30 worksheets:

=SUM(('Sheet1'!R:R="Late")+('Sheet 1'!E:E='Employee Summary'!A3))

I tried doing this, but got stopped after the formula got too long:

=SUM(('Sheet 1'!R:R="Late")+('Sheet 1'!E:E='Employee
Summary'!A3))+SUM(('Sheet 2'!R:R="Late")+('Sheet 2'!E:E='Employee
Summary'!A3))+SUM(('Sheet 3'!R:R="Late")+('Sheet 3'!E:E='Employee
Summary'!A3))... Sheet 4, Sheet 5...to Sheet 30 etc...

I need to summarize the exact formula from Sheet1 to Sheet30. How can I do
this?

Thanks!

Mae





  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Formula too long

Hi,
You can enter a Subtotal formula on each worksheets in the first row, then
in you summary you will have something like this
=Sheet2!B1+Sheet3!B1


"mae_bear22" wrote:

I am trying to add up this formula across 30 worksheets:

=SUM(('Sheet1'!R:R="Late")+('Sheet 1'!E:E='Employee Summary'!A3))

I tried doing this, but got stopped after the formula got too long:

=SUM(('Sheet 1'!R:R="Late")+('Sheet 1'!E:E='Employee
Summary'!A3))+SUM(('Sheet 2'!R:R="Late")+('Sheet 2'!E:E='Employee
Summary'!A3))+SUM(('Sheet 3'!R:R="Late")+('Sheet 3'!E:E='Employee
Summary'!A3))... Sheet 4, Sheet 5...to Sheet 30 etc...

I need to summarize the exact formula from Sheet1 to Sheet30. How can I do
this?

Thanks!

Mae





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Formula too long

Hi,

In 2003 you are limited to 1024 characters in a formula, in 2007 that limit
is 8192.

You can make your formula shorter by defining range names such as
'Sheet1'!R:R defined as S1R.
Also, if you are writing this fomula on the Employee Summary sheet then you
don't need references like
='Employee Summary'!A3
instead use =A3

You could also range name
'Employee Summary'!A3
to
EmA3

If you don't want to do this you can break up the formula into 2 cells and
then add their combined results in a third cell

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"mae_bear22" wrote:

I am trying to add up this formula across 30 worksheets:

=SUM(('Sheet1'!R:R="Late")+('Sheet 1'!E:E='Employee Summary'!A3))

I tried doing this, but got stopped after the formula got too long:

=SUM(('Sheet 1'!R:R="Late")+('Sheet 1'!E:E='Employee
Summary'!A3))+SUM(('Sheet 2'!R:R="Late")+('Sheet 2'!E:E='Employee
Summary'!A3))+SUM(('Sheet 3'!R:R="Late")+('Sheet 3'!E:E='Employee
Summary'!A3))... Sheet 4, Sheet 5...to Sheet 30 etc...

I need to summarize the exact formula from Sheet1 to Sheet30. How can I do
this?

Thanks!

Mae





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula too long

Thank you!!!

"Eduardo" wrote:

Hi,
You can enter a Subtotal formula on each worksheets in the first row, then
in you summary you will have something like this
=Sheet2!B1+Sheet3!B1


"mae_bear22" wrote:

I am trying to add up this formula across 30 worksheets:

=SUM(('Sheet1'!R:R="Late")+('Sheet 1'!E:E='Employee Summary'!A3))

I tried doing this, but got stopped after the formula got too long:

=SUM(('Sheet 1'!R:R="Late")+('Sheet 1'!E:E='Employee
Summary'!A3))+SUM(('Sheet 2'!R:R="Late")+('Sheet 2'!E:E='Employee
Summary'!A3))+SUM(('Sheet 3'!R:R="Late")+('Sheet 3'!E:E='Employee
Summary'!A3))... Sheet 4, Sheet 5...to Sheet 30 etc...

I need to summarize the exact formula from Sheet1 to Sheet30. How can I do
this?

Thanks!

Mae





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula too long

Thank you!!!

"Shane Devenshire" wrote:

Hi,

In 2003 you are limited to 1024 characters in a formula, in 2007 that limit
is 8192.

You can make your formula shorter by defining range names such as
'Sheet1'!R:R defined as S1R.
Also, if you are writing this fomula on the Employee Summary sheet then you
don't need references like
='Employee Summary'!A3
instead use =A3

You could also range name
'Employee Summary'!A3
to
EmA3

If you don't want to do this you can break up the formula into 2 cells and
then add their combined results in a third cell

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"mae_bear22" wrote:

I am trying to add up this formula across 30 worksheets:

=SUM(('Sheet1'!R:R="Late")+('Sheet 1'!E:E='Employee Summary'!A3))

I tried doing this, but got stopped after the formula got too long:

=SUM(('Sheet 1'!R:R="Late")+('Sheet 1'!E:E='Employee
Summary'!A3))+SUM(('Sheet 2'!R:R="Late")+('Sheet 2'!E:E='Employee
Summary'!A3))+SUM(('Sheet 3'!R:R="Late")+('Sheet 3'!E:E='Employee
Summary'!A3))... Sheet 4, Sheet 5...to Sheet 30 etc...

I need to summarize the exact formula from Sheet1 to Sheet30. How can I do
this?

Thanks!

Mae





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 Is Too Long NeedHelp! Excel Worksheet Functions 1 October 2nd 07 09:32 PM
Clearing cells takes long, long time unclemuffin Excel Discussion (Misc queries) 9 August 17th 07 02:22 AM
Formula too long DEAN0 219 Excel Worksheet Functions 2 January 7th 07 07:57 PM
Formula Too Long Tom Young Excel Worksheet Functions 15 October 31st 06 11:18 AM
The Formula is Too Long BCBC Excel Discussion (Misc queries) 6 February 28th 06 11:51 PM


All times are GMT +1. The time now is 11:42 PM.

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"