Charting The Results Of Changing One Cell That Has Many Chained Precedents
Feb 12, 2014
I have a document with a huge number of chained-together precedent cells, each changing vastly when a single input cell's value is changed (my x-value).
I need to look at the bottom line (my y-value) which is the result of a number of calculations based on the aforementioned cells, there is no linear relationship as there are a number of thresholds and roundups.
I have done this in mat-lab, however my company doesn't have that luxury and all the information is created by a standard estimating sheet that cannot change format.
How could I go about doing this? I've had a look through pettier however I can't see anything that doesn't either require a named cell with a huge formula in it or a table (which isn't practical in this instance - I need to chart the bottom line for 100 different values).
I am baffled because one worksheet I can cut/paste and none of the reference cells whether they are dependents or precedents change--in other words, all formulas remain exactly the same. I switch over to another tab in my back-end and the formulas change when cutting/pasting cells.
How to grab data from a table providing it fulfills two chained conditions without using a concatenated key. For example:
I have this table and I want to get the combination Name + Color. :
A B C
1 John White
2 John Red
The database is something like:
A B C D
1 John Red 3254.30
I ended up using VLOOKUP() and a concatenated key like Name&Color but it slow down the sheet significantly as I have many records and also does not seem the most elegan solution. I tryied using OFFSET() nested with MATCH()but couldn't get it. Also tried something with ARRAY FORMULAS but I am not very proficient at them.
I have a problem very similar to this thread: [URL] .... Therefore I have tried to adapt but so far failed.
My requirement is that a userform pops up with multiple comboboxes (in this scenario 3) and once the results have been selected and the user clicks the button "OK" then the autofilter changes to the same as what the selected ComboBoxes were.
So, there are 3 comboboxes so I have tried the following:
VB: [PrivateSub CommandButton1_Click()
Worksheets("Data").Activate If Sheets("Data").AutoFilterMode = True Then Range("B3", Range("B600").End(xlUp)).AutoFilter Range("B3", Range("B600").End(xlUp)).AutoFilter Field:=1, Criteria1:=ComboBox1.Value, visibledropdown:=False
I'm an experienced Excel user working with very large Excel files that contain many sheets with thousands of formulas referencing various cells on different worksheets. I've been searching for an advanced solution for Excel and I am actually having doubts as to whether it actually exists on the market. (If it doesn't take this idea for free!)
I need a program that could generate a visual map that displays different cells and the links among them. For example, such maps are used in social networking to show connections among people - an example here.
In the end I would have a similar map and it would show me which worksheets are more or less isolated (i.e. don't reference directly any other cells).
I would like to trace dependents of all cells <> "" in column A of a sheet "Tickmarks". If there is a cell in column A which has a value, but does not have a dependent I would like that value to be stored. When the trace dependents check is done for all the cells with values in column A, I would like to display a msgbox with all the cell values collected above.
Eventually, I will be trying to locate the cells with no dependents but with values in Column A and replace them with cells with dependents and change the dependent links to the updated cells.
I have attached an example.
Dim RowCounter As Integer RowCounter = 3
'Select firsct cell with t/m & show dependents Range("A" & RowCounter).ShowDependents
' Loop until RowCounter = 200 Do If Range("A" & RowCounter).Value = 0 Then RowCounter = RowCounter + 1
This may have been answered on here but can not seem to find it. My situation is I have values in A1,A2 & A3 that are like counter reading so the value is always changing. What I am looking to do is change the cell color if one of the values is over 500 from the other two values. Say A1 is 3000, A2 is 3250 and A3 is 3500. I would like the cell for A3 to change color.
I am just reusing some code that works most of the time to reset the seriescollection of specific charts. Sometimes is will just error when I try to set the .values object to my range of values. It's strange because it will work for 10 seriescollections/identicle ranges on the same chart and then error out; and sometimes it will work perfectly.
I've checked: The chart reference object The range I'm setting The code I've copied from
It's all correct. Here's a short sample.
ValRng = Range("AR7:CY7") Set usechart = ActiveSheet.ChartObjects(1) With usechart.Chart.SeriesCollection.NewSeries .Name = "Prime 2000" .Values = ValRng ' (also tried it this way) "=" & ActiveSheet.Name & "!" & Range("AR7:CY7").Address End With
The series is created fine, and the name is set properly.
On my new sheet here it won't set ANY values, which is a real problem. If anyone knows what is going on, please let me know.
I have a large number of files containing thousands of X and Y coordinates. I prepared a macro which loads these X and Y data from all the files into one workbook, and it writes the file names into each row. So, in the end I get a file with this formation:
X Y filename
x1 y1 filename_1 x2 y2 filename_1 x3 y3 filename_1 . . . xi yi filename_2 . . xn yn filename_m
It would be great if I could make then an XY Chart which contains the information of "filename" column too. I didn't mean labling, because in the end I'll have hundred thousands of points, so if I added labels to each point it would be impossible to see anything. I would only set that if I move the mouse to any point of the chart, it would show not only the X and Y coordinates, but the related filename too.
produce graphs/charts based on inequalities monitoring information - gender, nationality, age etc. I'm capturing info from several events, one sheet per event. Had a look at COUNTIF but not sure it's what I want and looks like I'd need sub-sheet for each? Capture.PNG
I have a line graph which plots the PERCENT_YIELD of units built (UNITS_PASSED / UNITS_BUILT) every week. I want to fill all future week cells with a formula so dragging the formula is not a manual operation every week (my overall goal is to automate a complex spreadsheet and charts as much as possible).
The formula is =IF(Q1080,Q109/Q108,) Where Q108 is UNITS_BUILT Where Q109 is UNITS_PASSED
My theory is if units were built (Q108 not equal to zero), plot the ratio. If no units were built (Q108 is zero) I do not want to plot any value on the chart.
The chart plots the correct values for the True conditions; however the chart plots a zero value for the False conditions. How do I not plot a zero for a false condition?
I am having an issue with dynamic charting using named ranges in excel. I quite often create dynamic charts using IF and OFFSET formulas to check conditions in order to create charts of data based on user inputs.
The issue I am having is with linking multiple tables of data in a single named range. In order to make this spreadsheet easy to maintain I am trying to take 3 separate databases and link the spreadsheets through named ranges. The formula I have written is as follows:
=VLOOKUP(VALUE(LEFT(OFFSET("Serial number I am referencing",1,0,"Qty of rows containing data",1),6)),"Value I want to return from separate table",10,FALSE)
[The formatting of the serial number between the two sheets is slightly different but they share the first 6 digits (hence the wrapped VALUE and LEFT formulas).]
This formula is working perfectly except that it doesn't store the entire data table in a single cell, it only returns a single value. If I enter the formula into a cell and drag it down it returns all the information correctly, however if I create a named range using the formula and try to chart it only the first value returned is charted.
Any way to modify the formula to store the entire data array in the single cell value so it will chart when used as a named range?
So I was looking for reassurance or validation more than anything. From what I can tell you can in order to build a chart that is dynamic throughout a range, you use the offset and count or counta function - 1. That part isn't a problem. My question is once you created that for your charts do you just normally plot your chart range or do you have to reference the named range directly into the chart range?
I have a simple sheet to record and graph my bloodpressure . The list of values is as follows: col A is always todays date cols B and C user input - integer col D is a constant value 120 col E is also a constant value 80
Currently I am manually charting the range A1:Exx each day after I have added a new line for my daily readings. Whilst this works fine, I'd like to automate the charting process as currently if I select a range full of blank cells then my chart displays loads of blank values.
So I could use a Button on the graph which works out how big my cell range is ie; A1:E66 and graphs it for me or alternatively a background macro that does the same after I have entered the C col entry for each day
i would like to find out about:The different essential building elements for different chart types (like 3DBubble requires XValue, Value, Name and BubbleSize, for example, but what about clusteredColumn and the others?)How to address the building elementsThe optional building elements (changing background color and stuff)
I have a workbook with Sheet1 and Sheet2. I’ve programmed information from to be calculated and results inserted into sheet2. A new result every Row. I plan to do a graph taking the X-axis and Y-axis values from Columns A and B respectively in Sheet2. What is the VBA code for dynamic updating of graph? Meaning, I want the graph (a curve) that will have points added to the curve, extending it, whenever a new row is added into sheet2 – Columns A (X-axis) and B (Y-axis). The rows are not defined. It can have 100 to 200 rows or more..
I have a spreadsheet with 4 columns. The first column is a Date/Time object and the next three columns represent the R, G, and B values of a color. The color values are 8-bit numbers(0-255). What I'd like to do is create an area or bar chart where the x-axis are the dates and the y-axis is the overall brightness of the color (a simple average of R,G,B would suffice). However, I'd ideally like the color of the bar to be displayed by the R, G, and B values from the cells. Is this possible? I've attached a dummy file for reference.
I have several years worth of monthly data that I would like to keep hidden so it is printer friendly but I also want to have a chart of all that data... Is this possible? Only idea I have is to basically recreate the data sheet but I don't really like that solution since it adds steps to the process and increases the file size...
I have developed an evaluation algorithm for residential mortgages, and am having difficulty testing. I am trying to ensure that my scoring model makes sense from every possible scenario. The grading model takes into account multiple factors that most financial institutions would find important when assessing a potential borrower for a loan. Examples of these factors could be an individual's credit score (ranging from 0 - 800), the type of dwelling (multiple options to choose from), etc. In total there are about 20 different factors, each with a minimum of 5 possible options to choose from.
I am trying to create a spreadsheet that lists out all possible combinations of the multiple factors, and trying to input it by hand . To give an example:
Credit Score Property Dwelling Type Property Value
I have three rows that each attempt to pull in data from a range on different worksheets. All but one return nothing but "#N/A" values. The one row returns values from the proper range. (User selections determine which row will have data).
Second, I successfully pull data from the row containing actual information into another row, using the following formula: "=OFFSET(E$36,CHOOSE($Y$1,0,1,2),0)" on a cell-to-cell basis. The value in $Y$1 chooses the row to look at, based upon a dropdown selected on another worksheet.
So I now have a row with =OFFSET(E$36,CHOOSE($Y$1,0,1,2),0),=OFFSET(F$36,CHOOSE($Y$1,0,1,2),0),=OFFSET(G$36,CHOOSE($Y$1,0,1,2),0) and so forth. I can find the last value in the row, but I cannot find a way to extract the address from that, and create a table that will use as a series the last 26 values in the row.
For reference, I use "=LOOKUP(9.99999999999999E+307,E49:FD49)" to determine the last cell with a value (gleaned from a Dueling Excel Youtube Video, - very helpful!).
I hope the above will be clear enough, but if not, I'll be happy to provide additional information / clarification.