Calculating averages for a graph - just like a pivot

Rick_Terminal

New Member
Joined
Aug 11, 2015
Messages
2
Hi everyone,

I've got a problem where my solution just isn't good enough and I'm hoping someone will have a better idea.

The problem:
I have to report vehicle utilisation by month, by region, and by "category" (front line, second line, specialist, and average).

I need a line/bar graph that can duplicate the figures produced by the pivot table that is linked directly to the raw data. The issue here is that when there is not a utilisation figure for a particular month/type/region, graph data table will mark this as a 'false zero', where as a pivot table will know not to include it in the average formula - so getting a different result to a straight average() sum.

Unfortunately Pivot Charts are possibly not an option because the graph is on a dynamic dashboard that allows the selection "Region" on the sheet with all the other non-pivot charts - using text boxes and drop down lists/macros.

So far, the only way I can match the results using formulas by using sumif()\countif(), but it's a monster formula to do for all regions, requiring 25xsumif/countif's to return a single type for all regions for a single month!

I hope I'm missing an easy trick here.
 

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,215,586
Messages
6,125,683
Members
449,249
Latest member
ExcelMA

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