Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pam
 
Posts: n/a
Default formula to calculate a column based on dates in a different colum.

I have dates in column A and numbers in column B-J. I need columns B-J to
add up if dates in A are within a range. For example: if A is between
9/21/2004 and 9/20/2005, then add those lines in column B.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

One way:

=SUM(IF((A1:A100=M1)*(A1:A100<=N1),B1:J100))

Array-entered, meaning press ctrl + shift + enter, where
M1 holds the start date and N1 holds the end date.

HTH
Jason
Atlanta, GA

-----Original Message-----
I have dates in column A and numbers in column B-J. I

need columns B-J to
add up if dates in A are within a range. For example:

if A is between
9/21/2004 and 9/20/2005, then add those lines in column

B.
.

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
Formula to calculate elapsed time between certain dates and times Stadinx Excel Discussion (Misc queries) 6 March 25th 05 07:02 AM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM
calculate which cells in column A will give me the total of column Ken Excel Worksheet Functions 4 January 6th 05 06:25 AM
I need a formula that will sum the top 3 number in a column havocdragon Excel Worksheet Functions 5 December 15th 04 10:03 PM
how to enter a formula using column() function for a range Mike Peter Excel Worksheet Functions 6 December 8th 04 07:11 AM


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