LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ben Ben is offline
external usenet poster
 
Posts: 5
Default Sum Column Entries that fall within Date Range Listed In Rows

Thanks everyone for your help. Using Today instead of Now helped, and
both SumIF and SumProduct worked. My problem was in the more complex
portion of my post, where I said each date had 5 rows and I merged the
5 cells together for the date value...then tryed to read and sum the
second column. I think Excel needed a 1 to 1 relationship between date
cell and my second column in order to sum the values, so removing the
merge corrected the problem. Once I did this and put the holding date
in the 5th row at each occurence, the calculations worked.

Thanks again for your help!!!!




SteveG wrote:
Ben,

Try,

=SUMPRODUCT((A1:A4=TODAY())*(B1:B4))

Use TODAY instead of NOW unless you need to evaluate the time and not
just the date. NOW() will return date and time so in your sample data
the above formula will exclude the value for 7/10/2006 from the sum
because the default time when you enter a date is 12:00 AM which is not
greater than or equal to NOW().


HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=559945




 
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
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
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


All times are GMT +1. The time now is 05:49 AM.

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"