Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
smaller formula to sum together 4 columns, 3 of them next to one a
this is what i have now:
=INDEX(EBITDA!$L$13:$L$6000,MATCH(D13,EBITDA!$D$13 :$D$6000,0),1)+INDEX(EBITDA!$M$13:$M$6000,MATCH(D1 3,EBITDA!$D$13:$D$6000,0),1)+INDEX(EBITDA!$N$13:$N $6000,MATCH(D13,EBITDA!$D$13:$D$6000,0),1)+INDEX(E BITDA!$O$13:$O$6000,MATCH(D13,EBITDA!$D$13:$D$6000 ,0),1) you see this formula is on one worksheet, matching numbers on another worksheet to sume together 4 columns. This looks ugly. Is there a smaller way of doing this -- to at least add together columns m, n and o all at once? thanks for taking a look... |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
smaller formula to sum together 4 columns, 3 of them next to one a
Hello Steve,
with an "array formula" that needs to be coonfirmed with CTRL+SHIFT+ENTER =SUM(VLOOKUP(D13,ebitda!$D$13:$O$6000,{9,10,11,12} ,0)) or if you know that D13 has only one match in ebitda!$D$13:$D$6000 you could use =SUMPRODUCT((ebitda!$D$13:$D$6000=D13)*ebitda!$L$1 3:$O$6000) "SteveC" wrote: this is what i have now: =INDEX(EBITDA!$L$13:$L$6000,MATCH(D13,EBITDA!$D$13 :$D$6000,0),1)+INDEX(EBITDA!$M$13:$M$6000,MATCH(D1 3,EBITDA!$D$13:$D$6000,0),1)+INDEX(EBITDA!$N$13:$N $6000,MATCH(D13,EBITDA!$D$13:$D$6000,0),1)+INDEX(E BITDA!$O$13:$O$6000,MATCH(D13,EBITDA!$D$13:$D$6000 ,0),1) you see this formula is on one worksheet, matching numbers on another worksheet to sume together 4 columns. This looks ugly. Is there a smaller way of doing this -- to at least add together columns m, n and o all at once? thanks for taking a look... |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
smaller formula to sum together 4 columns, 3 of them next to o
or perhaps this is better.....
=SUM(OFFSET(ebitda!$L$13:$O$13,MATCH(D13,ebitda!$D $13:$D$6000,0)-1,)) "daddylonglegs" wrote: Hello Steve, with an "array formula" that needs to be coonfirmed with CTRL+SHIFT+ENTER =SUM(VLOOKUP(D13,ebitda!$D$13:$O$6000,{9,10,11,12} ,0)) or if you know that D13 has only one match in ebitda!$D$13:$D$6000 you could use =SUMPRODUCT((ebitda!$D$13:$D$6000=D13)*ebitda!$L$1 3:$O$6000) "SteveC" wrote: this is what i have now: =INDEX(EBITDA!$L$13:$L$6000,MATCH(D13,EBITDA!$D$13 :$D$6000,0),1)+INDEX(EBITDA!$M$13:$M$6000,MATCH(D1 3,EBITDA!$D$13:$D$6000,0),1)+INDEX(EBITDA!$N$13:$N $6000,MATCH(D13,EBITDA!$D$13:$D$6000,0),1)+INDEX(E BITDA!$O$13:$O$6000,MATCH(D13,EBITDA!$D$13:$D$6000 ,0),1) you see this formula is on one worksheet, matching numbers on another worksheet to sume together 4 columns. This looks ugly. Is there a smaller way of doing this -- to at least add together columns m, n and o all at once? thanks for taking a look... |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
smaller formula to sum together 4 columns, 3 of them next to o
Or even
=SUMPRODUCT((EBITDA!$D$13:$D$6000=D13)*(EBITDA!$L$ 13:$O$6000)) -- Regards, Peo Sjoblom "daddylonglegs" wrote in message ... or perhaps this is better..... =SUM(OFFSET(ebitda!$L$13:$O$13,MATCH(D13,ebitda!$D $13:$D$6000,0)-1,)) "daddylonglegs" wrote: Hello Steve, with an "array formula" that needs to be coonfirmed with CTRL+SHIFT+ENTER =SUM(VLOOKUP(D13,ebitda!$D$13:$O$6000,{9,10,11,12} ,0)) or if you know that D13 has only one match in ebitda!$D$13:$D$6000 you could use =SUMPRODUCT((ebitda!$D$13:$D$6000=D13)*ebitda!$L$1 3:$O$6000) "SteveC" wrote: this is what i have now: =INDEX(EBITDA!$L$13:$L$6000,MATCH(D13,EBITDA!$D$13 :$D$6000,0),1)+INDEX(EBITDA!$M$13:$M$6000,MATCH(D1 3,EBITDA!$D$13:$D$6000,0),1)+INDEX(EBITDA!$N$13:$N $6000,MATCH(D13,EBITDA!$D$13:$D$6000,0),1)+INDEX(E BITDA!$O$13:$O$6000,MATCH(D13,EBITDA!$D$13:$D$6000 ,0),1) you see this formula is on one worksheet, matching numbers on another worksheet to sume together 4 columns. This looks ugly. Is there a smaller way of doing this -- to at least add together columns m, n and o all at once? thanks for taking a look... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Font size smaller and bigger in a formula | Excel Worksheet Functions | |||
can this be made smaller? | Excel Discussion (Misc queries) | |||
Can this be made smaller? | Excel Discussion (Misc queries) | |||
smaller equations: a & b, or just a.. | Excel Discussion (Misc queries) | |||
Greater than, smaller than formula | Excel Worksheet Functions |