For a project, I need a way to automatically have updated stock values in a worksheet to work into various other formulas. I tried the HYPERLINK formula to the individual stock reports, but it wasn't specific enough to simply get the current value of the stock. Is there a way to narrow that formula down to get only that number, and still have it update every time I open the worksheet?
I have two problems with my PivotTable: 1. My PivotTable consists of a constant number columns and varying number rows, eg.......
The dates (with data) should continue to update as I add new date records to the source datasheet, but they don't. I try the refresh option for the table, but it only updates for the dates that it was designed for. I also have automatic updates set, but so far nothing is working. I have to rebuild the PivotTable each day after I add new data...
2. Second problem are the date labels on the rows. I need to have them include the literal day of the week such as Thursday 01/01/09 Friday 01/02/09
Another less urgent problem that I would like to solve is that I have included additional percent calculations for the total column that I am having to rebuild each time. Can that be included in the PivotTable as well?
I have created a stock sheet on Sheet1, i have say 100 items and each item has a min and max stock order. Once the item hits a min low, the last cell (O) will display an order needs to be placed.
I was wondering if there way a way that on sheet2, it can calculate all the data on sheet1 and if there is stock that needs to be ordered, it will appear on sheet2?
This way i can just print sheet2 and send it to the supplier without having the entire 100 items displayed -if it does not need to be ordered?
I have a series of cells that can be auto filled based on the initial response in cell B8. For example, if cell B8=ABC, then cell B22 should be auto filled with 123, and cell B24 should be auto filled with Yes and cell B56 should be auto filled with the word Hosted.
I have a list of staff on a worksheet, indexed and shown in a drop down list. I also have another worksheet with the same list of staff listed against various tasks. For example:
Sheet 1!Column A:
John Jack Jane Jo
Sheet2!Column A:
John John Jack Jack Jane Jane Jo Jo
Sheet2! Column B:
Throw Catch Throw Catch Throw Catch Throw Catch
What I need to happen is that when I update Sheet1!Column A with new members of staff, the array in Sheet2!Columns A&B automatically updates
New to the board: I searched the forum looking for a way for a spread sheet to do an auto update without hitting the F9 key. I have a sheet with external data which updates every 2 seconds that we moniter and I was tried of having to update the sheet every minute or so. I found this code within the forum.
Sub startme() Application.OnTime Now + TimeValue("00:01:00"), "this_program" 'calculate every 5 seconds change to suit End Sub Sub this_program() Application.SendKeys "{F9}" startme End Sub
Then code works great...but when this sheet is open and in autoupdate mode all sheets that are open also start to update. I tried several things from the help section of VB, like adding a +sign to try to make the old shift/F9 update which only updates the sheet you are on. Nothing I do seems to stop all the sheets from updating.
I think there is probably a simple fix to this and I hope someone might lead me in the right direction.
I have two workbooks with links between them. When I mail them to a colleague, he saves the work books in a folder, but when he opens them, there is popup message to update the links, and the data on the sheets still refer to their previous location on my pc. How can I change them to the new location without having to setup all the links from scratch again?
I want to type status update for an action - then when I press enter it should automatically as soon as I press enter:
- cut the text I typed from the cell leaving it blank - move to the target cell (its in the same row) and "add" that text string (with a date stamp added) to the text already in the target cell.
Every day I type an update against the action in the first cell - and I press enter - it should copy that text into the target cell.
That way I have a complete history of updates against the action with date stamps.
Sounds pretty simple but I don't know where to start.
Example of a simple worksheet attached : Tracker.xls
I have a macro that opens many excel documents. I used the application.screenupdating to turn off viewing these excel documents opening unfortunately they are still viewable. I counted the number of trues and falses in the module and there are 4. I believe the 2 pairs are unrelated. I keep both subs in the same module since they share functions.
I have 4 collumns: Location//S-1//CSM//SCO I want to enter in the location in a drop down list, which I know how to do. The thing I'm trying to do is when the Location says To S-1 for example, the date that it is changed "To S-1" the collumn under S-1 will post the date. When location changes to CSM, it will put that day in that collumn, etc.
My issue is that if I use the NOW() or TODAY() function in an IF() then it will update evertime I reopen the file. So the dates won't stay fixed. So if I change the Location to S-1 on the 12th, open it again on the 13th... it will say the 13th not the 12th.
I have a macro that I use to keep other worksheets updated with current codes and whatnot. The macro opens each workbook in the directory and updates the worksheets. It works fine except that it's only updating 1 sheet within the workbook (whatever sheet is active). I need help actually cycling through ALL the sheets in the workbook. There are 7 worksheets in each workbook. The code I need help with is in red.
'===================================================== 'CODE BELOW IS USED TO UPDATE INSTRUCTIONS SHEETS. '===================================================== Dim FromBook As String Dim ToBook As String Dim ToSheet As Worksheet Dim SPDir As String
'-Code to loop through files in directory. 'On Error Resume Next ToBook = Dir(SPDir & "*.xls") While ToBook "" If ToBook FromBook Then Application.StatusBar = ToBook Update_Data ' subroutine below End If ToBook = Dir Wend '-- close Range("A1").Select MsgBox ("Sheets Updated.") Application.StatusBar = False Application.Calculation = xlCalculationAutomatic
End Sub '===================================================== 'SUBROUTINE TO LOOP THROUGH FILES AND COPY CODES. '===================================================== Private Sub Update_Data() Workbooks.Open (SPDir & ToBook) For Each ToSheet In Workbooks(ToBook).Worksheets ActiveSheet.Unprotect "Password" Update_Column_Fields 'Subroutine to copy codes (not shown here) ActiveSheet.Protect "Password" Next Workbooks(ToBook).Close savechanges:=True End Sub
I have two worksheets, one that I update information on and the other which just basically points to that information. The second one is for viewing by a different department and has an 'Autofilter' applied so they only see certain information. This works fine as such until the data is changed in the first worksheet, at this point the 'Autofilter' doesn't automatically update, I have to take the filter off then put it back on again.
Is there anyway to ensure the autofilter updates automatically or is there an alternative way of doing this,
I am working on a resource model for my company. Essentially it is a list of contractors in the company with their daily rates and start and end dates. I have attached a sample spreadsheet. As you can see, all the information has already been populated with the cost of each contractor per month (formula used - daily rate*18.8 [days worked per month]). Now what I need to do is make the spreadsheet dynamic so if for some reason a contractor end date is changed (contract terminated earlier or contract has been extended) it needs to be reflected on the cost per month columns.
As an example, on the first row the contract period is from Dec 08 to June 09. If it is decided the contractor is now only needed until Feb 09, I need to have that automatically updated so all the figures are deleted in the March, April, May and June columns. Second example, on the first row if the contract period is from Dec 08 to June 09. If it is decided the contractor is now needed until July 09, I need to have that automatically updated with his monthly cost assuming the contractor has worked full time for that month (18.8 days).
I coordinate nearly 200 volunteers for a small non profit using excel. I use excel to keep track of all volunteer information as well as for scheduling shifts. Currently I'm looking for a way to show what the most recent shift a volunteer performed was.
All of this information is kept in different tabs in the same document.
In the "Volunteer" tab you'd find all of the information for the volunteers: name, phone number, email address, number of shifts they've completed, etc.
In the "Shifts" tab you'd find the information for each shift including: Shift Date, Name of Volunteer, Location of shift, etc.
I'd like to find a way to show in the "Volunteer" tab what someones most recent shift was. The only way I've been able to think of would involve a ridiculously complicated series of =if() statements, which would be more hassle than it's worth.
I would like to start by thanking all the people who have got this code to where it is now. There is no way i would have go here withough you.
For those who dont know im trying to get Andy Pope Picture Viewer into a Userform.
There are still some issues, The Listbox on the form needs to conncet with the Graph to move the pictures like on the sheet. And the Code for the Input picture from file or scanner needs to be embedded into the msgbox.
Also the Pictures need to be inseted into the graph when a new picturs is added.
A sheet containing all the daily tasks, and according to the tasks that I need my employees to work on a particular day I write YES in the column. The cells that have YES marked next to them are then reflected in a new sheet with the following formula:
=IF('PLANNING CELLS (P)'!C12="Yes",'JOBS LIST CELLS'!C12,"")
Obviously the formula is different for every cell.
The issue with this is that if i have a list of 50 items and i select only 10 (Marked yes) I have a lot of blank spaces in the new list. I need to remove these blank spaces from all columns automatically whenever updating. Is it possible?
I have a formula in one of my sheets that updates each time a new value is entered...
=INDEX('HR Reports Marco New'!BI:BI,COUNTA('HR Reports Marco New'!BI:BI),1)
The issue I'm having is that Column "BI" has an =SUM formula already in it and the formula above is going to the last value which is 0 but all the way to the end of the year when we are only in July...
Is there anyway of getting an "Active Clock" in a cell. I know the =now() thing, but this is not what I am looking for, I would like to get a clock that updates by the minute, without having to select a cell, or make excel do a calculation.
Having trouble getting a formula to work that will lookup a site number and count the number of times the site has a particular type of visit. For instance:
Site # Visit 1001 Active 1001 Active 1001 Discont. 1001 Screen Fail 1001 Active 1002 Discont. 1002 Active 1002 Screen Fail 1002 Active
I want a formula that will return the number of active instances for each site, like:
The following formula is in cell A3: A3=IF(A2="X",A1+365,""). Rather than A3 displaying only 1 year, I would like for it to update after that day occurs to =A1+730, and then A1+1095, and so on.
Is it possible to have a workbook (1) with a list on it and another workbook (2) which has a dropdown list on it that shows the list on the 1st workbook. But when a new entry is made on workbook (2) it is added to the list on workbook(1)
I've a workbook with a couple of worksheets in it, where one worksheet has a column of data where I want to link the data into a row on another worksheet, however I'm having challenges and really can't work it out.
I can drag the formula as it just copies to a row - I've tried transposing it but it goes to totally different cells which I don't know why.
Its a phone number directory. the data is retrived based on nickname. when a nickname is selected, its phone number and details will be updated in the textboxes ... example: tony (in A2) is selected from the combobox, his phone number (in B2) and details (in C2) are updated in the textboxes.
I want create something (a macro), maybe ending in a button to activate or desactivate the update (relatively) of the charts and relative cells in one of various sheets i use!
I created a macro that inserts a new worksheet to my workbook and formats the sheet when I push a button on a summary sheet. Everything works except I also want the macro to link information from the new worksheets (formed by the macro) to the summary sheet. But I want to same information from the same cell on each new worksheet to be put into a different cells next to each other on the summary sheet but I don't know if this is possible.
I have created an excel application using VBA that is posted publicly on a website and currently being downloaded by users around the world. I would like doing either of the following:
1) create a simple way to keep track of who has downloaded the application (e.g. is there a way to have people register with their email when they open the program for the first time?) so that I can send a mass email whenever a new version of the application is available
OR
2) be able to automatically send a notification to users when an update to the application has been made (e.g. is there a way to tap into Microsofts' update notification system so that it automatically updates the application for users with internet connection?)