If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 countif and sumif
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## countif and sumif

#1
August 10th 12, 04:32 PM posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 4
countif and sumif

I am trying to count the cells in a sheet that have a certain year and a certain month. I am not sure how to write the criteria. Any help would be appreciated.

Thanks
#2
August 10th 12, 04:37 PM posted to microsoft.public.excel.worksheet.functions
 Claus Busch external usenet poster Posts: 940
countif and sumif

#3
August 10th 12, 04:56 PM posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 4
countif and sumif

On Friday, August 10, 2012 11:37:40 AM UTC-4, Claus Busch wrote:
> Hi, Am Fri, 10 Aug 2012 08:32:25 -0700 (PDT) schrieb > I am trying to count the cells in a sheet that have a certain year and a certain month. I am not sure how to write the criteria. Any help would be appreciated. your values in A1:A100, year = 2010, month = may: =SUMPRODUCT(--(YEAR(A1:A100)=2010),--(MONTH(A1:A100)=5)) Regards Claus Busch -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2

Thanks. That works for counting. How about if I need to add the value from another range based on the counted cells. Like sumif?
#4
August 10th 12, 05:02 PM posted to microsoft.public.excel.worksheet.functions
 Claus Busch external usenet poster Posts: 940
countif and sumif

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post countif - sumif emmbee Excel Discussion (Misc queries) 1 August 18th 09 04:33 PM From SUMIF to COUNTIF Jennie Excel Worksheet Functions 0 June 18th 08 12:37 PM Countif & Sumif JulesHR Excel Worksheet Functions 7 May 29th 08 04:20 PM Countif/Sumif Cain Excel Worksheet Functions 2 February 12th 06 07:59 PM Countif/Sumif Cain Excel Worksheet Functions 0 February 12th 06 07:35 PM

All times are GMT +1. The time now is 09:44 AM.