Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Excel date range function
 
Posts: n/a
Default Excel date function

I have created the function SUMIF(A2:A25,"1/10/05",D2:D25) where the entries
of the A column are dates and the D column are amounts. For every entry on
1/10/05, it totals the amount. How can I apply this function with a date
range criteria of one month instead of just one day?
  #2   Report Post  
QC Coug
 
Posts: n/a
Default

You could set up a column that will give you the month of the data in column
A. (e.g. =month(A2)). If the data is "1/10/05" it will return the result of
"1". Then you can change your sumif formula to reference the new column with
the months.

"Excel date range function" wrote:

I have created the function SUMIF(A2:A25,"1/10/05",D2:D25) where the entries
of the A column are dates and the D column are amounts. For every entry on
1/10/05, it totals the amount. How can I apply this function with a date
range criteria of one month instead of just one day?

  #5   Report Post  
Excel date function
 
Posts: n/a
Default

How could this formula be modified to include a second group of text (in
M2:M25 called Operators) so I could group by date and Operators and then add
the amounts in D2:D25?

"Bob Phillips" wrote:

=SUMPRODUCT(--(TEXT(A2:A25,"yyyymmm")="2005Jan"),D2:D25)

--
HTH

Bob Phillips

"Excel date range function" <Excel date range
wrote in message
...
I have created the function SUMIF(A2:A25,"1/10/05",D2:D25) where the

entries
of the A column are dates and the D column are amounts. For every entry

on
1/10/05, it totals the amount. How can I apply this function with a date
range criteria of one month instead of just one day?






  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(TEXT(A2:A25,"yyyymmm")="2005Jan"),--(M2:M25="Operators"),D2:D
25)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Excel date function" wrote in
message ...
How could this formula be modified to include a second group of text (in
M2:M25 called Operators) so I could group by date and Operators and then

add
the amounts in D2:D25?

"Bob Phillips" wrote:

=SUMPRODUCT(--(TEXT(A2:A25,"yyyymmm")="2005Jan"),D2:D25)

--
HTH

Bob Phillips

"Excel date range function" <Excel date range
wrote in message
...
I have created the function SUMIF(A2:A25,"1/10/05",D2:D25) where the

entries
of the A column are dates and the D column are amounts. For every

entry
on
1/10/05, it totals the amount. How can I apply this function with a

date
range criteria of one month instead of just one day?






  #7   Report Post  
Excel date function
 
Posts: n/a
Default

Thank you for your help.

"Bob Phillips" wrote:

=SUMPRODUCT(--(TEXT(A2:A25,"yyyymmm")="2005Jan"),--(M2:M25="Operators"),D2:D
25)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Excel date function" wrote in
message ...
How could this formula be modified to include a second group of text (in
M2:M25 called Operators) so I could group by date and Operators and then

add
the amounts in D2:D25?

"Bob Phillips" wrote:

=SUMPRODUCT(--(TEXT(A2:A25,"yyyymmm")="2005Jan"),D2:D25)

--
HTH

Bob Phillips

"Excel date range function" <Excel date range
wrote in message
...
I have created the function SUMIF(A2:A25,"1/10/05",D2:D25) where the
entries
of the A column are dates and the D column are amounts. For every

entry
on
1/10/05, it totals the amount. How can I apply this function with a

date
range criteria of one month instead of just one day?






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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


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