Chart That Automatically Shows Last 12 Months Of Data

Mar 5, 2014

See attached file. I have managed to work out how to update a chart automatically when a new row of data is added. However is it possible to tweak the formulas I am currently using so that it will only include 12 months previous.

For example if you add Jan in to row 26 the chart will show Feb-Jan data (Row 15-26).

Book1.xls‎

View 3 Replies


ADVERTISEMENT

Showing Only Active Months In Chart Data?

Feb 5, 2013

I've attached a chart with variance data for each month of the year. I've used an IF formula to "NA" the months with no data, so nothing shows up in the chart. However, I would like to know if it's possible to have the chart only show months with data. The IF formula gets rid of the data point but it doesn't prevent the chart from showing the month on the X axis. In the attached file I manually selected the three months with data.

View 4 Replies View Related

Chart Twelve Months Of Data For Item The User Has Selected

Oct 24, 2011

how can I provide a chart that display as a line chart twelve months of data for the item selected starting or ending on the data that I have selected

View 4 Replies View Related

Excel Formula To Automatically Select The Previous Months Data For Summary Table

Jan 20, 2014

I need a formula to automatically change the summary column according to the month we are in.

Ie:
Last Months Data
Nov
Dec
Jan
Feb

1
8
1

7
4
7

9
2
9

'Last Months Data' column should show Dec. However, as we move into February and I complete the 'Jan' column, I would like 'Last Months Data' to automatically change to show Jan's data - is this possible?

I was previously told to use the following formula but this would automatically select the current months data and not the previous months data which is what i need - =INDEX(B2:L2,MONTH(TODAY()))

View 2 Replies View Related

Chart Menu Bar Always Shows

Aug 9, 2006

I need some vba code to

a) determine which of excel's menubars is active (Worksheet Menu Bar or Chart menu Bar)

b) delete the controls ie File, Edit, View etc menus from that menu bar

c) restore the controls to that menubar on workbook close

Normally this wouldn't be required but my version of excel is 2002 which has the Worksheet Menu Bar active and the work version is excel 2000 which has the Chart Menu Bar active.

I don't know why the Chart Menu Bar is active on the work system as there are no charts in my project.

Most of the development takes place at home so i need to be able to use vba to perform the above tasks

The menubar itself must remain active so i can add a custom menu to it.

View 4 Replies View Related

Omitting Data From A Chart Automatically

Mar 14, 2008

I'm currently building a excel workbook with charts that are feeding from Countif formulas, from a incident reporting sheet, now some of these items have "0" values and as a result are piling up making the charts look unsightly.

I know if I hide the rows with that data in them, it won't show up on the chart, the only problem is that this workbook will be going to about 8 countries, so I want this to be automated, is there any way for those 0 values to be excluded.

I have no experience with VBA, and only a little with macros

View 9 Replies View Related

X Axis In Pivot Chart Shows Decimal Than Percentage

Sep 15, 2014

I had created a pivot table and pivot chart for the data, the pivot table shows the row label's as percentages which is correct, but it when comes to the pivot chart it shows it as decimal, for example a 10% shows 0.1, I tried of formatting the x axis and choose percentages but it doesn't want to change.

View 6 Replies View Related

Chart In Spreadsheet That Shows Number Of Claims Per Defect

Dec 31, 2006

I have a chart in my spreadsheet that shows number of claims per defect. Is there a way to format this bar chart so that it will only show the top 5 automatically, even when they are constantly changing? There are a total of 13 different catagories.

View 9 Replies View Related

Get Hierarchy Chart Automatically With Given Data Through Macros

May 25, 2014

I have been trying to think of a way to get a hierarchy chart automatically with given data through macros
In the attached excel sheet

Org. Charts (hierarchy) question.xlsm

Would it be possible to get the chart to do by itself if say I were to add items or remove items? Is there any way to do it for data automatically?

I extract the data from primavera as attached and I want to make the chart in excel automatically.

View 3 Replies View Related

Chart To Automatically Update When New Data Is Added

Aug 19, 2006

I have attached a copy of the chart and data. My chart starts on the bottom. I had to take out a lot of data but beneath the data shown is much more data..

I want my chart to automatically update when new data is added. Here are the issues. I have several lines of headers and below that my data. Then below my data I have other data that I don't want displayed in the chart (its not shown here because of size limitation of attachmnet).

The new row will be added each time right below the header, right above the
most recent data given. So a row will be added above row 8!

View 9 Replies View Related

Automatically Adjust Dynamic Chart As Data Added To Source

Jun 19, 2008

Is there a way to make a chart adjust automatically when you add to the source data? I'm trying to use a named range in order to power a chart (something like chart_data=offset(a1,,, counta(a:a),counta(1:1)); the range is working fine). When I put "chart_data" into the source field for the chart, it seems to work fine; it picks up the right range... But when I later add more data, the chart source data field seems to have converted my named range into a hard-coded range, absolute range. So the dynamical named range updates, but the chart doesn't and I don't see the new data. Am I doing something wrong that I need to tweak? Does what I'm trying to do just not work? Is there another way to make the chart pick up the new data without adjusting the range?

