Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mike the new guy
 
Posts: n/a
Default Formula to sum data from a data range

Ok here's what I need to do.
My sheet contains list of transactions by date and tx number spread over
several years. I am trying to automatically pull subtotals for each fiscal
year out of this LONG list of data.

Example:
ID Date IssueAmt Sold Date
1380 12/1/1998 $66.00 12/1/1998
1381 12/1/1998 $66.00 12/1/1998

I need a formula that will sum the "Issue Amounts" if the "Date" falls
within a particular range, ie. 11/25/1998-11/28/1999.

Any help you all can give me I am extremely greatful for. I've been pulling
my hair out all day today with IF, AND, and OR statements that keep returning
garbage.

Thanks,
Mike

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Formula to sum data from a data range

=SUMPRODUCT(--(B2:B200=--"1998-11-25"),--(B2:B200<=--"1999-11-28"),C2:C200)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mike the new guy" wrote in
message ...
Ok here's what I need to do.
My sheet contains list of transactions by date and tx number spread over
several years. I am trying to automatically pull subtotals for each

fiscal
year out of this LONG list of data.

Example:
ID Date IssueAmt Sold Date
1380 12/1/1998 $66.00 12/1/1998
1381 12/1/1998 $66.00 12/1/1998

I need a formula that will sum the "Issue Amounts" if the "Date" falls
within a particular range, ie. 11/25/1998-11/28/1999.

Any help you all can give me I am extremely greatful for. I've been

pulling
my hair out all day today with IF, AND, and OR statements that keep

returning
garbage.

Thanks,
Mike



  #3   Report Post  
Posted to microsoft.public.excel.misc
mike the new guy
 
Posts: n/a
Default Formula to sum data from a data range

Bob you RULE!!!!
Thank you SO MUCH for the help!!!!
(My boss is gonna think I'm a genious when she sees this.) Don't worry,
I'll give you credit... : )

"Bob Phillips" wrote:

=SUMPRODUCT(--(B2:B200=--"1998-11-25"),--(B2:B200<=--"1999-11-28"),C2:C200)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mike the new guy" wrote in
message ...
Ok here's what I need to do.
My sheet contains list of transactions by date and tx number spread over
several years. I am trying to automatically pull subtotals for each

fiscal
year out of this LONG list of data.

Example:
ID Date IssueAmt Sold Date
1380 12/1/1998 $66.00 12/1/1998
1381 12/1/1998 $66.00 12/1/1998

I need a formula that will sum the "Issue Amounts" if the "Date" falls
within a particular range, ie. 11/25/1998-11/28/1999.

Any help you all can give me I am extremely greatful for. I've been

pulling
my hair out all day today with IF, AND, and OR statements that keep

returning
garbage.

Thanks,
Mike




  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Formula to sum data from a data range

If you have many date ranges, it is probably best to put the start and end
dates in cells and test against those, and then lock the test range with
absolute values so that it is easily copyable. Like this

=SUMPRODUCT(--($B$2:$B$200=M1),--($B$2:$B$200<=N1),$C$2:$C$200)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mike the new guy" wrote in
message ...
Bob you RULE!!!!
Thank you SO MUCH for the help!!!!
(My boss is gonna think I'm a genious when she sees this.) Don't worry,
I'll give you credit... : )

"Bob Phillips" wrote:


=SUMPRODUCT(--(B2:B200=--"1998-11-25"),--(B2:B200<=--"1999-11-28"),C2:C200)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mike the new guy" wrote in
message ...
Ok here's what I need to do.
My sheet contains list of transactions by date and tx number spread

over
several years. I am trying to automatically pull subtotals for each

fiscal
year out of this LONG list of data.

Example:
ID Date IssueAmt Sold Date
1380 12/1/1998 $66.00 12/1/1998
1381 12/1/1998 $66.00 12/1/1998

I need a formula that will sum the "Issue Amounts" if the "Date" falls
within a particular range, ie. 11/25/1998-11/28/1999.

Any help you all can give me I am extremely greatful for. I've been

pulling
my hair out all day today with IF, AND, and OR statements that keep

returning
garbage.

Thanks,
Mike






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
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


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