Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default 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
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
Font size smaller and bigger in a formula Gary T Excel Worksheet Functions 1 May 10th 06 04:51 PM
can this be made smaller? fivermsg Excel Discussion (Misc queries) 4 March 15th 06 04:56 PM
Can this be made smaller? fivermsg Excel Discussion (Misc queries) 2 March 12th 06 06:55 PM
smaller equations: a & b, or just a.. nastech Excel Discussion (Misc queries) 6 January 29th 06 11:34 PM
Greater than, smaller than formula alexander_geoff Excel Worksheet Functions 15 January 2nd 06 02:52 PM


All times are GMT +1. The time now is 02:50 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"