View 3 Replies View Related

Chart By Months

Feb 17, 2007

I am trying to understand how the Charts by month example has been created. So far I have managed to create the validation and define a named range with the offset formulae. However when I select the month from the validation list it only changes the y axis labels on the graph and not the data itself (example attached). I must be overlooking something very simple. I would also like to know if it is possible to create a further selection where by you could also define a start month e.g. assuming data range of Jan-Dec you could select March - September.

View 2 Replies View Related

Display Th % Difference Of The 2 Months Either In The Chart Or In A Table

Mar 16, 2009

I am using a stacked Data chart with Layout #5. See attached. I calculated in a table below the % difference between the 2 months, but is there a way to display this % difference of the 2 months either in the chart or in a table (or both)?
Is there a way to modify the table only? Or is there a different type of chart that can display this?

View 5 Replies View Related

Graph Automatically Keeping Most Recent 18 Months

Jun 30, 2009

I have a word document that has all kinds of graphs embedded in it. When I double click the graphs, an excel spreadsheet comes up. The spreadsheet contains quite a few years worth of information. I, however, need it to automatically refresh to show only the most recent 18 months of data on the graph. The documents are in MSOffice 2007.

View 9 Replies View Related

Vlook Up: Combobox Shows The The First Column (only 1 Of Each) And The Second ComboBox Shows Me The Secondary List

Jun 9, 2006

I have a userform where I have 2 comboboxes. The first combobox shows the the first column (only 1 of each) and the second comboBox shows me the secondary list that correlates to the valuse in the first from column B. Now I have a text box that I am trying to get the value from column C depending on what I have in the first 2 comboboxes. What is the easiest way to do it? This is all in VB since it is a UserForm, and using Vlookup seems to be too many lines if I go that route. Is there a way to use Index and Match in VB where it would be more efficient? I attached just a sample of how the data would be layed out in the Excel sheet.

View 4 Replies View Related

Formula That Only Shows Data Only If Different From Above?

Jun 19, 2014

I am trying to create a basic invoice spreadsheet.

On worksheet 1, I have days of the month A4 to A35. Columns B, C, D, E are headed.

Every hour of work I would enter a " 1 " in the correct cell for the day. For example, 1 hour, every segment of the day, I would enter "1" in cells Bx, Cx, Dx and Ex. This continues for the month;

On a 2nd worksheet, this is neatened up, and I have added formulas to work out the cost and type of call;

On the third worksheet, I want to display roughly the same, however when there has been no work on the day (ie the date displays "None" and the adjacent cells show: blank, blank, blank, blank, £0.00), I want it to skip the cell and display the next date which has data to show (ie a date). The data on the adjacent cells needs match with the date (in the same way as physically deleting a 'non worked' whole row).

This then on the invoice worksheet would look neat and display only the days actually worked.

What formula(s) could I use to do this.

View 1 Replies View Related

Enter Data In One Sheet Shows Up In All

Mar 15, 2013

I have copied my first sheet into multiple sheets. Now when I enter data in one it shows up in all of them. How do I stop this from happening? I have cleared out any content in them and the formula bar is blank in every line.

View 3 Replies View Related

Data Validation List :: Shows #VALUE! Error

May 15, 2007

I'm working on a function that gets its values from a Data Validation List.

My problem is that I want the function to return a value when an item in the list is selected and another if the user did not make a selection... just a basic if....then....else ... but the cell where I call this function shows the #VALUE! error while no item in the list is selected.

I call the function like this:
=myFunction(RC[-5], RC[-2])
where RC[-5] is the Data Validation List and RC[-2] is a cell where the user should enter a number

why I'm getting the #VALUE! error instead of my message

The function basically looks like this:

View 9 Replies View Related

Vlookup Shows Formula Not Data In Every Cell

Aug 7, 2008

I have created a vlookup and it shows as a formula not as data. I can do 'text to columns' to correct it, but I need to drag this vlookup to lots of different cells, then change it slightly in each one.

Every time I make a change, it reverts to the formula and I have to do 'text to columns' again.

View 9 Replies View Related

Automatically Highlighting A Bar Chart

May 23, 2014

I'm currently writing an automatic report to display information about a store and how it compares to its peers. My company works on a National>Region>Area>Store basis so my report lets a user select a store and the excel file brings back all the data for the relevant national, region and area data for comparison. That works fine.

I now want to develop a set of pages which display data for that store compared to other stores in the same area. For example: [URL]

My report brings back all the stores, ranks them by their performance against target and then puts them in a sorted table using vlookups. I then want to put them into the bar chart shown above, with the store selected highlighted with a different colour. In the example above, the Hunslet store is selected so its bar is highlighted.

Is there any way to make the store highlight automatic? I manually set the colours in the example but I don't want the user to have to do that each time. It would be possible to do using a macro, but I try and avoid them where I can since VBA knowledge is extremely limited in my office.

I have named ranges containing the names and lookup codes for the selected store, area and region .

View 2 Replies View Related

Fit Chart Widths Automatically In VBA

Jan 24, 2014

I can automate chart creation in VBA, but is there any way to also have it such that the x-axis of the chart begins with the minimum x-value and ends with the maximum x-value in the data set?

