Calculate Values Cumulatively Over And Above Previous Values

Apr 17, 2007

REFER TO MY ATTACHMENT.

Can I get a simple ONE LINE formula to calculate the below combination

Basic Cost = 100 (A) (my Material cost)

ADD : 10% for Freight (B)

A+B = C

ADD : 10 % for Overheads on 110 (On C) = D

C+D = E

ADD : 15% towards Margin on 121 (on E) = F

E+F = G

WHERE G = 139.15

I require this because my %s varies according to products.

View 6 Replies


ADVERTISEMENT

Value Depends On Previous Values

May 21, 2007

I am analysing data to determine buy or sell transaction signals. The problem is that the method can and does produce frequent signals that are merely confirmation rather than new information.

Therefore, I need to select a signal, eg a "buy" signal where the previous transaction signal was the opposite, eg a "sell" signal.

In the attached sheet N10 is a valid signal as the previous signal was a "sell" signal. However, N14 is not valid as the previous signal was also a "buy" signal.

Currently, I am using a simple formulae to determine the signals, e.g. =IF(J26>0,J26,0). Hoevever, I need to modify this by looking back to confirm that a value >0 occurred first in column K rather than column J. If the value >0 occurred first in column J then I need to ignore the buy signal.

I am not sure if the formulae can be modified or if a macro is needed.

View 4 Replies View Related

Comparing Previous Values Of A Cell

Nov 4, 2009

I have a cell (F2) that is auto updated with total sales units for today (Its a simple counter of individual sales). I want to detect when there is a "batch" of sales >= 10. ie. F2 may start at zero for the day and increment by 1,2,5 or 10 units at a time. If the increment is 10 units or more I would like to detect this and store the result in cell G4.

Typical values in C2: 0, 1, 6, 7, 9, 19, 21, 22 etc as new orders arrive. The larger order between 9-19 (viz 10 or more), I need to detect and store in G4. I know that I need to use both the current value of F2 (say 19) and the previous value of F2 (say 9) to perform this, but the solution eludes me.

View 2 Replies View Related

Sparklines - Lookup Previous 12 Values

Mar 4, 2013

I am experimenting with sparklines and wanted to know if there is a way that I can lookup the last 12 results of a particular field and return a sparkline for that.

For example, on my report tab I have a list of names in column A and in my data tab, I have a list of the same names with a different value in each column (each month).

I want to have a sparkline beside each persons name in my report tab which will lookup the last 12 months of data for that person and display it in a sparkline.

View 8 Replies View Related

Dropdown List Depending On Previous Values?

Jan 3, 2013

see attached document - this is a stock record sheet. what i want it to do is when Bed is seleceted in column B - i want colum C to show the BedSize list which is in the lists tab. and the same with Chair i want it show ChairSize

View 14 Replies View Related

Cell Adds Previous Values Automatically

Aug 20, 2009

I have a market data linked to excel through DDE link so prices are updated real time.

Cell A5 contains last traded volume which updates whenever a trade is done.

I would like to SUM/ADD all last trade volume in cell C5. Is there any function or macro can help me to do this?

View 9 Replies View Related

Conditional Formatting With Values In Previous Cells?

Feb 21, 2012

I enter data in Cells starting at C3:O13 I enter 4 digit numbers 1131, 1212, 1122, 1215, 1201, 1207, 1133 etc. etc.

Here is my rule: I cannot have more than 8 numbers in the 1200 series in ROW 3 So I need conditional formatting to come up with a yellow background if I have 8 numbers in the 1200 series.

Example:
C3, C4, C5 etc.etc. 1131, 1212, 1122, 1215, 1201, 1207, 1214, 1233, 1122, 1230, 1216, 1122

1216 would highlight because it was the 8th cell in that row that contains a number in the 1200 series.

View 4 Replies View Related

Return T If Any 2 Of The 3 Values From Previous Row Are Double Digits

Feb 7, 2009

Need a T/F formula that will return T if any 2 of the 3 values from previous row are double digits and the third digit is also from previous row. The 3 digits in the same row must have a zero.

Examples

668 T
806
995 T
509
995 F
519

******** ******************** ************************************************************************>Microsoft Excel - CASH 3 EVE COMBO GROUPS.xlsx___Running: 12.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA3=ABCDE302/06/09006T402/05/09016F502/04/09110T602/03/09610F702/02/09661T802/01/09160FSheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

Using Drop Down Boxes And Not Being Able To Select Previous Values

Dec 10, 2009

I am wanting to configure approx 100 drop down boxes to all point to the same range of data, approx 40 names, but once the name has been selected, none of the other drop down boxes will be able to select that name.

eg.
range:
Dave
Mike
John
Steve

select Dave in drop down box in cell B5. Next cell, B7, I want a drop down box without Dave in it.
If i then change my mind, and select Steve in cell B5, it will automatically adjust cell B7 to allow Dave as he is now no longer selected in cell B5.

View 9 Replies View Related

Excel 2007 :: Conditional Formatting Based On Two Previous Values

Feb 19, 2013

I'm creating an excel document that tracks the amount of time someone has (in months) in the program. Certain residents are able to 'fast track' if they meet conditions, and I am trying to create this spreadsheet so that anyone who looks at it can tell who qualifies (and when).

The issue I'm having is with conditional formatting, because I don't know how to do it with mutliple conditions.

Column C is their previous time (months) in the program
Column D is their current time (months) in the program
Column E is their total time in the program (Sum C+D)

Coumn E is what I would like to format, based on the following rules set out in the program manual:

If previous time is 9 months or more, a resident is eligible to fast track after 6 months current time (format green).
If previous time is less than 6 months, a resident is eligible to fast track after 9 months current time (format green).

I understand that their is an odd gap - but these are the rules currently set out by the program manual, which is what I have to follow.

I'm using Excel 2007 - if that changes anything.

View 3 Replies View Related

Macro - Auto Populate The Data, Based On The Previous Cell Values

Aug 3, 2009

the post 5 for the actual issue. This being my first post could not update it correctly. I have put my views int he 5th post which will be more clear.

View 9 Replies View Related

Calculate Mean Of Column B Values Based On Date Values In Column A?

Dec 5, 2013

Below the two columns represent Column A (date and time) and Column B is temperature.

How can I take the mean of all temperature values for May 1, then take the mean of all temperature values for May 2, etc.?

5/1/2013 0:0012.4
5/1/2013 1:0012.4
5/1/2013 2:0012.5
5/1/2013 3:0012.5
5/1/2013 4:0012.5
5/1/2013 5:0012.4
5/1/2013 6:0012.4

View 2 Replies View Related

Running Tally Traffic Light System - Find Previous Values Upwards In A Column

Jul 21, 2014

I'm trying to work out to most efficient way of making a quality monitoring system which uses traffic lights to show problem products.

The traffic light system need to obey the following "rules".

Each product is tested once daily When a product fails once it moves to Amber, When a product Fails twice in a row it moves to RedOne pass when a product is in Amber Status, will reset it to green.If a Product is in Red status, it much have 3 consecutive passes to reset to Green.

I have tried to use array formulae to look up a column for previous values in the past for this sort of thing, but with 100000+ rows it runs far too slowly.

Banana Problem?
Product
Result
Traffic Light (0=green, 1=amber, 2=red)

[Code].....

View 1 Replies View Related

Calculate New Values Over Old Values

Sep 20, 2007

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:

CREATE TABLES LIKE BELOW?Q(Original column) R(required column)(Q/60)
60 1
120 2
180 3
240 4
300 5
360 6

View 2 Replies View Related

Cumulatively SUM Column While Looping?

Jul 10, 2014

I have 4 columns of data, Col A id for pipes, Col B upstream_node_id, Col C downstream_node_id and Col D connected assets. I want to create Col E with the cumulative count of upstream connected assets.

