#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default SUMIF and range

Is it possible to have non-contiguous (I think that's the right word) ranges
in a SUMIF statement? If so, is this the correct syntax to define the range?
For example:

=SUMIF(A2:A14,A17:A25,"0",R2:R14,R17:R25)

TIA

David
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default SUMIF and range

Try


=SUM(SUMIF(INDIRECT({"A2:A14","A17:A25"}),"0",IND IRECT({"R2:R14","R17:R25"})))

--


Regards,


Peo Sjoblom

"Compass Rose" wrote in message
...
Is it possible to have non-contiguous (I think that's the right word)
ranges
in a SUMIF statement? If so, is this the correct syntax to define the
range?
For example:

=SUMIF(A2:A14,A17:A25,"0",R2:R14,R17:R25)

TIA

David



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUMIF and range

Hi,

Use 2 SUMIF() functions instead.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Compass Rose" wrote in message
...
Is it possible to have non-contiguous (I think that's the right word)
ranges
in a SUMIF statement? If so, is this the correct syntax to define the
range?
For example:

=SUMIF(A2:A14,A17:A25,"0",R2:R14,R17:R25)

TIA

David


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
SumIf - when I fill down the Range, Criteria & sum range changes markholt Excel Worksheet Functions 3 October 28th 08 12:37 AM
sumif within a range que777 Excel Discussion (Misc queries) 1 May 18th 08 05:12 AM
sumif() using range name Jeff Wimer Excel Worksheet Functions 1 October 18th 06 11:47 PM
Sumif and a range Metolius Dad Excel Worksheet Functions 3 February 14th 06 09:25 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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