How about?
![]()
Res1 = Worksheets("sheet1").Evaluate("=SUMPRODUCT(--(AM1:AM30000>=DATE(2009,8,1)),--(AM1:AM30000<=DATE(2009,9,1)),BN1:BN30000)")
How about?
![]()
Res1 = Worksheets("sheet1").Evaluate("=SUMPRODUCT(--(AM1:AM30000>=DATE(2009,8,1)),--(AM1:AM30000<=DATE(2009,9,1)),BN1:BN30000)")
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
duh!!...thanks..i knew it was something simple..i couldn't see the wood for the trees i guess....thanks for your help!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks