Inconsistent data interval, create regular interval values between known points - excel

I have a list of data points for given depths. Each depth is assigned a character.
My problem is that the data points are at inconsistent intervals, sometimes they can be 1m apart, sometimes 100m.
What I'd like to create is a list for every 1m interval, based on the values I already know. Every depth that is not included in the original data set will have the same character assigned to it as the depth above until the next known depth is reached.
Hopefully it's not to difficult but I'm rather useless at this kind of thing in excel so any answers can't expect too much prior knowledge :)
Thanks in advance.

Try this formula, which says 'If exact match for depth, use code for that, otherwise find largest depth less than current depth and use code corresponding to next depth after that'.
=IFERROR(INDEX(B$3:B$8,MATCH(D3,A$3:A$8,0)),INDEX(B$3:B$8,MATCH(D3,A$3:A$8)+1))
The depth values just increment as follows:
=IF(ROW()=3,A3,D2+1)

Related

Rate increase analysis, way to to calculate

Story that I need to go over auditors' note to provide feedback for all Provisions where Increase/Decrease > 20% line in Column H. Looking into provided doc I don't get how they calculate this e.g. = 1 - (RateOld / RateNew)
There nothing special behind those Rates, higher rate is better, and indicates better participation.
I need to be very careful before jumping into conclusion, don't want to mess with auditor's way. Anybody knows what is the logic/science/approach behind his formula, I pasted on the right more traditional ones I used.
Best
Thanks all, assume that they just switched new and old columns in provided sheet, so we divide by New Rate rather then Old. those formulas are same, first one always positive:
1-(G/D) = (D-G)/D
And logically this answers question how much change was last year, rather then This year.

Excel solution required to calculate the sum of cells according to reference cell

I want to calculate the overburden pressure at certain depth (reference C14) but including the effect of water table. As, below water table submerged density should be considered and above saturated density should be considered. So, i am looking for a formula which can calculate automatically the pressure by changing the water table depth (reference E1). Please see the attachments (spreadsheet and images):
Sample file
Dont know exactly if i understand what you are trying.
You can use nested if clause to get what you want to do:
=IF(E5<3;"DOE SOMETHING HERE for EGL 0-3";IF(E5<7,5;"DO SOMETHING HERE FOR 3-7.5";"DO SOMETHING FOREGL ABOVE 7.5"))
I just did 3 Steps but it should be clear from here. Excel will evalualte the if clause from left to right until it reaches the first thing that matches. This whay you can just always ask "E5 < Max Value" because if it is between 3 and 7.5 the first if will not trigger but the second one and the it ends. For the last step you just use the "Else" clause.

Counting How Many Times a "Peak" Happens

I'm in excel trying to count how many "peaks" there are in my data. Initially I thought "find the median, set a threshold value, count the number of values above said threshold value." So I ended up using =median(),=max() and =ifcount().
The problem is is that for a peak, there may be data-points that end up making the "slope" of said peak which are higher than the threshold value.
Wondering if there's an easy way in excel to count said peaks, or if I have to figure out a way to convert the data to a function and take a second derivative to find local maxima points.

Qlikview: How do I limit chart (straight table) lines to calculated values?

I have a problematic table, which is interconnected and goes out of memory often, but I've limited it to show 50 items, but now want to limit it to show only lines that one column calculated. The calculation - one price minus another one. I need to limit the lines so that the % or the value is less than 0 (meaning everything with -% or -<0 is acceptable).
Using a calculated dimension does not let me do an if function to accomplish this. The deduction does not work for some reason.
Any help?
I just edited the formula to "=if(dimension='-' or dimension='0', null(), dimension)". So the kicker was actually setting this all to "null()" so the "Suppress When Value Is Null" recognizes things to null.
This actually solves my problem in a different way, however the goal is the same. This skips the values where a calculation is impossible due to lack from one source.
[UPDATE Jun-3rd-2017]: I figured out exactly what I needed. I just made the calculation on the script side and now a calculated dimension is actually restricting all of the values by the calculated dimension as was intended.

Removing Lower/Upper Fence of outliers from input data to then be evaluated

What I have attempted:
AVERAGEIF(B11:V11,">+MEDIAN(B11:V11)")
What I am trying to do:
I would like to take the average of the upper half of given data. Elaborating more. I would like to find a formula that will allow me to remove a given lower fence of outliers and dissect the data then given to me. I would greatly prefer to maintain this formula within one cell "not grabbing different results from formulas within multiple cells".
Update:
Following through I found the solution.. I think.
One thing I should have explained further:
The data coming in replicating a typical sqrt function.
What I wanted to achieve is to capture the mean of the "plateau" of the data.
The equation I used was:
=AVERAGEIF(B3:B62,(">"&+TRIMMEAN(B3:B62,0.8)),B3:B62)
This was something I just copied and pasted. of course "B3" and "B62" are significant only for my application.
My rough explanation of the equation:
TRIMMEAN will limit the AVERAGE to the top 20%(">")(0.8) of the data selected. So for my application, this SHOULD give me a rough mean of the "plateau" of the data i would like to find the mean for.
This formula calculates the Median() of the range, then AverageIf() uses the median and only grabs values that are greater than or equal to >= the median ~ giving you the average of the 'top-half' of your values.
AVERAGEIF(A1:A10,">="&MEDIAN(A1:A10))
Hope this help!

Resources