LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Countind date between two dates - formula results

I have tried this toppers, it comes back with the result FALSE in the cell,
this is the formula
=SUMPRODUCT(--(E25:E28<""),--(G25:G28="Abbey"),--(YEAR(F25:F28=2005)))

and the data

E F G
Dave 01/03/2005 Abbey
Gary 01/03/2006 Abbey
Jane 02/03/2005 Abbey
Gaz 05/03/2005 Abbey

I think this should return the result in my cell of 3


"Toppers" wrote:

That's what the formula does ... selects year=2007 from a date field.

Did you try it?

"Mark R" wrote:

Hi Toppers,

I have used the bottom formula and thats almost perfect, except the cell has
the complete date in it, so 2007 is only part of the cell, i.e my cell is
01/03/2007 so I need to pick the year only part of the date.

"Toppers" wrote:

==SUMPRODUCT(--(B2:B100<""),--(MONTH(B2:B100=1)),--(YEAR(B2:B100=2007)))

=SUMPRODUCT(--(B2:B100<""),--(MONTH(B2:B100=1)),--(YEAR(B2:B100=2007)))

=SUMPRODUCT(--(B2:B100<""),--(C2:C100="Abbey"),--(YEAR(B2:B100=2007)))

It's better to put the parameters in cellS:

=SUMPRODUCT(--(B2:B100<""),--(C2:C100=X1),--(YEAR(B2:B100=X2)))

X1="Abbey"
X2=2007

HTH


"Mark R" wrote:

I have a spreadsheet that has clients names and then the date that I
submitted the business for them i.e

Mr Jones 12/12/2006 Abbey
Mrs Smith 12/01/2007 Natwest

What is the best way to count all the submitted business in 1 month say for
January only. Also how would i count all the Abbey cases in say 2007, or 2006.

I need this as a formula so that I can populate graphes etc with it.

 
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
Date formatting of formula created dates Fred Excel Discussion (Misc queries) 2 October 23rd 06 02:40 PM
Need formula to calculate days between dates or back date KVN Excel Discussion (Misc queries) 3 May 3rd 06 10:08 PM
date formula for extracting unique dates elfudge35 Excel Worksheet Functions 6 January 14th 06 02:18 PM
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 02:33 AM
Date stamp formula results? Tricky problem? mjp Excel Discussion (Misc queries) 0 November 18th 05 04:11 PM


All times are GMT +1. The time now is 04:03 PM.

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"