Thread: sumif formula
View Single Post
  #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?