Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wayne Cameron
 
Posts: n/a
Default add column using dates as argument

col CC is a list of dates (ie 09/12/2005 & 10/13/2005). Col CF contains
dollar amounts. I want to make a formula that adds col. CF taking only
dollars on lines that have a September date and put the result in CF22. This
is the formula I came up with but it doesn't work:
=SUMIF(CC7:CC20,"=<(date)09/30/2005,=09/01/2005",CF7:CF20) The formula gives
me $0.00 and it should be $150.00. Can any one help me correct my mistake
please?
--
D. W. Cameron
  #2   Report Post  
Domenic
 
Posts: n/a
Default add column using dates as argument

Try...

=SUMPRODUCT(--(CC7:CC20-DAY(CC7:CC20)+1=A1),CF7:CF20)

....where A1 contains the first day of the month for the month of
interest. For example, for the month of September, you would enter
9/1/2005 in A1.

Hope this helps!

In article ,
"Wayne Cameron" wrote:

col CC is a list of dates (ie 09/12/2005 & 10/13/2005). Col CF contains
dollar amounts. I want to make a formula that adds col. CF taking only
dollars on lines that have a September date and put the result in CF22. This
is the formula I came up with but it doesn't work:
=SUMIF(CC7:CC20,"=<(date)09/30/2005,=09/01/2005",CF7:CF20) The formula gives
me $0.00 and it should be $150.00. Can any one help me correct my mistake
please?

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 to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Check column of dates against todays date Andrew82 Excel Worksheet Functions 1 April 15th 05 11:17 AM
How do I count cells in a column of dates between date ranges? Andrew82 Excel Worksheet Functions 2 April 14th 05 09:59 AM
Can I change a column of dates from USA to UK format? Michelle, Mencap Excel Discussion (Misc queries) 3 March 2nd 05 04:02 PM


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