I must graph a series of data points in an X-Y scatter point chart multiple times, then fit every type of trendline to that a seperate graph. Using VBA, I must then extract the R Sqaured value from each trendline, and find the best trendline suitable for the job.
How to extract the R Sqaured value from the chart though.
I've been working on this project for my work and having a little trouble getting it to work. What I want to do is have E3:E32 populate the last 30 times the cycle (J3) was run on furnace(J1) (These are drop down lists). I originally had it run the last 30 dates, but since some cycles don't run every day the graph was missing dates. I want it to be able to just fill in proper HRC/HRB readings from the sheet "DATA" which can be found in column "U" on that sheet according to which furnace is selected along with the cycle.
I have used the search function but can't seem to find a suitable solution.
I'm trying to figure the best way to extract 12 continuous months worth of data from a table and plot on a graph, each month with a separate plot on the graph (i.e. not the summed total but rather, a line graph with 12 points). The data is based on two, user-generated inputs, that are produced from a dropdown box.
I can create the Data Validation rules, use a Match formula to produce the reference for an Index formula and i have created a bunch of Named Ranges to work with and can easily generate the FIRST value to plot.
E.g. INDEX(DATA,ROW,COLUMN). After the first value, I'm stuck on how to generate the rest.
I have attached my problem for reference : Excel Problem.xlsx
Suppose I have a list of data in which I want to retrieve or extract specific row from the list as per operator name & relative comments (Done or Not Done) from the given list as per the operator name, now what I want that my VBA code should be able to get the operator name & the relative comment data from the list according to the operator name in a new sheet. My data keeps changing so I need a code which can work on any size of the data. I need to retrieve only operator name & Comment column in a new sheet to run my Pivot table.
My Excel data is something like in the attachment & the result I want through VBA Code.
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"
I'm trying to make a macro that generates a bubble graph from a defined range. I however can't seem to get the SeriesCollection.NewSeries to work.
Dim nr As Integer Dim myChart As ChartObject Set myChart = ActiveSheet.ChartObjects.Add(Left:=100, Width:=375, Top:=75, Height:=225) myChart.Chart.SetSourceData Source:= Sheets("Sheet1").range("A2:D2"), PlotBy:= _ xlRows myChart.Activate With ActiveChart.SeriesCollection.NewSeries .Name = ActiveSheet.Cells(nr + 1, A) .XValues = ActiveSheet.Cells(nr + 1, B) .Values = ActiveSheet.Cells(nr + 1, C) .BubbleSizes = ActiveSheet.Cells(nr + 1, D) With .Interior If Cells(nr + 1, G) >= 50 Then .ColorIndex = 4 Else .ColorIndex = 10 End If End With End With myChart.Chart.ChartType = xlBubble
I have a directory folder with an active workbook and another workbook id like to copy data from. The Following macro opens up a file in the same directory, copies some data and pastes it in the active workbook. However with this code I have to specify the filename, 'Data.xlsm' in the example code. I would like it to copy data from the only other workbook in the current directory WITHOUT having to specify the name in the code, so just opening it up no matter what filename it has.
In addition I would like to extract the filename from the workbook im copying data from and paste it into the activewoorkbook in sheet 1 Cell A1. I had a look at getopenfilename function but cant seem to make it work for my purpose.
I would like to make a scatter graph that will graph the attached. The score would be on the Y axis and the birth date would be on the X axis. This is simple to do by itself but what I would like to do in addition to this is to have the top 25% of the scores a single color, the middle 50% of the scores a second color and then the bottom 25% of the scores to be a third color. And if it is possible to have the ID visible when you move your cursor over a given dot in the graph. Currently when I make a scatter graph the X,Y coordinates show when I hoover the cursor over a dot.
How can i make a graph that will graph against time? lets say i have a bank balance like this:
1/2/2000 $500 1/3/2000 $600 3/12/2000 $400
there may be more than one entry on any one given day, or there may not be an entry for 2 weeks. How can i graph the running balance in a way that it will show the timeline just as a calendar year(or however long i selected) and the points are plotting according to their date, not just equally spaced out.
I want to use a line graph to display an amount over time - that's the easy part. On the other hand, I would like to have to group the lines based on a value.
A short example: Imagine you own 3 different stores and you're selling oranges. So your table looks like this: http://img179.imageshack.us/my.php?image=orangeshm4.jpg
Now I'd like to have one graph (3 different graphs won't work as the rows increase -I need to select the whole column as data source):
Date on the x axis, Oranges sold on the y axis, and one line per store (e.g. a green one for store A, a red one for B and a blue one of C, doesn't matter).
I use excel 2002 but some of my office are on 97, i want to add a small workbook open event code which works for me but debugs for the others?? The code is basically, go to a tab, on that tab and that range sort..
I've developed a little software using Excel Macros & VB. To prevent people from accesing the code I protected the code blocking it from visualization. It seems not enough as an acquaintance of a friend cracked it in 25 minutes. Or so he says. So I'd like to know if there is a better way to protect the font code.
I tried the =min(sheet1!B:B) but it pulls up the min of my entire column i need the min of each row This is what i got going on except there is 150 rows on this sheet. the rows are set with conditional format to highlite the min and Max of each row (which i cant show here!) ...
I have a X-Y graph with 602 data points. My x scale is a counter from 1 to 602 and the Y is a decreasing set of numbers. When I hover my mouse over the points on the graph (I zoomed the graph) My first 3 points are all labeled as Point "1". At the end of my graph, my last 3 points are labeled 599,601,602, it skips 600.
I am using Excel 2007. Has anybody seen this before?
I have two exported lists of data to compare from my newsletter program. One is the list of email addresses that I sent the newsletter to and the other is a list of the bounced email addresses.
Question: How can I extract the bounced emails from the list of sent email addresses? In other words I want a list of clean, sendable email addresses.
how to extract this two dates (sample below) in separate cell and format it as like this: "January 1, 2009". "12/1/08 thru 1/1/09" and another question, is there any way, that i can make it as "JANUARY 1, 2009", it seems upper function is not working with dates.
I am calculating a range of results and I'd like to extract the values calculated and put them into a seperate spreadsheet then re-use to formulas to calculate my next set of results. Obviously copy+pasting from my formulas just copies the original formula and not the result of it.
I know that there are programs out there that will convert a PDF into excel, but what I need to know is, is there a way for excel to access values (numbers) in a PDF and then use those values in a worksheet?
So, if I have a table in a PDF file - containing part numbers, descriptions and quantities ordered, I want to be able to extract the part numbers and QTY, and have them populate an excel table?
extract the values from a field and inserting as column.
I have attached the workbook, with the output worksheet. The output sheet which is what i required as result.
I need to extract set of word between "/" and insert it in the exact column name, if any column name is not there we need to create that column and insert that word corresponding to that row and column.
if cell a1 is "3cash 5stock", i want to extract the number "3" to cell a2 and extract the number "5" to cell a3. the number in cash stock can vary between 1 to 8 and vice versa.
I just need the totals for each store, which I will then copy into my billing file. The person who sent me this original has already subtotaled it, and each site has a plus sign next to it. When I click the plus sign I can see the breakdown (ie store 50 ten times, store 60 twelve times etc) but otherwise the store totals are given on 'adjacent' rows. The problem is these rows arent actually adjacent, the other rows are just hidden. So when I try to copy the store totals all the other junk gets copied as well.
I have this data in cells A1-A7 (each line in the example below is a cell with the cells name to the left of the: and the value to the right of the The colors are simply to show the matching data----there are no colors in the excel sheet
A1:Nordica Valley A2:8888 bla oook nikk Rd $15,950,000 A3:Sumik/Arnov 120.443.8976/555.443.8976 A4:5+3. 13+ acre horse ranch in A5:private canyon. Pool, barn/ more. A6:Robinson 999.443.8976 A7:Cell7 is blank A8:Jit/Song 587.678.6788
I wish to extract the Phone#'s and Names to columns B&C.
The data for this example would be broken down as follows:
The following code will return everything in the array. What I would like for it do is:
Case 0 - I want to return first two ie, "A" and "B" Case 1 - I want to return "C" through "F" Case 2 - I want to return everything else that are not in MyA
Dim MyA As Variant Dim i As Long MyA = Array("A", "B","C","D","E","F","G") For i = 0 To UBound(MyA) Select Case ListBox1.ListIndex Case 0: Rng.AutoFilter field:=5, Criteria1:=MyA(i) Set Rng2 = ws.AutoFilter.Range Rng2.Offset(1).Copy Sheets("Summary").Cells(Rows.Count, 1).End(xlUp)(2) ws.AutoFilterMode = False End Select Next i
I have a spreadsheet with multiple formulas and wanted to create a report to list out these formulas. Is there a way of extracting all formulas from a sheet?
i have this situation There are names( in column A) which have relating data in columns B (has dates) , and C ( codes ), it is an example - Bill(column a), 22.02.2009(b), 08(c).The names in column D have duplicates and non- duplicates in the column A .
When the name in the column D has several duplicates in the column A and every his duplicate has different data in column b and c , is it possible all of his duplicates go to the column E , however together with their data in column b and c ,( data from b go to f column and data from c go to g column.. Visually , it should look like something like that
I am creating a graph with a wide range of values (0.06 - 300). The smaller values are barely visible on my column graph. I have tried all of the tricks I know. Any way to get the smaller values to show up instead of just hovering towards the bottom of the graph?