Automatic Updating Of Numbers In Formula?

Jul 29, 2014

I thought I could update formulas dynamically by dragging into new cells but it's not working.

Problem: I have a time series of input from a device that samples at 40Hz. The output I get from this device in Excel consists of 40 columns in row 1 (representing the first second) and then it creates a new row - row 2 - which also consists of 40 columns of values (representing second 2) - and it does this until the end of the response period which for me is 10 seconds. When I do a quick filter I end up with 10 rows, each consisting of 40 columns of data and all of this represents 1 trial. This then repeats for 32 trials.

I want to have all of my data for each trial in the same row. So I want the first 10 rows essentially collapsed into 1 row so instead of a 10x40 matrix representing one trial I have a 1x400 matrix representing that trial.

It starts out well enough - I make a row for my first trial and, if trial 1 second 1 = H2:AV2 and I'm typing in cell AY2, I just write =H2 in cell AY2 and drag across for 40 cells until I get to CK2 which will have =AV2 in it because of the automatic updating from dragging. Then I move one cell over - to CL2 - and type in =H3 and start the whole process again until I have all my 400 values in one row. I know this is a tedious way to do this but I figured once I did this it would be a simple matter of formulas and dragging to fill in the rest.

Not so. Is there a way to dynamically update references? So for example, cell AY2 has the formula =H2 in it. Now I KNOW that in AY3 I want to have the formula =H12 (because the beginning of the next trial is 10 rows down from H2) and I know I want AY4 to have =H22 etc. but when I drag the reference to H2 down it just changes it to H3, which makes sense but having a formula like =AY2+10 returns the value in AY2+10 instead of the reference, which again makes sense but I'm totally blanking on how else to do this. I've tried using offset and indirect and offset, for example, will work if I hard code in the numbers (e.g. =offset(H2, 10, 0)) but if I drag this formula down neither the 10 nor the 0 changes so I get the same formula in every which is obviously not what I want (and I guess if it did change, it would just change the 10 to 11 anyway, which again, is not the increment I'm looking for). I've also played around with adding constants of 10 and got nowhere, probably because I'm doing it wrong because I'm fairly sure I'll have to add a constant of 10 somewhere.

View 5 Replies


ADVERTISEMENT

Formula Not Updating: Using Tools, Options, Calculation, Automatic

Oct 27, 2006

I have a table with rows that keep growing. But I have place formula in the whole of column F, i.e. F2:F66565. When I import information from MS Access into column A to E, the formula in F does not work, until I copy from F2 to the end manually. I have tried using Tools, Options, Calculation, Automatic. That doesn't work, I have also tried F9, that doesn't work and I have also tried checking Precision as Displayed under the calculation tax in Tools-Options, that doesn't work either.

View 3 Replies View Related

VBA Updating For Manual Cell Entries But Not Automatic Ones

Jun 4, 2013

I have in cell A2 a number, and my VBA is as follows;

If Target.Address(0, 0) = "A2" Then
Application.EnableEvents = False
Range("a" & Rows.Count).End(xlUp)(2).Value = Target.Value
Application.EnableEvents = True
End If

This basically adds any new number typed into cell A2 into a list which starts in A3 then continues down through column A.

I also have another part of my VBA which says;

If Target.Column = 1 Then
Application.EnableEvents = False
Cells(Target.Row, 2).Value = Date + Time
Application.EnableEvents = True
End If

This part works fine and adds a date stamp to my blank cells in column B whenever I manually type anything into column A, however, when the first part of the VBA works the date stamp is updated into cell B2 and I want it to update next to the new entry that has just been added into column A by the first VBA doing its job.

I think I need to change;

Cells(Target.Row, 2)

To something that refers to a Range of cells (would be B3-B5000 for example) but my knowledge on how to change that part of the VBA has now ran out!!

View 5 Replies View Related

Automatic Updating Web Site Status In Cell

May 6, 2007

Cell A1 value is: www.yahoo.com B1 Value should automatically show "Possible"
Cell A1 value is: www.icallindia.net B1 Value should automatically show "Possible"
Cell A1 value is: www.jigarparekh.html B1 Value should automatically show "notvalid"

I need a formula which can automatically see the status of the website address and updated in B column. which means that one dose not need to go to the website page to see if it is correct or not.

I have lot of website in the one sheet and i don't want to go all this website and check if they are correct. I want the status of this website in b column once when i have the website name already in the A column.

View 9 Replies View Related

Automatic Updating Of Master Worbook From Slave Workbooks

Sep 2, 2008

I have basically read all the posts on similar subjects and have tried for a few days to make it work but my solution is far from good enough. So now I am asking for you help.

My project: I have a Master workbook that contains the complete sales for the entire business. This is based on input from three different departments. These three departments have their own Excel workbook that they enter information into. The four files are all located in the same directory on a network folder.

What I want to do is to automatically gather all the entries from the three slave workbooks to the master workbook whenever the macro I am trying to create is run. There is no way of knowing how many new entries each workbook will contain and they have to be added so that that they don't overwrite eachother and so that they are put in sequence after the last row in the master workbook.

Now the information to be gathered is located on the first worksheet in all the three workbooks. The destination sheet in the Master workbook is also the first worksheet in the workbook. The structure of the information that I want to copy is equal on all the worksheets meaning that one sale is entered as a new row in the sheet. It is this row that I want to copy to the mastersheet.

What makes it a bit more complicated is that I want to extract certain information from one sheet and different information from other sheets. From one sheet i want to copy the entire row and from another sheet I just want to copy certain figures like Order Number, Customer, Price and so on. Meaning that I will have a different set of what I want to copy depending on what workbook I am copying from.

Here is what I have so far, it is not working by far and I tried to aim for something simple to start with since my vba experience is limited. So far I cannot copy anything into my Destination master file...

View 9 Replies View Related

Updating / Sorting Numbers By (Newness)

May 26, 2014

I currently have a six column table that I would like to:

1. Take in an input in the form of a number and a letter in two separate columns. (Most Recent and Second Most Recent are purely output)

2. Sort the inputs from most recent to least recent - only store the most recent two.

3. An update only occurs if Current differs from Most Recent i.e. no repeat values.

Example:

Begin with a six column table (E/O stands for even or odd).

Current
E/O
Most Recent
E/O
Second Most Recent
E/O

[code]....

Place a number/letter in the current section - which most recent also takes the value of.

Current
E/O
Most Recent
E/O
Second Most Recent
E/O

[code]....

Update the value of current - this moves 10/E to the Second Most Recent entry and replaces Most Recent with the new value.

Current
E/O
Most Recent
E/O
Second Most Recent
E/O

[code]....

Update the value once more - understand the process.

Current
E/O
Most Recent
E/O
Second Most Recent
E/O

[code]....

I tried this with IF statements but the circular referencing makes this seem approach seem difficult.

View 3 Replies View Related

Automatic & Dynamic Row Numbering For Outline Numbers Like #.#.#

Mar 11, 2008

I would like to ask for some assistance to my Spreadsheet problem.

To illustrate my problem please see below:

1------------> Level 1
1.1----------> Level 1 Sublevel 1
1.1.1--------> Level 1 Sublevel 1 Item 1
1.1.2--------> Level 1 Sublevel 1 Item 2
1.2----------> Level 1 Sublevel 2
1.2.1--------> Level 1 Sublevel 2 Item 1
1.2.2
2
2.1
2.1.1
2.1.1
2.2
and so on

I need to have a formula to automate the adding of outline numbers from "Level 1, Sublevel 1, Item 1..." So that if I deleted or added a row, the rest will automatically update themselves.

I will be the one manually inputing the Top Level and Sublevels I just need that the Items will be automatically added and computed basing from the previous level.

What I am planning to do is:
1. Check previous cell if the format has two decimal points or periods --> kinda stuck here

2. If there's only one then it will be the Sublevel 1 Item 1 (or depending to its location)

3. If there's already two periods "." then it will compute automatically for what item it is already.
ie:

1
1.1
1.1.1
1.1.2----->Checks the previous cell if it has 2 decimal places then if it does then it will add 1

View 9 Replies View Related

Identifying Missing Numbers And Updating In Single Cell

Jul 9, 2014

As i am working on consolidating the Missing numbers manually, whether will it possible for making this automatic.

In Column "A" I have Multiple Duplicate Invoice Numbers and followed by the Different Transcation numbers in Column "B".

In Column "D" I have Each Invoice Numbers and in Column "E" Total Transaction Numbers i.e., no. of times each Invoice have Transactions.

In Column "F" No. of times we received the Transactions.

Here i need to manually need to update each Invoice's Missing Transaction number in Column "H" in single cell with comma separated to each Missing Transaction numbers.

Example:

Before : (Column "A" & "B")

Invoice NumbersTransaction NumbersInvoice NumbersTotal Transaction NumbersReceived Transaction Numbers
A2014000351501 A201400035150 3 2
A2014000351502 A201400035494 13 12
A2014000354941 A201400035881 12 11
A2014000354942 A201400035884 19 17
A2014000354943 A201400035888 14 13
A2014000354944 A201400037613 5 1
A2014000354945

[Code]...

Instead of doing this manually can we have the VBA to auto Update these missing numbers.

Here by i am attaching sample file.

View 1 Replies View Related

Formula Not Updating/Calculating

Sep 1, 2006

How do I return the data from a single cell in a named range. If I type

=INDIRECT("B12")

into cell "B10". It will return data once, but as cell "B12" changes the value in "B10" does not update. The "B12" cell is part of a named range called "Datainfo".

View 6 Replies View Related

Formula Links Not Updating

Oct 26, 2006

I have a workbook (we'll call it Mainbook)that has links to files on a shared drive (call these subbooks). For some reason, unless the "subbook" files are open, my links in "Mainbook" will not update.

View 9 Replies View Related

Automatic Formula For 1 Column

Dec 29, 2008

I have two colums as shown below:.....

The SHIFT column has the word DAY under it. The TIME IN column is empty. In the Shift column below if the value entered is "Day" I want the Time In column to say "1pm", If the value entered is "Night", I want the Time In column to say "7pm", I need a formula that will fill in the TIME IN column automatically based on whats on the SHIFT column.

View 4 Replies View Related

Keep Formula When Inserting (automatic)?

Feb 1, 2014

When inserting a row in lets say row 5, i want the formula to be kept for that row. (e5) Table doesnt seems to work. Any macro for this, and no button but automatically.?

View 2 Replies View Related

Dynamically Updating Function / Formula?

Aug 8, 2014

What I need to do is basically use one sheet from my workbook as a 'template' for all the other sheets, but in a way that when I make a change to a formula on my 'Template' sheet all the other sheets based off of it follow suit. I need to do this because for 100000's of rows, spread across different sheets, I have product information populating Columns A-G, and their unique cost in Column H. I need to apply markups to each product (row), but all of these markups are standard across every product and thus every sheet. So in the perfect world I would be able to edit the formula on Sheet #1, and then have that change be reflected in every other sheet.

So let's say I have something like this on Sheet #1...

[URL] .....

Where Column C is a product of A & B...ie. "=A2*B2"

What I need to happen is on Sheet #2 is for it to somehow pull the same formula that is on Sheet #1 in Column C, but apply that formula to 'A2' & 'B2' on sheet #2. And I also want it to update whenever I change the formula in Sheet #1.

If it requires that I set up a template on a completely different workbook, that is perfectly fine as Sheet #1, my 'Template' Sheet, does not hold in actual product information.

View 14 Replies View Related

Formula Needs Updating To Sum All Rows With Certain Word

May 28, 2013

I have the following formula that picks up the cost of the item with a certain number and the description includes the word post, however I now have a scenario whereby under a certain number there are several items that include the word post and the formula is only picking up the first one and not the sum of them all.

Formula:

{=IF(ISERROR(INDEX(Sheet1!$E$3:$E$706,MATCH("*"&$C$1&"*"&A3,Sheet1!$C$3:$C$711&Sheet1!$F$3:$F$707,0))),0,(INDEX(Sheet1!$E$3:$E$706,MATCH("*"&$C$1&"*"&A3,Sheet1!$C$3:$C$711&Sheet1!$F$3:$F$707,0))))}

Data:

Description
ID
NAME
Qty
Unit $ exc
Number

[Code] .....

Result:

Job Nos
Product Description
Post

24741
IN Wave
124.3

Is there anyway to pick up all the information?

View 5 Replies View Related

IF Formula To Insert Non-updating Date

Jul 30, 2013

I am trying to create an IF formula to check a cell (A2) and if that cell is populated to return a non updating date in a different cell (K2).

View 4 Replies View Related

Automatic Update Formula When Row Inserted

Apr 18, 2007

In my "example" I have references in Summary!D23:E32 which take data from Input!B36:U36. Is it possible to automatically update these formulae if a row is inserted eg above my row 37? The formula in D23 should then change from =OFFSET(B37,-1,0) to =OFFSET(B38,-1,0) and so on. I would like this to occur wherever I insert a row.
I am using this code, but it inserts rows consecutively from the top only.

Sub InsertVolRow()
Dim iRow As Long, iColumn As Long
On Error Goto Exit_Error
iRow = Application.WorksheetFunction.Match(" Total", Range("A:A"), 0)
Rows(iRow).Select
Selection.Insert Shift:=xlDown
iColumn = Application.WorksheetFunction.Match("Total", Range("2:2"), 0)
Cells(iRow - 1, 1).Select
Selection.AutoFill Destination:=Range(Cells(iRow - 1, 1), Cells(iRow, 1)),

View 4 Replies View Related

VBA - SUMIFS Formula Not Updating Cell When Filling Down?

Jul 27, 2012

I have the below formula working correctly. However the issue is when it pastes and fills down values its using H1 reference in the formula even when it goes to the next column. So basically when it goes to cell I2 it should update the sumifs formula to lookup I1 instead of H1 and so on and so forth for all columns till the loop stops.

VB:
Sheet1.Activate
Dim frmla As String
frmla = "=SUMIFS($C:$C,$A:$A,H$1,$B:$B,$G2)"
Range("H2").Activate
Do Until ActiveCell.Offset(-1, 0) = ""
ActiveCell = frmla
ActiveCell.Offset(0, -1).End(xlDown).Offset(0, 1).Activate
Range(ActiveCell, ActiveCell.End(xlUp)).Select
Selection.FillDown
ActiveCell.Offset(0, 1).Activate

View 1 Replies View Related

Auto Updating Formula To Previous Sheet

Aug 13, 2009

if it is possible te refer to a cell in another worksheet.

I have 10 worksheets in sheet one I put in cel A4 a digit en sheet 2 I put the formula that refers to sheet 1 cel A4.

Now I want a formula that refers to sheet -1 so in sheet 3 the formula automatically refers to sheet 2 cel A4 and in sheet 4 the formula automatically refers to sheet 3 cel A4 without corrections to the formula.

View 9 Replies View Related

Formula References Not Updating On Row Insert/Delete

Jul 26, 2007

I have a worksheet with many different formulas in many different cells. When I insert or delete a row, there is one formula in one cell that does update to reflect the change in rows. The cell is located several rows below the section where rows are changing. It is a simple formula too. Here is the formula: "= SUM($E$3:E11)*0.09". If I delete more rows that cause the highest row number to be less than 11, this formula updates. If I insert more rows and go beyond row 11, the formula does not update. I have tried using $E$11, $E11, and E$11 to no avail.

View 9 Replies View Related

Prevent Formula Cell Referencing Updating

Jun 9, 2008

I have a series of worksheets, named, 'sheet1' 'sheet2' etc. through to 'sheet10'. A final worksheet, 'sheet11' has been produced that uses the formula: address=Sheet1!A1, address=Sheet2!A1, address =Sheet3!A1 etc. The same goes for other identical cells on each of the sheets. I am at the moment entering each cell on 'sheet 11' separately because if I copy the formula down it progressively changes the cell value and not the sheet number. How can I produce a formula whereby the cells remain identical but the sheets change progressively?

View 4 Replies View Related

Automatic Way To Enter Data Into COUNTIF Formula?

May 21, 2014

I have a huge (for a newbie ) spreadsheet where every item is associated with several key words. There about 500 key words, all in the same column, and I have to build a table identifying the total frequency of each key word. Basically, the first column of the table I've created lists all the possible key words, and the second one is all the COUNTIF formulae, each one being associated with its corresponding key word. The formula I need to use is this one :

=COUNTIF($D$2:$D$8486;"corresponding key word from column 1")

The formula works well and my table looks fine, but the task of copying and pasting 500 key words into each occurrence of the formula is pretty daunting! is there an automatic way to enter each key word into the corresponding formula without having to do it manually? Otherwise, is there a more direct way or another formula that would give me the information I need? Surely there's a more efficient way to do this, but I just don't know how!

View 1 Replies View Related

Automatic Filling Cells - Formula That Expands

Jun 3, 2014

I am currently streaming financial data into excel which updates on a minute by minute basis. Every minute a new row of data is automatically inputted based on market activity. Is there any formula/function which would expand to cover the new data as the amount of cells increases? Is there any way that I can have it so that the function/formula only looks at the last 20 or so cells, so its like a moving/rolling formula/function?

View 3 Replies View Related

VBA For Automatic Email Upon Cell Change Via Other Formula

Apr 22, 2014

See attached example. all details there and noted clearly.

current code:

Sub emailinstant()
Dim OutApp As Object
Dim OutMail As Object
On Error Resume Next

[Code] .......

View 6 Replies View Related

Automatic Formula That Can Produce Data In Column D And E?

Jan 12, 2012

I have a very long list in columns A and B, about 1000 rows. I was just wondering how would i be able to setup an automatic formula that can produce the data in column D and E?

Ideally, i would the sequence running every 5 rows but iam doing this manually and running the sequence every 5 rows would be way to slow.

View 7 Replies View Related

Automatic Gantt Chart Format Formula

Sep 16, 2008

I am looking to create a spreadheet that will automatically shade blocks in a gannt chart according to a list of dates.

I.e B13 & B14 will have the start and end date of the particular task or activity (this will be on another sheet)

Row A3 - S3 will contain dates, iusing a lookup formulas excel will look up the activity name (or number) and look for the relevant date, if the date listed in row 3 is within or equal to that date it will return yes, if not a no.

this seemed straightforad, but I cant think of a consistent formula that will do this, without having to keep changing it ...

View 19 Replies View Related

Drag Down Formula But Cell Reference Number Not Updating?

Jan 27, 2014

I am trying to drag down a formula (see below). the cell reference A6 and E6 is not updating to A7 and E7 etc etc when i drag the formula down using the corner thing. it remains constant at A6 and E6.

=HYPERLINK("#INDEX('Shipping Tracker Week X'!$F$4:$F$3000,MATCH(1,('Shipping Tracker Week X'!$B$4:$B$3000=A6)*('Shipping Tracker Week X'!$D$4:$D$3000=E6),0))","Link 1")

im pretty sure the problem comes down to the hashtag and quotation marks that i added, as the formula properly increased the cell references when i drag down without the hashtag and quotations. however, i sort of need it because adding those seems to be the only way i can get the hyperlink to link me over to the other sheet and to the correct cell containing the hyperlink.

part 2 of problem: the hashtag and quotations is currently a workaround method for me. the original intention was for the hyperlink to directly link me to a website, which is referenced from a separate sheet. however, without the hashtag and quotations, i get a "Cannot open specified file" error.

View 14 Replies View Related

Prevent Formula From Updating When Deleting Cells / Sheets

Nov 5, 2008

I've got a workbook that I'm currently designing and I've just realised that I need to delete a few sheets, paste in some new template sheets and rename them. The problem is, I've already completed my summary sheets and I don't want to have to redo the values. Essentially, I just want to (temporarily) turn off auto-updating of formulas when cells / sheets are changed/moved/deleted.

For practical purposes: I need to delete the sheet named "Jan", paste in a new sheet "MonthTemp", rename "MonthTemp" to "Jan" and have all my formulas not updated (e.g. still referencing "Jan" instead of "#REF!")

View 13 Replies View Related

Updating Data Formula For Cumulative Log Plot Graph

Oct 24, 2008

I have attached 2 files. One of them is called Macca.xls. This is the file that was created for me by shg on an excelforum. The other isOreDep_updated.xls - this file is the updated list that I want to convert into the Macca file or make it look like the Macca file.

I awas trying to make a couple of plots, but they were not llooking like some examples I have.

In the OreDep-updated file attachment is my data I needed to use. I needed to make 2 plots:

Plot 1: Resource Grade (log scale) against the proportion of deposits (linear scale)

Plot 2:Tonnage (log scale) against proportion of deposits (linear scale)

This was done with my old data that is shown in the Macca.xls attachment.

They are meant to cumulative proportion plots. As a line or scattergram. An example of what they are meant to look like is at: http://www.nbmg.unr.edu/dox/ofr962/c11.pdf on Page 4 and 5.

shg managed to make them look like I wanted with the log normal smooth line too.

My problem now is that I want to change the data under Name, Resource Tonnes and Resource Grade (basically replace the old data in Macca.xls with the new OreDep_update.xls, to come up with same type of plots). But whenever I try to copy and paste the data into the Macca file it messes up everything. I looked at the formula that was created and I really havent a clue how to change it, without affecting everything else like the plots.

I also need to add 2 new columns for date and for reference, and it wont let me do that.

View 9 Replies View Related

Automatic Chart That Use Formula Result To Update Without Login

Jul 18, 2014

I want have a chart that use Formula result to update automatically. I know there is some vb methods to do this but my job is different and that ways work when values enter manually but i need a way that use formula result to update and don't make chart as long as existing values. I attached a sample of i need and i did explanation on it. The Salesman's are enter to column A by a VB and Their values of cost or earning are enter by a formula.

View 2 Replies View Related

Automatic Current Date Formula Extracts From Specific Cell

Mar 6, 2007

formula that can automatically use the current month date to extract information from other cells on my spreadsheet.

For example: This formula should be located in cell C6. Cells D6, F6, H6, J6, L6, N6, P6, R6, T6, V6, X6, and Z6 (these cells correspond to the months of the year, January to December respectively) contain the values I need. The month names are labeled above in row five.

Let's say the current month is March, I need the formula in C6 to automatically know that it is the month of March and to pull the information from cell H6 (which is the March cell). Then when April comes along, it will know that it is April and to only pull the information from cell J6; and so on until the end of the year.

View 3 Replies View Related







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