Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
NWO
 
Posts: n/a
Default Formula too long error...

Hello all.

I have the following formula in a cell that works just fine. However, I
need to add one more SUMIF statement but I get an error stating that the
formula is too long. Is there an easy way around this - thank you.

NWO

=SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth!$R$ 2:$R10000="E11",IF(GoodBoth!$Q$2:$Q$10000<=2001123 1,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth!$S$ 2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F$2:$ F10000="ME",IF(GoodBoth!$R$2:$R10000="E12",IF(Good Both!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2:$S$1 0000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1,0)) ))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth !$R$2:$R10000="E13",IF(GoodBoth!$Q$2:$Q$10000<=200 11231,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth !$S$2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F $2:$F10000="ME",IF(GoodBoth!$R$2:$R10000="E16",IF( GoodBoth!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2: $S$10000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1 ,0))))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(Good Both!$R$2:$R10000="E17",IF(GoodBoth!$Q$2:$Q$10000< =20011231,IF(GoodBoth!$S$2:$S$10000<"110",IF(Good Both!$S$2:$S$10000<"115",1,0))))))
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Formula too long error...

Try this:
=SUMPRODUCT((GoodBoth!$F$2:$F10000="ME")*(GoodBoth !$Q$2:$Q$10000<=20011231)*(GoodBoth!$Q$2:$Q$10000< =20011231)*(GoodBoth!$S$2:$S$10000<"110")*(GoodBo th!$S$2:$S$10000<"115")*(ISNUMBER(SEARCH(GoodBoth !$R$2:$R10000,"E12.E13.E16.E17")))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"NWO" wrote:

Hello all.

I have the following formula in a cell that works just fine. However, I
need to add one more SUMIF statement but I get an error stating that the
formula is too long. Is there an easy way around this - thank you.

NWO

=SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth!$R$ 2:$R10000="E11",IF(GoodBoth!$Q$2:$Q$10000<=2001123 1,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth!$S$ 2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F$2:$ F10000="ME",IF(GoodBoth!$R$2:$R10000="E12",IF(Good Both!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2:$S$1 0000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1,0)) ))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth !$R$2:$R10000="E13",IF(GoodBoth!$Q$2:$Q$10000<=200 11231,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth !$S$2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F $2:$F10000="ME",IF(GoodBoth!$R$2:$R10000="E16",IF( GoodBoth!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2: $S$10000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1 ,0))))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(Good Both!$R$2:$R10000="E17",IF(GoodBoth!$Q$2:$Q$10000< =20011231,IF(GoodBoth!$S$2:$S$10000<"110",IF(Good Both!$S$2:$S$10000<"115",1,0))))))

  #3   Report Post  
Posted to microsoft.public.excel.misc
NWO
 
Posts: n/a
Default Formula too long error...

Thanks Ron - worked perfect.

NWO :)
------------

"Ron Coderre" wrote:

Try this:
=SUMPRODUCT((GoodBoth!$F$2:$F10000="ME")*(GoodBoth !$Q$2:$Q$10000<=20011231)*(GoodBoth!$Q$2:$Q$10000< =20011231)*(GoodBoth!$S$2:$S$10000<"110")*(GoodBo th!$S$2:$S$10000<"115")*(ISNUMBER(SEARCH(GoodBoth !$R$2:$R10000,"E12.E13.E16.E17")))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"NWO" wrote:

Hello all.

I have the following formula in a cell that works just fine. However, I
need to add one more SUMIF statement but I get an error stating that the
formula is too long. Is there an easy way around this - thank you.

NWO

=SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth!$R$ 2:$R10000="E11",IF(GoodBoth!$Q$2:$Q$10000<=2001123 1,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth!$S$ 2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F$2:$ F10000="ME",IF(GoodBoth!$R$2:$R10000="E12",IF(Good Both!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2:$S$1 0000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1,0)) ))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth !$R$2:$R10000="E13",IF(GoodBoth!$Q$2:$Q$10000<=200 11231,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth !$S$2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F $2:$F10000="ME",IF(GoodBoth!$R$2:$R10000="E16",IF( GoodBoth!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2: $S$10000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1 ,0))))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(Good Both!$R$2:$R10000="E17",IF(GoodBoth!$Q$2:$Q$10000< =20011231,IF(GoodBoth!$S$2:$S$10000<"110",IF(Good Both!$S$2:$S$10000<"115",1,0))))))

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Formula too long error...

Thanks for the feedback...I'm glad that worked for you.

***********
Regards,
Ron

XL2002, WinXP-Pro


"NWO" wrote:

Thanks Ron - worked perfect.

NWO :)
------------

"Ron Coderre" wrote:

Try this:
=SUMPRODUCT((GoodBoth!$F$2:$F10000="ME")*(GoodBoth !$Q$2:$Q$10000<=20011231)*(GoodBoth!$Q$2:$Q$10000< =20011231)*(GoodBoth!$S$2:$S$10000<"110")*(GoodBo th!$S$2:$S$10000<"115")*(ISNUMBER(SEARCH(GoodBoth !$R$2:$R10000,"E12.E13.E16.E17")))


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"NWO" wrote:

Hello all.

I have the following formula in a cell that works just fine. However, I
need to add one more SUMIF statement but I get an error stating that the
formula is too long. Is there an easy way around this - thank you.

NWO

=SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth!$R$ 2:$R10000="E11",IF(GoodBoth!$Q$2:$Q$10000<=2001123 1,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth!$S$ 2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F$2:$ F10000="ME",IF(GoodBoth!$R$2:$R10000="E12",IF(Good Both!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2:$S$1 0000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1,0)) ))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(GoodBoth !$R$2:$R10000="E13",IF(GoodBoth!$Q$2:$Q$10000<=200 11231,IF(GoodBoth!$S$2:$S$10000<"110",IF(GoodBoth !$S$2:$S$10000<"115",1,0))))))+SUM(IF(GoodBoth!$F $2:$F10000="ME",IF(GoodBoth!$R$2:$R10000="E16",IF( GoodBoth!$Q$2:$Q$10000<=20011231,IF(GoodBoth!$S$2: $S$10000<"110",IF(GoodBoth!$S$2:$S$10000<"115",1 ,0))))))+SUM(IF(GoodBoth!$F$2:$F10000="ME",IF(Good Both!$R$2:$R10000="E17",IF(GoodBoth!$Q$2:$Q$10000< =20011231,IF(GoodBoth!$S$2:$S$10000<"110",IF(Good Both!$S$2:$S$10000<"115",1,0))))))

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
EXCEL ERROR - series formula is too long BobY Excel Worksheet Functions 3 April 3rd 23 10:55 AM
Error formula too long JJT Excel Worksheet Functions 0 December 23rd 05 04:02 PM
Ignore error msgs in formula references gharden Excel Discussion (Misc queries) 4 June 17th 05 12:14 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
"formula too long" error message lbaskin Excel Discussion (Misc queries) 1 January 13th 05 03:05 AM


All times are GMT +1. The time now is 02:03 PM.

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

About Us

"It's about Microsoft Excel"