countifs within a date range

Kidmon

Board Regular
Joined
Mar 4, 2011
Messages
71
Thanx for your help.
On work sheet 2, I am trying to (consolidate?) count "Text" (from wksheet1) within a specific date range. I am having trouble with entering the date information. Referencing the date is warping my mind. I think it looks something like this:

=COUNTIFS(sheet1:($D:$D"*text*"),($G:$G date range of 1/1/2011 -1/31/2011)

I know it is simple to the right people.
How can I do this?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try


=COUNTIFS(sheet1$D:$D,"*text*",$G:$G,">="&"1/1/2011"+0,$G$G,"<="&"1/31/2011"+0)
 
Upvote 0
Thanx, it ALMOST worked. I made a couple of additions to YOUR formula and it worked great. I added (sheet 1) references in 2 places and schazammmmm.

=COUNTIFS('Sheet1s'!$D:$D,"text",'sheet 1'!$G:$G,">="&"1/1/2011"+0,sheet 1'!$G:$G,"<="&"1/31/2011"+0)

Now I need 1 more fix and I am done.
Same counting in date range but I also need to count "text" in 2 colums Any ideas?
Thanx again
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top