View 2 Replies View Related

Conditional Format - Dates Greater Than 18 Months And 24 Months?

Dec 6, 2013

I have a date column (Column E: Date Entered) on my spreadsheet that I need to set conditional formatting on. There are two conditions:

1) 18 months from the date in the cell needs to be highlighted yellow

2) 24 months from the date in the cell needs to be highlighted red

View 6 Replies View Related

Chart Range Changing Automatically

Jul 14, 2014

I have a workbook, with 2 sheets. first page has graphs, second has data. in my charts I refer to a named range on the second one as follows: Data!Named_Range, where "Data" is the name of the second sheet. However when i save this, it changes the range of the chart to: '101044.xlsm'!Named_Range, where 101044 is the name of the workbook. This is a problem for me as this workbook will often be loaded into a document handling system where the file will change name, throwing out all sorts of errors because the chart path is invalid, and i have to change the range of all the charts manually. why does it have to use the file name when reffering inside the same workbook? and how do i force this to not change?

View 5 Replies View Related

Automatically Create Chart Images

Jun 12, 2014

I currently need to create around 1200 chart images using excel for a report series I am performing for a client. I have been trying all kinds of different things, all failures, to automate this process. My current method is to filter a pivot table on the building I am analyzing, copying the chart, pasting it as a picture in Ms Word, then saving that image as a Picture. Obviously, this process is quite lengthy, especially if I multiply that over the course of all 1200 images.

I am looking for a solution using a macro, vba, or a combination of things to automate this process and maybe even create the jpgs automatically?

View 1 Replies View Related

Create Chart Automatically Via Code

Dec 19, 2006

to write a code that would create a chart automatically in another worksheet when a button is clicked.

I have attached the sample data that I am working on.
Each row in the sheet represent 3 coordinates, which are:
coordinate # 1 = start, 0
coordinate # 2 = centre, level
coordinate # 3 = end, 0

View 6 Replies View Related

Chart Scales To Change Automatically

Jan 20, 2007

I have 3 charts on 3 seperate worksheets. The data for each is sourced from a list of up to 100 but only the top 20, or all if less than 20 in full list, are displayed on the chart. A seperate worksheet ("Calcs") is used to sort all the data so that just the top 20 are sourced for the charts and they are displayed in descending order from max to min and alphabetically in the case of 2 or more names having the same value.

I have attached one ot the charts.

I need the y axis scale to auto-adjust to suit the max and min series 1 values. I need the y axis maximum to be 5 more than the max series 1 value (unless the value is 5 or less when axis should be 10) and the min y axis to be 3 less than the min series 1 value (unless the value is 3 or less when the axis should be 0)

I have done the formulae to sort out these conditions and put the required y axis values in a cell which the copies across to the chart sheet with the required max in cell M1 and the min in cell L1. These values will change when another macro runs.

I searched this site for the code to auto-adjust the scales and found one which I have tried to edit to suit my needs. This is the code I have ended up with, placed within the worksheet containing the chart....

View 9 Replies View Related

Automatically Update Graph/Chart

Mar 17, 2008

I have a macro that extracts data from a source workbook. The data is owerwritten every time that I use the macro. Now I have a graph that everytime I use the macro does not update with the new data, Is there a clever way to do that? The code for extracting from the workbook is the following:

Sub Extract()
Dim myFileName As Variant
Dim SourceWkbk As Workbook
Dim CurrentWkbk As Workbook
Dim testWks As Worksheet
ActiveWorkbook.Sheets("CURRENCIES").Select
ActiveWindow.SelectedSheets.Delete
myFileName = Application. GetOpenFilename("Excel files,*.xls")
If myFileName = False Then
Exit Sub 'user hit cancel
End If................

View 4 Replies View Related

Using Trend Equation From Chart In Worksheet Automatically

Apr 24, 2014

The trend Equation on a chart is of the form y= a+x.(b+c.x) I want to use that equation in a spreadsheet to calculate value of y for the value of x. I can do it manually by inserting the a+x.(b+c.x) in a cell but would like it to be automatic as the a, b, c in the Equation changes regularly as more data is acquired.

View 2 Replies View Related

Automatically Updating Chart With Changing Inputs In VBA?

Feb 12, 2013

VBA code that would update a chart automatically as you change the inputs which are located in cells in excel. The inputs are located in cells B5:B9 and i want a code so that as you change these numbers the chart would automatically update.

View 1 Replies View Related

Automatically Setting X Axis Value For Gantt Chart?

Sep 26, 2013

I have created a pseudo Gantt chart in Excel (a horizontal stacked bar chart). The chart is driven off data I have in a Power Pivot model (Auto Refreshed) and the Gantt chart displays data which spans a fixed 12 hour time frame.

The problem I am having is that in order for me to get the chart to display correctly I must manually (daily) get the excel decimal values for my Minimum DateTime and Maximum DateTime and then enter those numbers into the "AXIS Options" Bounds Minimum and Maximum value fields. I would like to automate that process so that the Axis Bounds are either driven from the data cells OR are always set to a specific 12 hour window 6pm->6am daily.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved