Create Graph Showing Previous 8 Weeks Of Data?

Sep 29, 2011

I have used sumif statement to set up a value by week and then used the drop down list cell reference to display what i want ie week 25 data

What I would like is to display the 8 previous weeks and then use this in a graph, so every time i change the drop down week I see all the data showing the current week and previous weeks.

Now the problem is which formula do i use to to identify previous weeks

ie

WK No 21 22 23 24 25
Visits 100 200 250 300 400

View 1 Replies


ADVERTISEMENT

Pull Data Based On Day Of Week From Another Workbook For Previous Three Weeks

Feb 4, 2013

Here is what I have and am trying to do:

I entered the date and day in this format in multiple sheets in workbook 1 (named 0101, 0102, 0103) from the start of the year to last night (B2:C4):

Date:January 01, 2013
Day:Tuesday

I then entered all the data needed below that (B5:E26):

TimeTransactionsTotal SalesAverage Sales
12:0039 $352.97 $9.05
13:0053 $416.98 $7.87
14:0044 $339.42 $7.71
15:0043 $304.96 $7.09
etc.....

In workbook 2, I have sheets named for each day of the week. I would like to take the information from the previous three weeks for each corresponding day from workbook 1 and put the averaged data into another table with the data all formatted the same in workbook 2. This way, each week when I go into the aggregate file (workbook 2), I can look at the chart I'll create and see the average of the past three weeks transactions, total sales, and average sales for each hour of the business day and be able to staff accordingly (assuming the trend continues).

View 1 Replies View Related

Create Data Validation List From Previous Selection?

Nov 15, 2011

I have a large set of data that I need to use for data validation in drop down lists. The data is arranged in 4 columns and entries within each column may repeat numerous times. The four columns are as this..

Category Subcategory 1 Subcategory2 Subcategory3

The first data validation will come from the first column. Once this is chosen the second drop down should populate with the subcategory that correspond to that category stored in column 2. once that is chosen the thrid data validation should populate with the corresponding subcategory from column three etc.. This is a small sample of the data in the columns.

View 5 Replies View Related

Data Not Create 3D Bar Graph?

Feb 26, 2014

Data or a case that can't be created a 3D bar graph from? I've been told there is just a little of data that can NEVER create 3D bar graph.

View 2 Replies View Related

Showing Userform When Closing Previous Workbook

Dec 22, 2008

I have two workbooks (Book1 and Book2). When Book1 opens, its Workbook Open procedure displays a Userform1 that has two Command Buttons. The first Button closes Book1 (exit the program). The second Button opens Book2. Book2 has a Workbook Open procedure that should close Book1 and display a new Userform2. When the Workbook Open procedure of Book2 closes Book1, the procedure stops there and does not show the UserForm2. How can I get the Workbook Open procedure of Book2 to execute both steps of closing Book1 and showing Userform2? This must be done by clicking the second Button on Userform1.

View 9 Replies View Related

Create Line Graph That Will Incorporate Multiple Columns Of Data In One Series Of Data

Sep 27, 2011

I am trying to create a line graph that will incorporate multiple columns of data in one series of data. The reason I do not place all of the data in one column is because it could exceed the maximum amount of rows allowed in excel. Also I need the data split up for viewing purposes.

I can easily just graph one column but how do I combine all the columns into one line graph with the data being in separate columns. Basically all the columns will be my Y values and X values are just 1:n.

Example Below:

Column AColumn B Column C159261037114812

Now in the example all of the values are x values.

View 2 Replies View Related

VBA - How To Create Graph Where Data Source Is Two Columns

Jan 9, 2012

I'm looking to create a graph where the data source is two columns:

