Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(3,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
"phil2006" wrote in
message ... I have the following formula: <SNIP long formula and need to add more, is there anyway I can reduce the size because i am being told it is too long! The solution I found was simply to spread the formula over two (og more) cells, and then simply hiding the "extra" colum. Hope this helps /Dann |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
To start I would create a name (InsertNameDefine...) of say Half with a
refers to value of =0.5*(C1+Sheet1!C52) then another for one formula of say P0 with a refers to value of =(POISSON(0,Half,FALSE)) and then use (POISSON(1,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(3,0.Half,FALSE))*P0+ (POISSON(4,0.Half,FALSE))*P0+ (POISSON(5,0.Half,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+ (POISSON(7,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) or take it further and replace FALSE by 0 (POISSON(1,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(3,0.Half,0))*P0+ (POISSON(4,0.Half,0))*P0+ (POISSON(5,0.Half,0))*(POISSON(6,0.5*(C1-Sheet1!C52),0))+ (POISSON(7,0.Half,0))*P0+ (POISSON(2,0.Half,0))*(POISSON(1,0.5*(C1-Sheet1!C52),0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "phil2006" wrote in message ... I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE) )+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSON( 0,0.5*(C1-Sheet1!C52),FALS E))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSO N(0,0.5*(C1-Sheet1!C52),FA LSE))+(POISSON(3,0.5*(C1+Sheet1!C52),FALSE))*(POIS SON(0,0.5*(C1-Sheet1!C52), FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52),FALSE))*(PO ISSON(0,0.5*(C1-Sheet1!C52 ),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52),FALSE))*( POISSON(6,0.5*(C1-Sheet1!C 52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52),FALSE)) *(POISSON(0,0.5*(C1-Sheet1 !C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE ))*(POISSON(1,0.5*(C1-Shee t1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
Enter as an array formula with Ctrl+Shift+Enter
=SUM(POISSON({1,2,2,3,4,5,7,2},0.5*B1,FALSE)*POISS ON({0,0,0,0,0,6,0,0},0.5*B2,FALSE)) b1= =C1+Sheet1!C52 b2= =C1-Sheet1!C52 with C12=4, C52=2 I returned a result of 0.4991536 using your posing and the solution above. HTH "phil2006" wrote: I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(3,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
....Posing! .... posting!
"Toppers" wrote: Enter as an array formula with Ctrl+Shift+Enter =SUM(POISSON({1,2,2,3,4,5,7,2},0.5*B1,FALSE)*POISS ON({0,0,0,0,0,6,0,0},0.5*B2,FALSE)) b1= =C1+Sheet1!C52 b2= =C1-Sheet1!C52 with C12=4, C52=2 I returned a result of 0.4991536 using your posing and the solution above. HTH "phil2006" wrote: I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(3,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
Bob,
The second half of the formula uses C1-Sheet1!C52 so (I believe) using your solution will give an incorrect result as in your response both portions are using C1+Sheet1!C52. "Bob Phillips" wrote: To start I would create a name (InsertNameDefine...) of say Half with a refers to value of =0.5*(C1+Sheet1!C52) then another for one formula of say P0 with a refers to value of =(POISSON(0,Half,FALSE)) and then use (POISSON(1,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(3,0.Half,FALSE))*P0+ (POISSON(4,0.Half,FALSE))*P0+ (POISSON(5,0.Half,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+ (POISSON(7,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) or take it further and replace FALSE by 0 (POISSON(1,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(3,0.Half,0))*P0+ (POISSON(4,0.Half,0))*P0+ (POISSON(5,0.Half,0))*(POISSON(6,0.5*(C1-Sheet1!C52),0))+ (POISSON(7,0.Half,0))*P0+ (POISSON(2,0.Half,0))*(POISSON(1,0.5*(C1-Sheet1!C52),0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "phil2006" wrote in message ... I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE) )+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSON( 0,0.5*(C1-Sheet1!C52),FALS E))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSO N(0,0.5*(C1-Sheet1!C52),FA LSE))+(POISSON(3,0.5*(C1+Sheet1!C52),FALSE))*(POIS SON(0,0.5*(C1-Sheet1!C52), FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52),FALSE))*(PO ISSON(0,0.5*(C1-Sheet1!C52 ),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52),FALSE))*( POISSON(6,0.5*(C1-Sheet1!C 52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52),FALSE)) *(POISSON(0,0.5*(C1-Sheet1 !C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE ))*(POISSON(1,0.5*(C1-Shee t1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
Building on Bob's proposal:
Enter with Ctrl+Shift+Enter =SUM(POISSON($I$1:$I$8,PS1,0)*POISSON($J$1:$J$8,PS 2,0) PS1: is named range =0.5*(C1+Sheet1!C52) PS2: is named range =0.5*(C1-Sheet1!C52) I1:I8 contain values for PS1 J1:J8 contain values for PS2 HTH "Toppers" wrote: Enter as an array formula with Ctrl+Shift+Enter =SUM(POISSON({1,2,2,3,4,5,7,2},0.5*B1,FALSE)*POISS ON({0,0,0,0,0,6,0,0},0.5*B2,FALSE)) b1= =C1+Sheet1!C52 b2= =C1-Sheet1!C52 with C12=4, C52=2 I returned a result of 0.4991536 using your posing and the solution above. HTH "phil2006" wrote: I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(3,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(0,0.5*(C1-Sheet1!C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52) ,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
formula too long!
You are right, my P0 should be
=(POISSON(0,0.5*(C1-Sheet1!C52),FALSE)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Toppers" wrote in message ... Bob, The second half of the formula uses C1-Sheet1!C52 so (I believe) using your solution will give an incorrect result as in your response both portions are using C1+Sheet1!C52. "Bob Phillips" wrote: To start I would create a name (InsertNameDefine...) of say Half with a refers to value of =0.5*(C1+Sheet1!C52) then another for one formula of say P0 with a refers to value of =(POISSON(0,Half,FALSE)) and then use (POISSON(1,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*P0+ (POISSON(3,0.Half,FALSE))*P0+ (POISSON(4,0.Half,FALSE))*P0+ (POISSON(5,0.Half,FALSE))*(POISSON(6,0.5*(C1-Sheet1!C52),FALSE))+ (POISSON(7,0.Half,FALSE))*P0+ (POISSON(2,0.Half,FALSE))*(POISSON(1,0.5*(C1-Sheet1!C52),FALSE)) or take it further and replace FALSE by 0 (POISSON(1,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(2,0.Half,0))*P0+ (POISSON(3,0.Half,0))*P0+ (POISSON(4,0.Half,0))*P0+ (POISSON(5,0.Half,0))*(POISSON(6,0.5*(C1-Sheet1!C52),0))+ (POISSON(7,0.Half,0))*P0+ (POISSON(2,0.Half,0))*(POISSON(1,0.5*(C1-Sheet1!C52),0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "phil2006" wrote in message ... I have the following formula: (POISSON(1,0.5*(C1+Sheet1!C52),FALSE))*(POISSON(0, 0.5*(C1-Sheet1!C52),FALSE) )+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSON( 0,0.5*(C1-Sheet1!C52),FA LS E))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE))*(POISSO N(0,0.5*(C1-Sheet1!C52),FA LSE))+(POISSON(3,0.5*(C1+Sheet1!C52),FALSE))*(POIS SON(0,0.5*(C1-Sheet1!C52), FALSE))+(POISSON(4,0.5*(C1+Sheet1!C52),FALSE))*(PO ISSON(0,0.5*(C1-Sheet1!C52 ),FALSE))+(POISSON(5,0.5*(C1+Sheet1!C52),FALSE))*( POISSON(6,0.5*(C1-Sheet1 !C 52),FALSE))+(POISSON(7,0.5*(C1+Sheet1!C52),FALSE)) *(POISSON(0,0.5*(C1-Sheet1 !C52),FALSE))+(POISSON(2,0.5*(C1+Sheet1!C52),FALSE ))*(POISSON(1,0.5*(C1-Shee t1!C52),FALSE)) and need to add more, is there anyway I can reduce the size because i am being told it is too long! Thanks -- phil2006 ------------------------------------------------------------------------ phil2006's Profile: http://www.excelforum.com/member.php...o&userid=35092 View this thread: http://www.excelforum.com/showthread...hreadid=557653 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can't add 7th IF statement to long formula. | Excel Worksheet Functions | |||
More than 3 conditional formats? | Excel Discussion (Misc queries) | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula too long | Excel Discussion (Misc queries) | |||
Date & Time | New Users to Excel |