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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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