Struggling with COUNTIFS

mking89

New Member
Joined
Jul 24, 2014
Messages
3
Good Morning,

I am attempting to count the number of Cells which contain a specific text string and fall within a date range. The formula I have right now is as follows:

=IFERROR(COUNTIFS(C:C,"*&A385*",AP:AP,">=E385",AP:AP,"<=F385"),"ERROR")

C:C contains the range with text in which I am hoping to find the string.
AP:AP contains dates.
A385 contains the text string
E385 contains the date range start date
F385 contains the date range end date

I tried performing a search, apologies if this is here already as I struggled to find a solution which matched this request.

Thank you in advance.

Michael
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Apologies, I have resolved the issue. I missed out a couple more ampersands.

Working formula is:

=IFERROR(COUNTIFS(C:C,"*"&A385&"*",AP:AP,">="&E385,AP:AP,"<="&F385),"ERROR")

Thanks,

Michael
 
Upvote 0

Forum statistics

Threads
1,215,583
Messages
6,125,661
Members
449,247
Latest member
wingedshoes

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