Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Sumif between a range

Help please with the following:

=SUMIF('<100'!$K:$K,"2" or "<=12",'<100'!$E:$E) or
something like between "2" and "12".


Cheers,
John
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Sumif between a range

=sumproduct((rngA2)*(rngA<=12)*rngB)

--
Don Guillett
SalesAid Software

"John" wrote in message
...
Help please with the following:

=SUMIF('<100'!$K:$K,"2" or "<=12",'<100'!$E:$E) or
something like between "2" and "12".


Cheers,
John


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sumif between a range

=sumif('<100'!$k:$k,"=2") - sumif('<100'!$k:$k,"12")

Will include 2's and 12's in the sum.

I'm not sure what should happen at those values (2 and 12).



John wrote:

Help please with the following:

=SUMIF('<100'!$K:$K,"2" or "<=12",'<100'!$E:$E) or
something like between "2" and "12".

Cheers,
John


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sumif between a range

I misread the question.

=SUMIF($K:$K,"=2",E:E) - SUMIF($K:$K,"12",E:E)


Dave Peterson wrote:

=sumif('<100'!$k:$k,"=2") - sumif('<100'!$k:$k,"12")

Will include 2's and 12's in the sum.

I'm not sure what should happen at those values (2 and 12).

John wrote:

Help please with the following:

=SUMIF('<100'!$K:$K,"2" or "<=12",'<100'!$E:$E) or
something like between "2" and "12".

Cheers,
John


--

Dave Peterson


--

Dave Peterson
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 using a range with critera Teethless mama Excel Discussion (Misc queries) 0 March 28th 07 01:16 AM
sumif() using range name Jeff Wimer Excel Worksheet Functions 1 October 18th 06 11:47 PM
How to use a range in SUMIF? bdddd Excel Worksheet Functions 7 February 14th 06 06:44 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 02:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"