Countifs or Pivot table

waqasbutt

New Member
Joined
Apr 7, 2015
Messages
22
Hello All,

Need your help, I am trying to use countifs function to get the results (refer below second table) but countif does not works.
I want to count how many issues in a month and results as well. As each month, different issues occurs and I want month count.

I tried Pivot table but there are two issues:

First, if I ungroup it combine months results e.g Dec 18 has 10 records and Dec 19 has 5, it shows me 15.
Second if I do not ungroup them it shows me records with respective months but for results column I only need records with Pass. E.g in same pivot table, I need total records for issues but for results only having Pass. I need this for graph where record will be bar and results will be trend line (ideally I need %).

I tried countifs because it is much flexible where I can search based on specific column and but somehow it does not works.

Any help will be appreciated.

DATA
-----
ItemDateResults
Issue115/12/2019 17:49:57Pass
Issue215/12/2019 17:49:57Pass
Issue314/01/2019 18:41:36Pass
Issue414/01/2019 19:36:39FAIL
Issue515/01/2019 9:18:06Pass
Issue615/01/2019 9:37:55Pass
Issue715/01/2019 9:53:06Pass
Issue815/02/2019 9:51:50Pass
Issue915/03/2019 11:51:52Pass
Issue1015/03/2019 11:59:55Pass
Issue1115/04/2019 12:27:17Pass
Issue1215/05/2019 9:08:04FAIL
Issue1315/06/2019 9:13:19FAIL
Issue1415/12/2018 9:31:44Pass
Issue1515/12/2018 9:31:44Pass


Results I am looking for;
MonthIssuesResults (ONLY PASS)
Dec-1822
Jan-1954
Feb-1911
Mar-1922
Apr-1911
May-1910
Jun-1910
Dec-1922


Regards,
Waqas
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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