Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sum of Price Given Specific Dates

I have a column of dates, and another filled with price. How can I sum up the
prices for anything BEFORE a specific date? Help~~~
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 236
Default Sum of Price Given Specific Dates

Use SumProduct.
Example...
=SUMPRODUCT(--($A$2:$A$21=E4),--($A$2:$A$21<=E5),--(B2:B21))

Whe
A2:A21 is a list of dates
E4 is the 'FROM' date
E5 is the 'TO' date
B2:B21 is a list of prices
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"Ezzat" wrote:

I have a column of dates, and another filled with price. How can I sum up the
prices for anything BEFORE a specific date? Help~~~

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Sum of Price Given Specific Dates

Hi Gary, thanks for the reply. I tried the formula, but came up with a
"#VALUE!".

My dates are in column AD (AD2:AD109)
My Prices are in column I (I2:I109)
I need the sum of prices between:

1/1/07 (located at AI48). Number value is 39083.
and
5/31/09 (located at AI49). Number value is 39964.

Here is your formula after it's been plugged in.

=SUMPRODUCT(--(AD2:AD109=AI48),--(AD2:AD109<=AI49),--(I2:I109))

Where did I go wrong?

"Gary Brown" wrote:

Use SumProduct.
Example...
=SUMPRODUCT(--($A$2:$A$21=E4),--($A$2:$A$21<=E5),--(B2:B21))

Whe
A2:A21 is a list of dates
E4 is the 'FROM' date
E5 is the 'TO' date
B2:B21 is a list of prices
--
Hope this helps.
If it does, please click the Yes button.
Thanks in advance for your feedback.
Gary Brown



"Ezzat" wrote:

I have a column of dates, and another filled with price. How can I sum up the
prices for anything BEFORE a specific date? Help~~~

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
Average price between dates PaulinaDi Excel Worksheet Functions 9 October 7th 08 12:05 AM
Average price between dates PaulinaDi Excel Worksheet Functions 1 September 30th 08 11:33 PM
Need help in round up or down price to specific ending number Ms. Latte[_2_] Excel Discussion (Misc queries) 1 August 8th 08 12:29 PM
Help: Need Excel formula to return correct price from price history table Ian_W-at-GMail Excel Discussion (Misc queries) 5 March 21st 07 06:45 PM
calculate/convert volume price to monthly average price Bultgren Excel Worksheet Functions 2 February 14th 06 09:36 AM


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