How to graph failures per month

ScottInTexas

Board Regular
Joined
Oct 28, 2003
Messages
178
I have a sheet of data. There are 24 columns of information, and 1051 rows. It is simply a flat file of failure records. Column A is a date column. There is a date for every failure. Sometimes there are several on the same day. So I want to line graph failures per month so in May there were 7, in February there were two. How do I graph this? When I select the values of Column A and select insert line chart, it put the dates on the Y axis and numbers on the X axis. I cannot switch the axes. The numbers on the X axis are 1 to 1051 in steps of 25. I don't know where they are coming from. So the graph will show there are more failures in May than any other month. Another line of interest would be the running average.

I would appreciate some guidance on this. The online stuff I have found does not fit my data.

Thanks,
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
On a separate tab:

ABC
1MonthsErrors
2Jan-18{=SUM(IF(MONTH(YOURSHEET!$A$2:$A$1051)=MONTH(A2),1,0))}
3 - 12...
13Dec-18{=SUM(IF(MONTH(YOURSHEET!$A$2:$A$1051)=MONTH(A13),1,0))}

<tbody>
</tbody>

Then graph off of that.

2 notes:
The months is actually a date Jan 1, Feb 1, etc.
It's an array formula (you have to enter shift+control+enter for it to work).
 
Upvote 0
On a separate tab:

AB
1MonthsErrors
2Jan-18{=SUM(IF(MONTH(YOURSHEET!$A$2:$A$1051)=MONTH(A2),1,0))}
3 - 12...
13Dec-18{=SUM(IF(MONTH(YOURSHEET!$A$2:$A$1051)=MONTH(A13),1,0))}

<tbody>
</tbody>

Then graph off of that.

2 notes:
The months is actually a date Jan 1, Feb 1, etc.
It's an array formula (you have to enter shift+control+enter for it to work).

Oops, fixed cell references above.
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,539
Members
449,316
Latest member
sravya

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