#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default sumif formula

I need to calculate a total using a sumif function based of a range of
numbers. For instance, my criteria for the sumif needs to be "for any cells
whose value is between 10 and 20". How would you write that formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumif formula

=SUMPRODUCT(--(A1:A10010),--(A1:A100<20),A1:A100)


"alm09" wrote:

I need to calculate a total using a sumif function based of a range of
numbers. For instance, my criteria for the sumif needs to be "for any cells
whose value is between 10 and 20". How would you write that formula?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default sumif formula

between 10 and 20 might be = 10 <=20 ??? depending on what is desired.
=SUMPRODUCT(--(A1:A10010),--(A1:A100<=20),A1:A100)

--
Don Guillett
SalesAid Software

"Teethless mama" wrote in message
...
=SUMPRODUCT(--(A1:A10010),--(A1:A100<20),A1:A100)


"alm09" wrote:

I need to calculate a total using a sumif function based of a range of
numbers. For instance, my criteria for the sumif needs to be "for any
cells
whose value is between 10 and 20". How would you write that formula?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default sumif formula

try
=sumif(range,"10")-sumif(range,"=20")

"alm09" wrote:

I need to calculate a total using a sumif function based of a range of
numbers. For instance, my criteria for the sumif needs to be "for any cells
whose value is between 10 and 20". How would you write that formula?

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
help with sumif formula with multiple critera Matt Excel Worksheet Functions 4 October 13th 07 06:56 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula (perhaps sumif?) redb Excel Discussion (Misc queries) 3 October 3rd 05 01:48 PM
Array Formula w/ Multiple SumIf Criteria Andy Excel Worksheet Functions 3 July 13th 05 08:56 PM


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