Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Choose dat range for sumif formula

I am using the SUMIF formula to select certain cells in row records to SUM.
These same records have a date. What should my formula look like to SUMIF
only records that match a data range. Say "only for Oct 1st through OCt
14th" and SUMIF only records within this data range that match the same
keyword? If someone can point me in the right direction on what this formula
should look like, I can work with it to tweak it in my spreadsheet.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Choose dat range for sumif formula

You need to use a different function since you have multiple criteria.

A1:A10 = dates
B1:B10 = text entries
C1:C10 = values to sum

It's better to use cells to hold your criteria...

E1 = lower date boundary = 10/1/2009
F1 = upper date boundary = 10/14/2009
G1 = some keyword = Yes

=SUMPRODUCT(--(A1:A10=E1),--(A1:A10<=F1),--(B1:B10=G1),C1:C10)

What this means:

Sum C1:C10 where A1:A10 is within the date boundaries and B1:B10 = Yes

--
Biff
Microsoft Excel MVP


"Kane" wrote in message
...
I am using the SUMIF formula to select certain cells in row records to SUM.
These same records have a date. What should my formula look like to
SUMIF
only records that match a data range. Say "only for Oct 1st through OCt
14th" and SUMIF only records within this data range that match the same
keyword? If someone can point me in the right direction on what this
formula
should look like, I can work with it to tweak it in my spreadsheet.



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 do I enter formula sum(range+range)*0.15 sumif(range=3) tkw Excel Discussion (Misc queries) 2 October 1st 09 09:17 PM
choose a cell in a range which has a text (there is only one) flying man Excel Discussion (Misc queries) 2 February 6th 09 03:43 PM
Choose From A Range FARAZ QURESHI Excel Discussion (Misc queries) 3 December 21st 08 09:49 PM
How do I randomly choose cells from a range to reproduce elsewhere TU340 Excel Discussion (Misc queries) 3 January 11th 08 04:35 PM
Choose From a Range Freshman Excel Worksheet Functions 3 July 29th 05 10:41 AM


All times are GMT +1. The time now is 04:56 PM.

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"