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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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