#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Counting Dates

Column A has a a list of letters (a,b or c) and Column B has a list of random
dates. How do i get a formula that will count all letters of "a" that have a
date in February for example.
I am trying to use a DSUM (if this is correct), however what would be the
criteria for a "date in febraury" ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting Dates


Dilly;340795 Wrote:
Column A has a a list of letters (a,b or c) and Column B has a list of
random
dates. How do i get a formula that will count all letters of "a" that
have a
date in February for example.
I am trying to use a DSUM (if this is correct), however what would be
the
criteria for a "date in febraury" ?


Hi,
I don't know about DSUM but the following should do
=sumproduct((a1:a100="a")*(month(b1:b100)=3))

( adapt the range to your needs but BOTH ranges must have same length)


--
Pecoflyer

Cheers -
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=95305

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
Counting dates Boylie Excel Worksheet Functions 4 February 20th 09 04:55 PM
counting occasions dates occur between 2 dates hoyt New Users to Excel 5 June 16th 06 08:11 AM
Counting dates, within a list of dates jrheinschm Excel Worksheet Functions 7 April 19th 06 06:13 PM
Counting Dates billy Excel Worksheet Functions 6 December 29th 05 12:11 PM
Counting Dates? Aviator Excel Discussion (Misc queries) 3 January 10th 05 08:05 PM


All times are GMT +1. The time now is 03:21 AM.

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"