Countifs between Dates with text range

Colmans

Board Regular
Joined
May 28, 2016
Messages
62
Hi

I'm struggling with a report that i'm wanting to generate. I have been able to report the total number of events between dates (month) using the following:

=COUNTIFS(createdon,">=" & C2,createdon,"<=" & EDATE(C2,1))

createdon = set range in data worksheet
C2 = Date (e.g 1st Jan 2017) showing as Jan-17

I now want to break this number down further by providing more criteria which applies to each entry. I've labelled the range "Decision" which contains a number or results and variations e.g Approved, approved with conditions, declined, etc. all as text.

I've tried to use the following but it returns a #Value error


=COUNTIFS(createdon,">=" & C2,createdon,"<=" & EDATE(C2,1),Decision,"*approved*")

If I remove the wildcard ** and just put the text I get the same error. I've also tried putting the decision argument at the front of the string and it makes no difference.

What am I doing wrong?

Thanks in advance for your assistance.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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