Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Count if

Thank's for the help, The info links were excellent, I'd rather learn how to
do then have to keep asking. thanks again Zb

"Bernard Liengme" wrote:

This formula counts how many of the dates are in first quarter:
=SUMPRODUCT(--((INT((MONTH(B2:B103)-1)/3)+1)=1))
This counts how many are in Q1 of year 2007
=SUMPRODUCT(--((INT((MONTH(B2:B103)-1)/3)+1)=1),--(YEAR(B2:B103)=2007))
Or course, the =1 and =2007 parts of the formula can be replaces by =D1, =E2
for example
How does SUMPRODUCT work? See
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

http://mcgimpsey.com/excel/formulae/doubleneg.html

best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Zb Kornecki" <zDOTkorneckiATcomcastDOTnet wrote in message
...
I have a years worth of dates in Col B and need to do countif and
countblank
in Col D but I need to seperate by quarters, I was thinking of doing it
w/
an if statement but didn't work, I could sort by date and copy to
individual
worksheets but I have 3 tables w/ 45K+ records each and need to count
multiple col.
I would prefer to do this a formula, If this can't be done I an do a short
vba script thanks Zb




 
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
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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