log linear Regression. The thing is I do not know how to calculate elasticity of logarithmic values, slope, std. error in order to make forecasts. Is there a way solve it with Linest or any other formula. I am attaching a spreadsheet to better see.
I'm creating several dozen charts all using Logarithmic Scale and while I know you aren't supposed to provide Zero values in the source data this is one project where that can't be helped. My problem is that the Excel Alert keeps popping up to tell me I shouldn't use zeros and it keeps crashing my sheet because it pops up every 10 seconds or so.
My question is: Is there any way to turn off an Excel Error Alert? OR Is there any value I can place in those cells (other than Zero or One) that would stop that troublesome alert from popping up? Just for reference, this is the alert: MICROSOFT EXCEL
Negative or zero values cannot be plotted correctly on log charts. Only positive values can be interpreted on a logarithmic scale. To correct the problem, do one of the following: * Enter only positive values (greater than zero) int he cells used to create the chart. * In the chart, click the axis you want to change. On the Format menu, click Selected Axis. Click the Scale tab, and then clear the Logarithmic Scale check box.
I have a user that wants me to calculate a value for x. The user will input the variables a and b into this equation: b/a = .0231x * EXP(.0439*x). The user insists that the solution to this problem must be arrived iteratively, honing in on the correct answer. Is that right? It looks to me that surely there is a way to solve this mathematically.
I am trying to create a s/sheet whereby one can calculate how the concentration of an isotope changes (via an exponential decay) with respect to 2 variables:
1. its half-life (arbitrarily shown as 3 'units' in cell E2), and 2. its initial concentration or dose (arbitrarily shown as 100 units) AND subsequent additional exposures (arbitrarily shown as exposure to 50 units every 3 days) (shown in column E).
Thus for example, with an initial dose of 100 units (cell E6), after 3 days, the substance would have decayed by one half-life to 50 units. However, because there was an ADDITIONAL exposure of 50 concentration units on day 3, the EFFECTIVE dose on day 3 = 100 units.
I have a list where i enter invoice values lets say on column (A:A) and i want to calculate all the invoice values each time i enter the values on A:A for example; i entered $2500 on cell A1 and pressed enter, then i entered another figure on A1 let say $500 i want the total value to be shown such as $3000
What is the best way to check to be sure that a text box contains numeric values prior to performing calculations?
I have a form that has many textboxes which a user enters values into to perform calculations. I want to make sure that each necessary field contains a numeric value prior to performing the calcuations.
This is what I have so far but for some reason it keeps giving me the message box:
If WorksheetFunction.IsNumber(Me.specGrav_txt) = True And _ WorksheetFunction.IsNumber(Me.pAngle_box) = True And _ WorksheetFunction.IsNumber(Me.pLength_box) = True And _ WorksheetFunction.IsNumber(Me.pSize_box) = True And _ WorksheetFunction.IsNumber(Me.pQty_box) = True And _ pModTrap_btn.Value = True Then PrimMTcalc Else If WorksheetFunction.IsNumber(Me.specGrav_txt) = True And _ WorksheetFunction.IsNumber(Me.pAngle_box) = True And _ WorksheetFunction.IsNumber(Me.pLength_box) = True And _ WorksheetFunction.IsNumber(Me.pSize_box) = True And _ WorksheetFunction.IsNumber(Me.pQty_box) = True And _ pFullRnd_btn.Value = True Then PrimFRcalc Else MsgBox "There is missing data." & vbNewLine & _ "Please check to make sure that all runer data has been entered" & vbNewLine & _ "and the Specific Gravity field contains a numeric value."
I have been using Excel for a while but i'm kinda stuck at one point where i have to calculate the sum of the numbers corresponding to the month of the data.
Column 1 has all the dates in different months - in this workbook i've included only jan, feb and mar. The second column has the counts corresponding to the dates.
Now if a user inputs the month (1,2,3) number in F2, then we need to compute the sum of all the numbers from second column corresponding to the month in column 1 and display in cell F4.
In the chart I attached there are 20 columns and 7 rows. The calculations are as follows: K in first period - 8 (given). product per worker (y) - 2*K^(1/3) = 4. Total invesment - s*y - s (savings rate) is given as 0.1 and y was calculated in the previous line. s*y = 0.1*4 = 0.4
Depreciation on capital - deperciation rate is set at 2.5% (0.0025) so the depreciation is 0.0025*k = 0.0025*8 = 0.2. Net investment = Total investment (0.4) -Depreciation (0.2) = 0.2. Consumption per worker = product per worker (4) - Net investment (0.4) = 3.6
Growtn in product per worker - Can only start calculating from next period. It is (yt-yt-1)/yt-1. (Next year's product per worker minus this year's product per worker, the answer is divided by last year's product per worker).
I am making a summery table of lots of soil contaminant data.
In my summery table, for each determinand I want the average value automatically taken from data from a number of other tables within this same spreadsheet.
For example, for pH- I would average the pH value found in each table, from cell D6, G24 and AB9.
The problem:
Out of the three tables where I take each pH value from, on occasions only one will have a value- the other two will be "0".
How do I ensure that, when averages are taken, it will always ignore '0' values?
I have a list of group ID codes, which contain 1 or more product codes within them.
Some product codes contain an "alternative" value (the actual value is irrelevant) and others do not. See example below
Group ID Product Code Alternative
56381 240027 160380
[Code] .....
Ultimately what I need to achieve is a percentage of how many product codes, within each group ID, contain an alternative.
So for the example above, group ID 56381 would have 50% codes with alternatives.
By counting the occurrences of a group ID and whether 1 particular code has an alternative I have calculated individual percentages against the size of the group e.g. product code 240027 (given a value of 1) divided by the total number of codes in the group (4), returns 0.25. Obviously doing this across the whole group would give my result (0.5 or 50%)
However some groups contain over 100 codes and the spreadsheet is 40K rows!
Workx listbox contains text, others contain numbers. Now I need Pricex listboxes to contain the value of this calculation: Salaryx * Workforcex * Hoursx (For example Price17 listbox value would be Salary17 * Workforce17 * Hours17)
However, if Workforcex listbox is empty, then Pricex listboxes should contain the value of this calculation: Salaryx * Hoursx Then again, if user wants to skip entering Salaryx, Workforcex and Hoursx, I want to allow entering value straight to Pricex listbox. Then Salaryx, Workforcex and Hoursx listboxes should be enabled.
On the other hand if there already are values in Salaryx, Workforcex or Hoursx listboxes, then the Pricex listbox should be not enabled. I need the values of these calculations to be inserted in Pricex listbox right after there are enough inputs without pressing any button etc. (For example if there are values in Workx, Salaryx and Hoursx inboxes, the calculation should be entered to Pricex listbox immediatelly.
I need to calculate a subtotal like value on the last row of a filtered region.
e.g.
description year sum name1 3 yrs ago 200 name1 2 yrs ago 230 name1 last year 250 name1 forecast 220 name1 forecast value 1400
name2 3 yrs ago 200 name2 2 yrs ago 230 name2 last year 250 name2 forecast 220 name2 forecast value 1400
How to put a value on the last row of filtered column. let's say that above list is very little in comparison with the real list. so, let's say that i look up for name36, witch begins on row (36*5) -> 5 is the values of the year column; after autofilter with "name1" the very left column with row index become blue and show rows from 1 to 5, than, next row is the last non-empty row.
Situation: I need to calculate a lot of averages of non-connected values. That is, they are separated by several rows (which also contain values). So far, I use the code-sample below (just to illustrate), which is not really elegant. Unfortunately, it seems that this technique comes to its limits when a high number of different non-connected values are combined into one string and get assigned to a formula- range (last line of code), which is where the program stops.
My question is: Is there a nice way to solve this? A way, which is not limited by the amount of data processed? The only way I could think of, would include a UDF, where a sum, sums all values up and then devides by the number of added sums ... but this would be relatively slow, and I have an awful lot of values to be averaged (100 sets * 6 rows * 200 values = 120.000 calculation- steps), as well as STDEV and a Standard Error of Mean (SEM) to calculate. Is there a better alternative?
Const intCells=9 'actually, this is no constant but a variable Const i=4 'actually, this is no constant, but a nested for- loop-value Const intLinesInBetween = 12 ' amount of lines, which separate my values Dim j As Integer 'simple counter, runs through all cells Dim rngUpperRow As Range 'Range of the upper row = normalized time vector Dim rngCurrentRowAvg As Range 'current row into which avg formulas are inserted Dim intCells As Integer ' amount of experiments in range............
I am in need of a formula to calculate the even distribution of values between two set values over a set number of columns. For example take a look at the attached screenshot. I have the numbers 2.88 and 2.44 and I need to fill in the empty cells between the two with with an even distribution of numbers in between the two (in descending order) over the 8 columns Screen-shot-2014-02-16-at-3.33.08-PM.jpg
An age-old controversy has resurfaced in our lab regarding the calculation of a mean and standard deviation of a set of two numbers. There have always been those who say that you can't have a standard deviation of two numbers, but now someone has said that a mean of two numbers is meaningless (no pun intended). What is the current thinking on this? Of course, mathematically speaking, you can certainly calculate these values with only two numbers, but is a mean of two numbers not considered a valid measurement? How about a standard deviation?
I currently have in my equation the trend function to linear extrapolate the date a line would cross either my upper or lower limits (100.1 and 19.9) between 2 data points. However if the 2 data points span both the upper and lower limits (as per the 2 attached examples) then unfortunately the trend function is only able to return the 1 date (where I've specified the x value). Is there any way for the TREND function to trend the 2 values? Do I simply add the 2nd x value to the new x's?
I have attached both the data and their graphs to visually explain my problem : EF Workbook.xlsx
What would the formula be to calculate that array of values = 57% because 4 of them are equal to or greater than 9, and there are 7 of them in total? The formula should accommodate however many numbers are listed and calculate what percentage of them are 9 or 10.
I have a simple script that puts the save time in the last row of column C when the spreadsheet is saved. Another script puts a username in Column A and column B contains the time opened. I would like to add to the save script to make column D od the active row have a calculation similar to:
I am filling out an order form. My values are being entered as sizes. I would like to caculate any entery as 1 X the amount of the item, but the entry is for example.. "YS" and not the number 1.
My spreadsheet is set up so that Column A has dates and Column B has a value. How can I calculate the total number of values for each day of the week? I've tried a few formulas but they either didn't work or didn't actually take the value into consideration and just counted all the 'Mondays'. I'm not sure if that's clear enough, but if we're just looking at Mondays to simplify it:
Monday, 1 January 2000: 2 Monday, 8 January 2000: 5 Monday, 15 January 2000: 0
I have weird alpha value like 14.385%, a sample size (36). What is the corresponding critical value for the normal distribution. There are questions like this dealing with the Student T dist, Chi Squared and F distribution. If i can figure out how to do it for one I can probably do it for all of them.
I am calculating group averages for the following performers - very good, good, average, low, very low - for a series of factors.
Worksheet 2
Contains the same factors with the values for which Im trying to work out the average. Each factor has a performance rating above it, either very good, good, average, low, very low.
I need a formula which will match the performance rating from worksheet 1 (I3, J3, K3, L3, M3) to worksheet 2 and then calculate the averages of each factors based on those matches.
I am using Excel 2010 and I am trying to calculate 4 different factors' (columns) values which are numbers. Based on my analysis I will assign the value from 1-5 for each factor and at the end I have to decide the priority (a new column) adding all 4 columns' numbers. My Priority column has three criteria (High, Medium, and Low) but I don't know what formula/function to use and how. I have tried IF function but did not work.
I want to compare cells and use a range of values to calculate totals (i.e. count if cell A1=boy and cell A2 equals either "fat" or "skinny")? Also, I tried using wildcard character "*" in the SUMPRODUCT formula, which didn't work (i.e. if cell A1="boy*" would return at TRUE if the cell contained "boy", "boys", "boy and girl", etc.). Is there a way to include wild card characters in a SUMPRODUCT formula like the ones described above?
i want to divide an entire column by a number and store the result in other column,. generaly we can do this for a single cell by writing the below code in the next cell (for example) =Q1/60
however my sheet contain about 1700 entries and it is very difficult to write the formula for so many entries. requirement:
I have a file with a column containing a series of records where a reference number can be repeated several times. I want to create a formula that will count the number of unique reference numbers in the column.
However - and this is the tricky part - I need it to allow for when the report is filtered, i.e. something like a SUBTOTAL function which ignores the hidden values.
So, the column in the full report has 691 unique values across 2,200+ records. If I apply a filter the column only has say 78 unique values. Is there a formula that can calculate this?