Data looks like this :

A B C D E
Pipe ID U/S Node ID D/S Node ID Nr Connected Assets Nr U/S Connected Assets
78057358 74888997 1026722856 2 39
78057352 74888992 74888997 4 37
78057346 75107198 74888992 6 33
78531653 74888757 75107198 6 27
78057340 74888987 74888757 2 11
78057046 74888762 74888757 6 10
78057334 74888982 74888987 9 9
78057040 74888767 74888762 4 4

See how the D/S Node ID can appear more than once in Col C.

I have added Col E manually to demonstrate the output I am looking for.

I am no expert but I think that this would be something like a nested loop, but the number of nested loops can't be determined before hand ??

I have written out what I think I need to do, but don't really know how to code it :

i. For each Pipe_ID (Col A) get U/S Node ID (Col B) and add to "selection".
ii. For each U/S Node ID (Col B), find all matching U/S Node ID (Col C), and add to selection and get the U/S Node ID (Col B) for those.
iii. Populate Col E with sum of Col D for "selection".
iv. Repeat Until U/S Node ID (Col B) can't be found in U/S Node ID (Col C).

How to get the table to align correctly.

View 6 Replies View Related

AUTOMATIC CALCULATE VALUES

Feb 14, 2007

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

View 9 Replies View Related

Calculate Textbox Values

Nov 25, 2007

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."

End If
End If

View 9 Replies View Related

Calculate Sum Of Values Based On Month

May 21, 2014

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.

View 3 Replies View Related

Calculate Values Based On Category?

Jan 30, 2014

I have 2 tables:

IDTypeValue
1A3
2A3
3A4
4B4
5B3
6C2
7A4
8A3


And

TypeTotal
A
B
C

I need to "total" column to automatically display the sum of the values for the categories A, B and C. Is there a formula I can use for this?

View 2 Replies View Related

Calculate According To The Values Of Adjacent Boxes

Nov 15, 2009

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).

View 3 Replies View Related

Calculate Elasticity Of Logarithmic Values?

Feb 4, 2014

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.

View 7 Replies View Related

Formula To Calculate Values From Words

Nov 10, 2009

There are five levels of Performance.

Not Evident(o), Emerging(1),Operational(2),Highly Functional(4),Exemplary(5)

There are ten rows of Categories of Performance.
There is one final column of Performance Summary for each category.

There are seven columns that are report sources of Performance.
There is one final row of Performance Summary for each report source.

There is one cell that is a final Summary of Performance Overall.

The cells have drop down lists of words only.

I need the Summary cells to show the result of calculation of the average for each row and column.

View 7 Replies View Related

Calculate Average Of 3 Values But Ignore If Any Value Is 0?

Dec 5, 2011

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?

View 3 Replies View Related

One Value With Multiple Values Within - Need To Calculate As Percentage

Jan 16, 2014

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!

View 5 Replies View Related

Calculate UserForm ListBox Values

Aug 22, 2008

I have several listboxes in userform. They are named like this:

Work1, Salary1, Workforce1, Hours1, Price1
Work2, Salary2, Workforce2, Hours2, Price2
Work3, Salary3, Workforce3, Hours3, Price3
...
Work24, Salary24, Workforce24, Hours24, Price42

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.

View 4 Replies View Related

Calculate Totals At The End Of Filtered Values

Mar 18, 2007

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.

View 9 Replies View Related

Calculate A Lot Of Averages Of Non-connected Values

Feb 20, 2008

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............

View 4 Replies View Related

How To Calculate Even Distribution Between Two Values Over A Set Number Of Columns

Feb 17, 2014

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

View 1 Replies View Related

Standard Deviation - Calculate Values With Only Two Numbers?

May 30, 2014

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?

View 2 Replies View Related

TREND Function Calculate 2 Possible Y Values Along A Line

Mar 25, 2014

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

View 2 Replies View Related







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