Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hirsch
 
Posts: n/a
Default Modifying sumif formulas.

=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

This was the start to one formula on a spread sheet, my simple question is
can this be condensed. is there such thing as
=sumif(b:b,b92,ae:ae&ai:ai&ak:ak) -

The whole purpose of condensing the formula is to be allow others to follow
the path especially auditors.
  #2   Report Post  
RagDyer
 
Posts: n/a
Default

Is this easier to understand?

=SUMPRODUCT((B1:B1000=B92)*(AK1:AK1000+AE1:AE1000+ AI1:AI1000))

With Sumproduct however, you can't use total column references (B:B, AK:AK,
.... etc.).
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Hirsch" wrote in message
...
=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

This was the start to one formula on a spread sheet, my simple question is
can this be condensed. is there such thing as
=sumif(b:b,b92,ae:ae&ai:ai&ak:ak) -

The whole purpose of condensing the formula is to be allow others to

follow
the path especially auditors.



  #3   Report Post  
bj
 
Posts: n/a
Default

no the existing formula is about as simple as you will be able to get

"Hirsch" wrote:

=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

This was the start to one formula on a spread sheet, my simple question is
can this be condensed. is there such thing as
=sumif(b:b,b92,ae:ae&ai:ai&ak:ak) -

The whole purpose of condensing the formula is to be allow others to follow
the path especially auditors.

  #4   Report Post  
Kevin M
 
Posts: n/a
Default

Hirsch, you can use the formula DSUM. This will sum based on criteria you set
outside the data by using the Column heading as the reference and then your
criteria underneath. The help menu has a useful entry on this formula.

HTH,

Kevin M
MOS Excel Specialist

"Hirsch" wrote:

=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif(b :b,b92,AK:AK)

This was the start to one formula on a spread sheet, my simple question is
can this be condensed. is there such thing as
=sumif(b:b,b92,ae:ae&ai:ai&ak:ak) -

The whole purpose of condensing the formula is to be allow others to follow
the path especially auditors.

  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Kevin M" wrote...
Hirsch, you can use the formula DSUM. This will sum based on
criteria you set outside the data by using the Column heading
as the reference and then your criteria underneath. The help
menu has a useful entry on this formula.

....
"Hirsch" wrote:
=SUMIF(B:B,B92,AE:AE)+SUMIF(B:B,B92,AI:AI)+sumif (b:b,b92,AK:AK)

....


How would DSUM help in this case? Neither SUMIF nor DSUM can directly sum
multiple columns/fields. It's hard to see how something like

=DSUM($A:$AZ,31,CR)+DSUM($A:$AZ,35,CR)+DSUM($A:$AZ ,37,CR)

would be all that much of an improvement. Note that CR is a reference to a
criteria range.

This can be condensed with trickery,

=SUM(SUMIF(B:B,B92,OFFSET(AE:AE,0,{0,4,6}))

but the result is obscure at best.


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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Using SumIF formulas with multiple lookup values Chris Freeman Excel Worksheet Functions 3 April 13th 05 01:40 AM
sumif and array formulas Simon Murphy Excel Worksheet Functions 4 January 25th 05 05:22 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
formulas SUMIF & DSUM cvgairport Excel Discussion (Misc queries) 1 January 3rd 05 05:53 PM


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