Count posts monthly

seolo

New Member
Joined
Feb 18, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi, could someone help me how to solve on how to count posts monthly?

Once a month i collect data from 6 months back from a database.
It uses todays date and gets me data 6 months back and puts it in
a table like below.

Then i want to count number of workorders per month, which i really dont know how to do.
The result should be like, January=45, Februari = 62 etc
Also, i would like to count number of entries in failurercode=10 in the current month.

Could someone please give me a tip on how to do this?

2022-02-18_09-22-07.jpg
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
i have used a pivot table and also added a new column in the data -

New Function in new column
=If( FailureCode column =10, 1 ,0)

And then used a pivot table - which should give you

A pivot table should be simple to create and setup

Otherwise you could use functions for each of your conditions
setting up the months to report on

I have made up some data quickly - as it takes time to copy an image
Can you use XL2BB to post a sample here -
you image is only showing a few days of data for feb
can you provide a representative sample of months

Book13
ABCDEFGH
1dateworkorderfailurecodeCode 10
21/20/22A1 Row LabelsCount of workorderSum of Code 10
31/20/22A2 <20/01/2022
41/22/22A3101Jan91
51/23/22A4 Feb63
61/23/22A5 Grand Total154
71/25/22A6 
81/26/22A712 
91/27/22A8 
101/28/22A9 
112/1/22A10101
122/2/22A11 
132/2/22A12101
142/4/22A13 
152/5/22A14101
162/5/22A15 
Sheet3
Cell Formulas
RangeFormula
D2:D16D2=IF(C2=10,1,"")
 
Upvote 0

Forum statistics

Threads
1,214,432
Messages
6,119,468
Members
448,900
Latest member
Fairooza

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