#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Combine Sumif


Hi all,

I am strugling with a caculation of mine.

Basically I want to combine two SUM IF functions into one. I.e.

SUMIF(range C:C,criteria J2,sum range D:D) & SUMIF(range BB, criteria
H12, sum range D:D)

Does anybody know if this is possible.


--
moglione1
------------------------------------------------------------------------
moglione1's Profile: http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=562422

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Combine Sumif

assuming you don't want double counts in column d
try sumproduct()
=sumproduct(--(c1:c6400=$j$2),--(B1:b6400=$H$12),d1:d6400)

the --() changes the logical true or false to 1 or 0
in sumproduct you can't specify the entire column such as C:C it has to be a
specific range,
in sumproduct all of the arrays need to be the same size

"moglione1" wrote:


Hi all,

I am strugling with a caculation of mine.

Basically I want to combine two SUM IF functions into one. I.e.

SUMIF(range C:C,criteria J2,sum range D:D) & SUMIF(range BB, criteria
H12, sum range D:D)

Does anybody know if this is possible.


--
moglione1
------------------------------------------------------------------------
moglione1's Profile: http://www.excelforum.com/member.php...o&userid=26414
View this thread: http://www.excelforum.com/showthread...hreadid=562422


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
How i can create a formula that combine subtotals and sumif Ray Excel Worksheet Functions 1 June 15th 06 04:17 PM
Combine Indirect and Sumif dcd123 Excel Worksheet Functions 3 October 27th 05 04:20 PM
How can I combine the functions of a vlookup and sumif without a p hobbeson Excel Worksheet Functions 2 May 20th 05 01:26 AM
How to combine a vlookup with a sumif function!!! Mark the Shark Excel Discussion (Misc queries) 2 April 6th 05 11:54 AM


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