A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How format SUMIF formula for matching date range and column value?



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2010, 01:53 PM posted to microsoft.public.excel.worksheet.functions
Kane
external usenet poster
 
Posts: 24
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  
Old February 10th, 2010, 03:16 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
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  
Old February 10th, 2010, 03:31 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
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  
Old February 10th, 2010, 04:56 PM posted to microsoft.public.excel.worksheet.functions
Kane
external usenet poster
 
Posts: 24
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  
Old February 10th, 2010, 05:40 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
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)



.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:58 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.