Auto Updating Cells Using Indirect
Dec 18, 2012
I have 2 drop down menus based on car make and model.
The first contains Make and the second contains the models of that make using the indirect function (All through data validation (this may be my problem))
Now what I'm wanting is that when the Make changes, the Model will automatically changes to either the top (or any really) model from the list for that make or to change to blank. So can this be done without VBA?
View 4 Replies
ADVERTISEMENT
Jan 5, 2009
It's some code I found and altered that automatically updates the cell to the right of a column that has drop down box data validation, creating a list of the selected values seperated by commas. The thing is, I only want it to do this in columns 8 and 10 but data validation drop-down boxes have been used in several other columns. I've tried various methods of limiting the scope, the latest being the line: If Target.Column = 8 Or 10 Then. But the auto update is still being applied to all drop down boxes in the sheet. So, how can I make sure the auto update only happens when the drop down boxes in columns 8 and 10, updating into columns 9 and 11.
View 4 Replies
View Related
Sep 20, 2006
Everytime that I insert a row into a worksheet which a number of formulae refer to, those formulae get updated automatically in such a way that it is not in my favour.
The formulae refer to rows 2:2000 on a number of different columns. Adding a new row shifts the references to 3:2001. I presume that I can stop this from happening
Example:
= SUMPRODUCT(('List of DD Donors'!E2:E2000)*('List of DD Donors'!F2:F2000='DD Tally'!E6)*IF(DATEDIF(('List of DD Donors'!G2:G2000)-1,DATE(2006,3,31),"m")>12,12,DATEDIF(('List of DD Donors'!G2:G2000)-1,DATE(2006,3,31),"m")))
changes to...
=SUMPRODUCT(('List of DD Donors'!E3:E2001)*('List of DD Donors'!F3:F2001='DD Tally'!E6)*IF(DATEDIF(('List of DD Donors'!G3:G2001)-1,DATE(2006,3,31),"m")>12,12,DATEDIF(('List of DD Donors'!G3:G2001)-1,DATE(2006,3,31),"m")))
View 4 Replies
View Related
Feb 11, 2006
What I am wanting to do is have excel insert a static date automatically. I know ctrl + : inserts date and ctrl shft + ; inserts time. I want excel to do this automatically. The now() and today() functions auto update the date. I dont want the date auto updated when the file is reopened after it is saved. The file is a template so I guess what I am really wanting is a automatic date/time stamp when the user saves the file so when it is emailed and reopened the date does not auto update.
View 6 Replies
View Related
Jul 3, 2014
So, I work in a large indoor grow facility, and as such, we need to keep an active, updated calendar of all activities that will need to happen in the grow. If something happens to a set of plants, we need to change to date of transplant into the next pot size and every transplant after that, as well as moves into the flowering room from the vegetative room.
I have tried to manually make a calendar (I'm not worried about auto-generating a calendar or auto-filling dates, only things that happen on those days.) and tie in this information, but I'm having issues automatically searching a column and finding the date, and then pulling more information from that row automatically. (i.e. If anything in Column E has the date 7/3/14, then fill the data from Column C and Column B on the same row.)
I'm attaching a copy of the spreadsheet that I am trying to pull the Data from, and a copy of the Calendar I mocked up.
FYI, the spreadsheet I am pulling from Automatically fills once you put in the Clone Date, and then if you add in an adjusted date, it will adjust all later dates from that same section.
I tried to find something other than Excel as well to do this for me, but AFAIK nothing exists to make the calendar update Live, only to reproduce a new calendar with the current spreadsheet. This is not an option, I need it to stay up to date.
View 7 Replies
View Related
Oct 29, 2008
I have fought with this for 2 days and I am trying to have a worksheet cell update the date and time if the cell it is referencing (B3 see below)
Here is the formula I am using however it updates every time a new row is added to the worksheet. So the Date/Time stamp on each row is always updated to NOW() everytime.
=IF(ISNA(B3),"0/0/00 00:00",NOW())
I would like to have a Date/Time stamp stay as is once that row has been added. Is there anyway to stop the field from updating once the date and time have been set?
View 9 Replies
View Related
Aug 5, 2013
It seemed to be working OK for the first hour I had my sheet open. I then noticed that a variation of the following Sub would not update unless I clicked somewhere else in the sheet or edited another non-included cell. It's like something is holding up Excel from running this function and updating the cells if b2 is greater than a3 then a3 will not update to = b2 immediately.
Private Sub Worksheet_Change(ByVal Target As Range)
If [b2] > [a3] Then [a3] = [b2]
End Sub
My data in column B is formula derived and that formula contains data that is live updated data brought in from DDE link.
My question is, should I setup this formula as part of a macro, instead of workbook code and attach an Application.Ontime function to ensure reliable execution? Could too many IF statements cause delays (about 100 of them currently in the code Private Sub Worksheet_Change(ByVal Target As Range))?
View 1 Replies
View Related
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
Mar 13, 2014
Have been trying to set a chart here to autoupdate which normally is fine to do. In this case however there are other columns in the data table that run down to Dec 2014. Even if i define my needed range, the graph will show the full timeframe (with lots of unneccessary space).
I've attached an example. Rate % is the column that will be updated monthly and I would like the graph to only increment along when a new figue is entered here. I've defined this range as 'Rate' within the sheet.
View 3 Replies
View Related
May 21, 2009
Running XL07. Need to have one workbook pull data from several dozen others.
Have columns to the right that refer to the query table.
As I add in queries to other workbooks, the time to update each individual query goes up a lot; it feels as if the update time is increasing geometrically. I'm giving up after 2 hours, for query updates that used to take
View 9 Replies
View Related
Feb 20, 2008
I have the following macro which runs vlookups between two sheets in excel. Whenever i add columns to the range the vlookup column reference is not the correct cell. Is their any way I can adjust the macro so that the column number adjusts in the formula when a new column is added??
Sub template()
Range("C7").Select
ActiveCell.Formula = "=if(VLOOKUP(C6,'Project master'!B7:BG150,3, FALSE)="""", """",VLOOKUP(C6,'Project master'!B7:BG150,3, FALSE))"
'category
Range("c9").Select
ActiveCell.Formula = "=if(VLOOKUP(C6,'Project master'!B7:BG150,4, FALSE)= """", """",VLOOKUP(C6,'Project master'!B7:BG150,4, FALSE))"
'sub-category
Range("c10").Select...................
View 3 Replies
View Related
Feb 21, 2014
I need it to be like:
=B10 2014
(So the first part changes depending on what B10 is but the 2014 always stays)?
View 9 Replies
View Related
Jan 3, 2014
I'm trying to create an autoupdating price list using a part number and a website. I've tried Excel's data import wizard.
Website: WebFLIS - Public Search
Sample data Category
Chaplain Kits
Item
Chaplain's Kit, Consumable
NIIN
9925-01-326-2855
Price
$276.94
Description
Also called the ReSuppply Kit
VBA Code that allows me to automatically open the page.
Dim IE As Object
Sub submitFeedback3()
Application.ScreenUpdating = False
Set IE = CreateObject("InternetExplorer.Application")
[Code] ......
Ideally, I'd like to click a button that says "Update Prices" and it will search WebFlis for the NIIN listed and update the price. I have 717 items on my list so updating would be by click only (I think I can write that portion).
If that is not an option, I'd like to be able to click on each item row (think hyperlink) and be able to see the results for that individual item.
View 9 Replies
View Related
Aug 18, 2009
I am trying to develop an Indirect Indirect Validation drop down list. Example, Building - Floor - Room, i.e. Select Building from a Validation drop down list. Then based upon the Building selected, select only the Floors applicable to the Building Selected. I am able to achieve this via an Indirect Validation drop down. However, when I attempt to then select the Rooms applicable to the Floor of the Building I selected, I can not produce an Indirect Validation off a previous Indirect Validation.
In the attachment, I have used Plant - Location - Room. I have name ranged the selections, and have used Validations Lists for Plant, and Indirect Validations for Location. The error occurs where I attempt to do an Indirect Validation for Room.
View 3 Replies
View Related
Dec 11, 2013
I was wondering if there's a way to add a formula to calculate week over week % change automatically every week when I enter in new data. see the attached excel file for reference.
What I would like to have is the ability for the formulas in c5 and f5 to be able to auto-update to the newest week and the previous week's data instead of manually having to update it each week. So if I were to add a new row with data for week beginning 12/2, the formula in c5 and f5 would automatically update to calculate the week over week variance. I tried researching prior to asking the question on this forum, and I think it may be possible to do it using the index match function, but I'm not sure how to apply it in this case.
View 3 Replies
View Related
May 27, 2014
I have the following code:
[Code] ....
When I run the macro, some columns are already hidden. The macro doesn't seem to autosize cells correctly. For instance, one cell in a row appears to have some contents hidden (or below the reading area of the cell). In other instances, the rows are auto-size to huge heights and widths.
View 7 Replies
View Related
Aug 6, 2014
Applying my indirect formula to the rest of the cells in my sheet properly.
I am getting the values of cells in other sheets, using INDIRECT to use cell values to name the sheets. Here is an example of how the cells are now...
A
B
1
Sheet 1
=(INDIRECT("'"&A1&"'!$A$5"))
[Code] ....
The formulas in B1 are going to return the value of A5 in "Sheet 1" (or whatever value is in A1) and B2 will return the vale cell A5 in 'Sheet 2. The next line will be the value of A6 in Sheet 1, and the next will be A6 in Sheet 2 and so on.
So I have quite a few rows to get through I want to be able to autofill so it looks like this...
A
B
1
Sheet 1
=(INDIRECT("'"&A1&"'!$A$5"))
2
Sheet 2
=(INDIRECT("'"&A2&"'!$A$5"))
[Code] ......
As it is now, when I autofill, it autofills the Sheet name part of it. It is looking like this...
A
B
1
Sheet 1
=(INDIRECT("'"&A1&"'!$A$5"))
[Code] ......
Excel isn't intuitive enough to know I want to move cells in the referenced sheet.
View 5 Replies
View Related
Oct 9, 2008
=SUM(INDIRECT("'Sheet2'!$C$1:$C$5"),INDIRECT("'Sheet3'!$C$1:$C$5"))
These do not:
=SUM(INDIRECT({"'Sheet2'!$C$1:$C$5";"'Sheet3'!$C$1:$C$5"}))
=SUM(INDIRECT("'"&Sheets&"'!$C$1:$C$5"))
Where Sheets refers to =Sheet1!$A$1:$A$2
[A1=]Sheet1, [A2=]Sheet2
For the last two ONLY Sheet2 is summed, not sheet3
View 5 Replies
View Related
Apr 17, 2008
I have a sheet that needs to pull data from diferent cells and sheets at the same time. If I have to have all the data on one sheet I can change that as this sheet isn't in production yet.
On Sheet1 cell D6 needs to be able to get data from Sheet2 Cell C2 or Cell N2 or Cell Y2.
On Sheet1 cell F6 needs to be able to get data from Sheet2 Cell C3 or Cell N3 or Cell Y3.
While doing the above it this also needs to be accomplished.
On Sheet1 cell D9 needs to be able to get data from Sheet3 Cell C2 or Cell N2 or Cell Y2.
On Sheet1 cell F9 needs to be able to get data from Sheet3 Cell C3 or Cell N3 or Cell Y3.
Is Indirect able to do this or do I need to use something else? I am trying to do this without macros if possible.
View 9 Replies
View Related
Mar 18, 2014
As you would normally use indirect formulas so the cell references don't change. Which that is what I want in the end, but I need to copy them to an indefinite number of cells first and would like to not do it by hand. I have found some solutions to similar questions/problems but cannot figure out how to make them work for me. So, what I am looking to do is this... (I have also attached the spreadsheet for reference)
I have gotten the information in columns A through F on the first sheet to update as rows are added, moved, deleted on the second sheet using Indirect range. Also, I could do this for Column I (Copmleted Proj. Avg. Terminations) but I would have to do it manually (as I began doing in I3, I4 & I5) but that would be time consuming. So I am hoping there is a way I can copy the formula down the cells are updated for the initial copy but then don't update if the referenced cells are moved or deleted.
View 1 Replies
View Related
Jul 1, 2009
I have a long list of sedols and wish to download the last price for each on a limited range of dates (30 dates, hundreds of sedols). So I built my excel file to have the sedol running down a column and dates across the top, with the function:
=BDH($A4&" Equity SEDOL1","PX_LAST",DATE(YEAR($D$1),MONTH($D$1),DAY($D$1)-0),DATE(YEAR($D$1),MONTH($D$1),DAY($D$1)-0),"Dir=V","Dts=S","Sort=A","Quote=C","QtTyp=Y","Days=T","Per=**","DtFmt=D","DTS=H")
the cells are not updating automatically, even when I hit refresh.. the only way is to go into each cell and hit enter (not practical!).
The next problem is that it adds something like ("cols=1;rows=2") to the end of the function and copies down further than I want.
Is it the case that the Bloomberg functions just can't handle having the dates across the top and security identifiers down the side - or is there some work around?
View 4 Replies
View Related
Aug 28, 2013
I'm looking for a formula that would take the newest figure from a column in sheet A and update cell in sheet B. Every week it's going to be a different cell in a column in sheet A (always one below last week's) but the same cell in sheet B.
Basically I would like one cell in sheet B to show me most recent information from column in sheet A...
View 4 Replies
View Related
Jan 15, 2009
I am going to try to be as detailed as I can here:
I have been manually inputting the most recent "paid to date" field from one sheet to another within the same workbook.
There are about 20 different payment schedules for each deal. Each of these has their own sheet, and we will call this the "Deal" sheet. Some deals are paid based on a monthly schedule, some are quarterly, and others are annual.
The "deal" sheet looks like this:
Due Date Payment Payment Rcvd Remng Payment Payment Date
8/31/08 $10,000.00 $10,000.00 $0.00 08/1/08
9/31/08 $10,000.00 $10,000.00 $0.00 09/1/08
10/31/08 $10,000.00 $10,000.00 $0.00 10/1/08
11/31/08 $10,000.00 $10,000.00 $0.00 11/1/08
12/31/08 $10,000.00 $10,000.00 $0.00 12/1/08
1/31/08 $10,000.00 $0 $10,000.00
I want to have a macro that will paste the most recent "Due date" based on a zero value in the "Remng Payment" column. For this example, the most recent "Due Date" should be 12/31/08 because that is the most recent zero value.
I want to past this value in another worksheet that contains a report for all 20 deals. Lets call this the "Reports" worksheet. Each of these dates individual deals needs to be applied to its respective row on the "Reports" worksheet in a "Paid to Date column.
View 9 Replies
View Related
Aug 7, 2014
I recently found out about .xlsb, which is faster and file size.. (mainly using it for the improved speed)
Now I've changed all the files at work to .xlsb and now link them all to .xlsm files that i can use to update the links to pull the data from the .xlsb files and then run macros as i need to.
However... I am having some issues with linked cells not updating automatically? is this because if the .xlsb format?
1. my understand was that .xlsb is the same as .xlsx just XML limitations.
2. my excel is set to automatic but i have to manually force it to update (and in some cases need to repoint the cell to the cell in the spreadsheet again).
View 4 Replies
View Related
Jun 7, 2013
I currently have three worksheets and I'm trying to keep the data the identical throughout all three worksheets in cells B6-B9. I need to automatically update the same cell on the other two pages with the data from the edited one. Meaning if cell B7 is updated on sheet 2, that same data would be updated in cell B7 in the other two sheets, or if cell B9 is updated on sheet 3, that cells B9 on sheets one and two would have that same data.
View 11 Replies
View Related
May 14, 2014
I need to find a way of updating cells in two separate worksheets. The cell address can vary.
Right now I am using a "button" which when clicked updates the cell value by an increment.
View 3 Replies
View Related
Mar 2, 2009
I am currently using the following formula to count the number of colored cells that are yellow. Problem is, I can't get the formula
to automatically update when a new cell is shaded to yellow. I have to click on the cell with the formula, then click in the formula field
and hit the enter button. I do not have "manual calculations" checked in the options tab.
=SUMPRODUCT(--(colorindex(C3:C109,FALSE)=6))+(NOW()*0)
View 5 Replies
View Related
Apr 18, 2007
I am trying to write some code that will loop through the workbook (selecting all cells formatted as currency), updating the cell value and rounding to 2 decimal places. The updated price must be rounded as these prices are used in calculations.
The prices are not in a contiguous range and are in different cells on each sheet, but all within the range (“B1:V200”)
I need the user to enter the required increase I,e 1.05 (5%) in Price update sheet, cell “F6”, then run the code from this sheet (which will be the only sheet I do not want to run the code on, which will be the active Sheet)
This is the code I have so far
I don’t know if it will work yet as it errors out (Type mismatch) on this line.
cell = cell.Value * Sheets("PriceUpdate").Range("F6").Value
Sub UpdatePrices2()
For Each Ws In ThisWorkbook.Worksheets
If Ws.Name ActiveSheet.Name Then
For Each cell In Ws.Range("B1:V200")
If cell.NumberFormat = "$#,##0.00" Then
cell = cell.Value * Sheets("PriceUpdate").Range("F6").Value
cell = WorksheetFunction.Round(cell, 2)
End If
Next cell
End If
Next Ws
End Sub
View 9 Replies
View Related
Mar 16, 2007
I have inherited a very complex spreadsheet which has some very simple formulas. As I changed some of the variables I noticed that the cells with the formulas are not updating automaticaly. If I highlight the cell and then position my cursor inside the formula bar then hit return the cell with update. Is there a protection or setting that I am unaware of that controls this behavier?
View 3 Replies
View Related
Nov 14, 2009
I have a spreadsheet that has several formulas that update once all the values are inputted however I noticed that if I drag the formulas down the column, the cells does not update until I click the save button.
View 2 Replies
View Related