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 How format SUMIF formula for matching date range and column value?

Here is my current SUMIF formula. How would I modify this to add the
selection of a date range from the same data columns? Example, start date of
2/1 and end date of 2/8.

=SUMIF(Jan!$F$9:$F$55202,"groceries",Jan!$D$9:$D$5 5202)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default How format SUMIF formula for matching date range and column value?

The answer depends on which version of Excel you are using. For Excel 2007,
you can use Sumifs. For other versions, it's Sumproduct, as in:

=Sumproduct(--(Jan!$F$9:$F$55202="groceries"),--(Jan!$G$9:$G$55202=Date(2010,2,1)),--(Jan!$G$9:$G$55202<=Date(2010,2,8)),Jan!$D$9:$D$55 202)

As an aside, my bet is that using a Pivot Table would make your life a lot
easier.

Regards,
Fred

"Kane" wrote in message
...
Here is my current SUMIF formula. How would I modify this to add the
selection of a date range from the same data columns? Example, start date
of
2/1 and end date of 2/8.

=SUMIF(Jan!$F$9:$F$55202,"groceries",Jan!$D$9:$D$5 5202)



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How format SUMIF formula for matching date range and column value?

=SUMPRODUCT(--(RngF="groceries"),--(RngDate=DATE(2010,2,1)),--(RngDate<=DATE(2010,2,8)),RngD)


"Kane" wrote:

Here is my current SUMIF formula. How would I modify this to add the
selection of a date range from the same data columns? Example, start date of
2/1 and end date of 2/8.

=SUMIF(Jan!$F$9:$F$55202,"groceries",Jan!$D$9:$D$5 5202)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default How format SUMIF formula for matching date range and column va

I am using Office 2007. So the sumif is working great. I tried the pivot
tables first, but they were very complex to setup and I could not understand
or change the format of the results. Is there a tutorial anywhere that can
help?

"Fred Smith" wrote:

The answer depends on which version of Excel you are using. For Excel 2007,
you can use Sumifs. For other versions, it's Sumproduct, as in:

=Sumproduct(--(Jan!$F$9:$F$55202="groceries"),--(Jan!$G$9:$G$55202=Date(2010,2,1)),--(Jan!$G$9:$G$55202<=Date(2010,2,8)),Jan!$D$9:$D$55 202)

As an aside, my bet is that using a Pivot Table would make your life a lot
easier.

Regards,
Fred

"Kane" wrote in message
...
Here is my current SUMIF formula. How would I modify this to add the
selection of a date range from the same data columns? Example, start date
of
2/1 and end date of 2/8.

=SUMIF(Jan!$F$9:$F$55202,"groceries",Jan!$D$9:$D$5 5202)



.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default How format SUMIF formula for matching date range and column va

Try: http://www.cpearson.com/excel/pivots.htm

Once you learn Pivot Tables, you never go back.

Regards,
Fred

"Kane" wrote in message
...
I am using Office 2007. So the sumif is working great. I tried the pivot
tables first, but they were very complex to setup and I could not
understand
or change the format of the results. Is there a tutorial anywhere that
can
help?

"Fred Smith" wrote:

The answer depends on which version of Excel you are using. For Excel
2007,
you can use Sumifs. For other versions, it's Sumproduct, as in:

=Sumproduct(--(Jan!$F$9:$F$55202="groceries"),--(Jan!$G$9:$G$55202=Date(2010,2,1)),--(Jan!$G$9:$G$55202<=Date(2010,2,8)),Jan!$D$9:$D$55 202)

As an aside, my bet is that using a Pivot Table would make your life a
lot
easier.

Regards,
Fred

"Kane" wrote in message
...
Here is my current SUMIF formula. How would I modify this to add the
selection of a date range from the same data columns? Example, start
date
of
2/1 and end date of 2/8.

=SUMIF(Jan!$F$9:$F$55202,"groceries",Jan!$D$9:$D$5 5202)



.


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
What should formula look like to define date range on SUMIF Kane Excel Worksheet Functions 2 October 30th 09 11:52 PM
Using a date range in a formula to pull info to the correct column Tricia Excel Worksheet Functions 6 December 13th 06 10:16 PM
Formula to take average from column range matching another dmasch Excel Discussion (Misc queries) 3 October 24th 06 02:27 PM
SUMIF within date range as a function of today()'s date irvine79 Excel Worksheet Functions 8 August 6th 06 05:55 PM
I need a formula to find rows within a date range in one column? M. Penney Excel Worksheet Functions 5 May 12th 05 12:32 AM


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