LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Chip Smith
 
Posts: n/a
Default SUMPRODUCT help....

I figured out that the SUMPRODUCT formula would work best in my situation and
it did....however i made a slight error when writing it and now i'm
stuck...the currents formual looks like this...

=SUMPRODUCT(--(MONTH(Data!$G$2:$G$47)=2),--(YEAR(Data!$G$2:$G$47)=2006),--(Data!$D$2:$D$47="Purchased"))

however when dealing with my data, i need it to search between two
dates....for example the date would be anything between Jan 1, 2006 and Jan
20, 2006.WOuld the formual look somehting like this??

=SUMPRODUCT(--(DATE(2006,1,1<Data!$D$2:$D$47<2006,1,20)),--(Data!$D$2:$D$47="Purchased"))

Thank you!

--
--Chip Smith--
MVP Wannabe :)
 
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
Need help with sumproduct & dynamic ranges bill_s1416 Excel Worksheet Functions 1 March 19th 06 03:36 AM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


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