I want to use Excel to build the chart report since they suck in Access. Basically the query will be run every month and it will show all calls in the database and group them by month. The query will contain the total amount of downtime in minutes by month.
In Excel the first column (A) is the month and year, the second (B) is the downtime in minutes, both of which come from the access query. The third (C) is this formula =SUM(B2)/60+0.05*100/10*0.1 . This is being used to convert the minutes into hours and tenths. Then I added a chart that will show a running 12 months of downtime with per month. The data for the chart comes from the C cell range (C2-C13) but the first month in the A column is September, then the second is October and that’s it since we haven’t ran into November yet. I included cells A2- A 13 as my range for the X axis but only the first two cells have a value since it started in September.
The problem I’m running into is when I refreshed the data it pulled in downtime for November, it placed November in A4 where it should and it placed the downtime in minutes in B4 where it should but the C4 (converted minutes to hours) column dropped the reference to the cell C4 and moved everything up by one so, the C column goes from B4 to B6 and then it’s off by one the rest of the way down the column. How can I lock the C column from changing each time a new month is added? The cell highlighted in this screen shot was referencing B5 before I refreshed it , then it change to B6.
excel.png
Thanks
Rick
Bookmarks