Column A (From A2 down to last but one populated cell)
Column ? (Last populated column on the right, from ?2 down to last but one populated cell.

all I have at the moment is the generic code for creating a graph (which I reverse engineered from a macro I recorded).

Code:

Charts.Add
ActiveChart.ChartType = xlColumnClustered
ActiveChart.SetSourceData Source:=Sheets("1_bth_x_wk").Range("A1:H40"), _
PlotBy:=xlColumns
ActiveChart.Location Where:=xlLocationAsObject, Name:="1_bth_x_wk"

View 9 Replies View Related

How To Create Mixed Line / Bar Graph With One Data Point

Jan 6, 2012

Ok, so here's the trick:

I know how to create combo or mixed graphs with line/bars on single axis, and secondary axis. I even know how to do mixed stacked and unstacked columnar charts...

But how do you depict in single view graph

a single bar (1 datapoint) with a single line (upper control limit e.g. target).?

And I don't want to to use shapes to draw the target line.

I want the target line to be automatically plotted by Excel...

View 9 Replies View Related

Userform To Automatically Create A Graph From The Data That Is Shown In The Worksheet

Jul 4, 2006

I want to do is use a userform to automatically create a graph from the data that is shown in the worksheet. The data in the work sheet will grow and shrink all the time. Am i right in thinking I am meant to create a dynamic range? I know how to do it but am not too sure what I am meant to be naming. And secondly I am not too sure how I set up the button to produce the graph.

View 4 Replies View Related

Create Subgroups For The Weeks Within The Month Groups

Jan 8, 2009

I have a spreadsheet with many workbooks. Each workbook contains sale figures for all products for each product range over a period of time. There is one workbook that totals the figures from other workbooks.

This spreadsheet is updated by another department on a weekly basis with new figures added to each workbook (products within each product range are also likely to increase).

Currently, the data in each work book is grouped by months (with a row summarising the month's figures). I can create graphs to visualise monthly performance, but also need to have a weekly performance graph/chart. Thus, the data also needs to be grouped by weeks.

I have tried creating subgroups for the weeks within the month groups, but it seems impossible (?!) to do when a week subgroup comes right in the middle of a month summary (e.g. Dec 2008 Summary comes in between Week 29 Dec 2008 - 04 Jan 2009). I have attached an example spreadsheet in case my description was too convoluted!

View 2 Replies View Related

Excel 2007 :: Create Bar / Count Weeks And Colour Bar From Input Date?

Feb 14, 2012

I am trying to simplify a type of gannt chart bar across a spreadsheet. The spreadsheet has dates across row 3 that are calculated from the first cell F3 with =F3+7 to populate the rest of the row with dates. I want to be able to input a start date in D4, then all the other titles in column A. This start date will start the coloured bar at that start date in the chart, I will then copy/drag that start date cell for however number of weeks for the duration and I want the finish date to auto populate E4 with the finish date and also auto populate the numbers of weeks in C4 for that bar.

Excel 2007ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANA
OAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZ
CACBCCCDCECFCG1D42342McArthur River Mine Power

[Code]....

View 9 Replies View Related

Excel 2003 :: Filter Data In Graph / Chart (without Having To Create New Chart)

Dec 29, 2011

I have a spreadsheet created in Excel 2003 (which is what we use at work, unfortunately).

My employees periodically take a test to ensure they have certain items memorized (or are making progress to that end). The spreadsheet rows show all 46 of my employees, and their test scores. The columns are the dates that the tests are administered. I can create a line graph based on the chart data, and interpolate these data with no problems.

The problem is that there are 46 employees! 46 lines on the same graph make for a very cluttered, hard to understand visual. I want to simplify the view by "filtering out" some of the data.

I have an additional column in my spreadsheet for each employee's work area (Area 1, Area 2, etc), and another column with data based on first letter of last name (the values here could be "A-G", "H-M", "N-S" and "T-Z", for example). I figure i could filter my line graph based on these two columns. For example, somehow select just Area 1, and reduce the number of lines on the graph to 16. Or better yet, Choose "Area 2" AND "A-M" and end up with 7 employees (and therefore 7 lines on the graph).

Here's what i have tried:

1) Select the work area column, and use the Filter, which created a drop-down list at the column heading. When i use this drop-down list, i can easily filter the data in the worksheet by Work Area, but this is not reflected in the line graph, which still shows all 46 lines. The problem was that i forgot that i had set the Calculation Options to "Manual". Setting this to "Automatic" (or leaving it on Manual and pressing F9) solved the problem, as the chart now updates when i use the filters. Calculation options are under the "Formula" tab in 2007, or in Tools -> Options -> [either calculation or formula, i forget what it's called] in 2003.

2) Create several separate line graphs in several separate sheets. I wouldn't want to assign someone else the task of maintaining a spreadsheet of such inefficient design.

View 1 Replies View Related

How To Create VBA To Delete Previous VBA Modules

Jan 27, 2010

I would like to create some VBA that looks for sub's or modules and delete them.

View 9 Replies View Related

If Statements: Option Of Between 3 Weeks And 6 Weeks

Sep 7, 2009

i currently have a what if statement

=IF(B2>=NOW()-42,"< 6 wks","> 6 wks")

I need it to also give an option of between 3 wks and 6 weeks

Therefore all options are

3-6 WKs
< 3 WKs
> 6 WKs

I have mastered 2 but now need a 3rd.

View 7 Replies View Related

How To Create N1.85 Graph

Sep 28, 2004

Trying to create an N1.85 graph in Excel that has irregular spaced tick marks on the X-axis. Found the following information but no luck with it. Need US measure for this semi-log (10 X N1.85) graph. Also called a semi-expo (Q1.85) graph.

The resulting graph appears to be a log graph in reverse with one scale; the column widths are smaller at the left and become larger as they progress to the right.

Info found:

A 1.85 graph can be constructed manually by establishing a series of 15 values (in the case of the example in D5.2.1) from a base measurement to the exponent of 1.85.

Step 1
Select a base measurement for the desired size of the graph. A base measurement of 1.0 mm will produce a graph to 15 which is approximately 150 mm wide; a base measurement of 1.5 mm will produce a graph approximately 300 mm wide. In the case of a 1 mm base measurement, the x-axis numbers will be the 1-15 series. In the case of a base of 1.5 mm, the numbers will be represented by the series: 1.5, 3.0, 4.5, 6.0 etc. for 15 values.

Step 2
Construct a series of columns to the 1.85 exponent values measured from the zero point. The rows representing the pressure values are linear.

NOTE - A good approximation of the above can be computer-generated by a spreadsheet programme by entering a column width established from the exponential figures by subtracting the preceding value in each case. The column dimensions are displayed in the number of standard characters able to be accommodated in the column width which is slightly inaccurate in linear dimension.

The figures below indicate the values for a graph based on 1.0 mm.

Linear scale Exponential value of linear values = Column width = linear values to 1.85 power exponential value - preceding value

1 1 1
2 3.61 2.61
3 7.63 4.03
4 13.00 5.36
5 19.64 6.64

[Code]....

View 6 Replies View Related

Create Graph Using VBA

Oct 14, 2008

I want to create excel graph using VBA and found difficulties on chart name set to default.

the script is like this :
ActiveSheet.ChartObjects("Chart 31").Activate

Can I set my own name of the chart instead of "Chart 31" (excel default) ?

View 9 Replies View Related

Create 'blank' On Graph Instead Of 0 Value?

Nov 30, 2005

What can I have the IF statement return as a result that will NOT graph at all. Just leave a hole in the graph.

Long Question:

I have a large range of values and dates.
1/1 1/2 1/3 ....etc
10 11 7 .......etc
8 12 6 .....etc

These values are pulled via VLOOKUP() from various places. When VLOOKUP finds a blank cell, it returns a '0', which doesn't work for me. I've added an IF(ISBLANK), to return "", which is (I believe) an empty cell. The problem is, this is still graphing as a zero. So it will be graphing along nicely, and then shoot down to zero and back up again.

View 9 Replies View Related

Create A Graph Report

Jul 6, 2009

Rep NameCall StartedDuration h:mm:ssRep 12:19:18 PM0:00:36Rep 13:09:01 PM0:00:56Rep 13:11:01 PM0:01:05Rep 13:12:12 PM0:01:13Rep 13:26:26 PM0:00:39Rep 27:08:35 AM0:01:57Rep 27:16:32 AM0:02:12Rep 21:47:17 PM0:02:01Rep 37:05:01 AM0:10:37Rep 37:36:24 AM0:00:16Rep 311:41:43 AM0:15:21Rep 312:47:36 PM0:00:46Rep 31:45:36 PM0:02:19Rep 31:49:54 PM0:00:32Rep 31:51:46 PM0:00:56Rep 31:55:03 PM0:00:35Rep 31:59:26 PM0:00:22Rep 47:04:24 AM0:00:16Rep 42:40:41 PM0:00:08Rep 43:06:22 PM0:02:16Rep 43:21:35 PM0:00:04Rep 43:21:49 PM0:03:05

which is the time that any rep started a call and the duration of each call

and i need to make a graph from it that kind of looks like this:

(not actual data)

this way you can clearly see that for the most part rep 3 was the most productive however only rep 2 was on a call after 2pm.

i need this report to see tendencies on how much time is wasted on meetings and such keeping the reps off the phone.

View 9 Replies View Related

Create Box Chart/Graph

Mar 12, 2008

How can I create a box chart showing graphically a median, 1st and 3rd quartile and a minimum and a maximum?

View 5 Replies View Related

How To Create Overall Graph From Multiple Worksheets

Jun 28, 2006

I am wanting to create a yearly graph, but it isn't allowing me to add cells from multiple worksheets.

View 1 Replies View Related

Create Stacked Bar Chart/Graph

May 29, 2008

I need to plot a stacked chart. I have attached a sample of it. I need to plot, category As X and subcategory and and its percentage as Y (stacked chart). In the attached sample I plotted a chart. The problem is, the series name showing is not correct. It takes the series name from the top row.

View 5 Replies View Related

Macro To Create A Graph When Button Pressed?

Apr 16, 2014

I have a table of data which contains company names, the number of high risk policies, number of low risk policies, and the percentage of high risk policies (compared to total policies).

What I want to do is for people to be able to select up to six of these companies and press a button that says 'create graph' and it creates a graph which shows the number of high risk and low risk in a stacked bar, and the percentage on a separate axis as a line. I know how to manually create this graph no problem, but to be able to dynamically create one from selected companies would be awesome.

To start with I have created six drop downs where you can select the company name as I image the macro will need to know which companies' data to look for in the source table.

View 3 Replies View Related

Macro Code To Create Line Graph

May 2, 2014

I have a macro code that will create line graph referring the data given in defined column A1-C4,

Code with Static column range:-

ActiveSheet.Shapes.AddChart.Select
ActiveChart.SetSourceData Source:=Range("'Sheet2'!$A$1:$C$4")
ActiveChart.ChartType = xlLineStacked

I tried to modify the above code, so it will refer undefined/dynamic data column, but getting an error during execution "Run Time Error - 424:" "Object required"

Code with Dynamic column range:-

ActiveSheet.Shapes.AddChart.Select
ActiveChart.SetSourceData Source:=ActiveSheet.Range("a1", _
ActiveSheet.Range("a1").End(xlDown).End(xlToRight)).Select
ActiveChart.ChartType = xlLineStacked

View 1 Replies View Related

Create Chart/Graph From Text Strings

Apr 25, 2008

Can I build/present a "Pie" chart DIRECTLY from a list of "ABC" letters WITHOUT counting the occurrence of each one of them and using the results [nor VBA / nor Pivot-Table] - which is the trivial way of building charts !?

An example of such a list will be:
A
A
A
B
B
C
C
C
C
C

View 9 Replies View Related

Create Graph Of Date Hits Using Weekly Range?

Aug 5, 2013

I'm trying to create a line graph to show the trends of usage. I have a list of dates that I pulled from a website. I am trying to create a function that will count the number of dates between, for example, 8/5/2013 and 8/11/2013.

I had tried using this function to create a set of weekly ranges. =TEXT(DATE(2013, 1, 7)+(ROW(2:2)-1)*7, "m/d/yyyy h:mm AM/PM")&"-"&TEXT(DATE(2013, 1, 7)+(ROW(2:2)-1)*7+6,"m/d/yyyy h:mm AM/PM")

It correctly displays the date ranges, however when using this function:
=COUNTIF($E$2:$E$305, A2) Nothing gets pulled.

Here is one of the dates that has been pulled for example: 8/5/2013 11:10:00 AM

View 5 Replies View Related

Data Conversion From Month To Weeks

Nov 16, 2006

I am working on this "maintenance schedule" that is currently sorted out into tabs that are organized into the 12 months, jan, feb and so on.

I have to write either a command or a program that would be efficient enough to easily convert these monthly data in weekly ones.

So the command would have to convert those "jan, feb, mar... ...dec" tabs into "week 1, week 2, week 3... ...week 52". (prefably by linking them up some how)

View 9 Replies View Related

How To Summarize 52 Weeks Worth Of Data Into One Workbook

May 15, 2013

I am using Excel 2010 on windows 7 PC. I work for a railroad and one of my coworkers gets data once a week about how many carloads we ship to a certain company. They save each week in its own worksheet so at the end of the year they will have 52 worksheets worth of carload data. What they would like to do is take these 52 worksheets and then combine this data onto one worksheet so they can see all of it going from week 1 to week 52.

Here is what 1 week's worth of data looks like...

Here is what the 52 week summary page looks like...

And here is what the summary page looks like with all of the data on it....

Although we have compiled all of this data, it was done by copying and pasting data from 52 different worksheets (took some time as you could imagine). So, my coworker asked me if I knew of a faster way to do this. After spending multiple hours on the net researching this and trying a bunch of different options (Data Consolidation, Summary/Array Functions, and varying Macros) I have not been able to produce a worksheet that takes all of the data and displays it like the last picture above. Because I only know the very basics of excel I'm sure I'm probably doing something wrong. Trying to decipher the code for macros hasn't been easy and although I got data consolidation to work it was adding up all of the numbers instead of taking them from one sheet and placing them on another with all of the worksheets' data side by side.

View 6 Replies View Related

Flowing Month Data Into A Chart Based On Weeks?

Feb 27, 2009

I have a spreadsheet that I am using to try to track Project Man Hours. What happens is:

I enter in the amount of weeks a Project Phase is in and when the Project Starts. I also enter in how many "Men" we are going to need.

i.e. Project Start - January 2009
Phase 1 - 4 weeks with 1.5 Men
Phase 2 - 20 weeks with 2 Men.

What I want to happen is:
Excel then adds that data to a chart showing EACH MONTH and the amount of men needed for each phase.

Project 1 showing a line chart with January-December and the lines correlating with the amount of "Men" needed each week based on the Start Date and Sequential Phase Week Amounts.....

View 2 Replies View Related

How To Create A Graph Where Date Starts On July 1st And Runs Through A Full Year To June 30

Jan 14, 2014

I am trying to create a graph where the date starts on July 1st and runs through a full year to June 30. No matter how I sort the dates in the cells, the graph still wants to start in January. You will see from the attached picture the very right lines up with the very left, where these should actually be meeting in the middle. as to what I need to do? Please see photo and dataset.

Chart.jpg
DataSet.xlsx

View 3 Replies View Related

Create Dynamic Line Graph Using Week And Year Numbers Stated In Another Sheet?

Apr 7, 2014

I want to create a dynamic line graph using week and year numbers stated in another sheet.

e.g.

Start Year - 2012
End Year - 2014

Start Week - 3
End Week - 12

The top 2 rows above my graph data are as below:

Year - 2012 2012 2012
Week - 5 6 7 etc.

This works fine if the start and end year are the same but if it's greater than one year, it doesn't recognise that.

View 7 Replies View Related







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