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 column of data that constantly changes in length and want this column to autosort the data alphabetically when the data changes. the list contains the names of worksheets
I then want to display in the next couple of columns data from the worksheets listed in the column. i know i can do this manualy by saying that that the cell equals sheet? cell etc but was wondering instead on putting in a formula of ='A sheet'!E20 i can put something where A Sheet is that uses the name in the column of data ?
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.
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 am tracking my sales interactions and am trying to link cells so when I update on one sheet it updates my last "customer touch" on a master sheet. Current formula-
On "sheet1" I selected a cell and used this formula... =sheet2!$b$7
The problem is that I want to keep a history of what was in that sheet 2 B7 cell so i insert a row (making B7 move down and become B8) and enter new info into the new b7. if I go back to sheet1 the formula in the selected cell becomes =sheet2!$b$8 I want it to stay to =sheet2!$b$7 no matter what I do... insert rows, delete rows etc...
in short what i am trying to do is have a cell in sheet1 show my last interaction with the customer and keep a history of in sheet2-infiniti.... with the caveat that my last interaction on sheet 2 etc... is listed first (thus the insert row)
I have created a macro that copies information from various cell on one sheet to another. When I run the macro the screen flickers about 5 times. Is there a way to stop.
I want to autosort by date (column I - dd mmmm yyyy hh:mm AM/PM format) in a worksheet which contains data in columns A:I of 15000 rows.
I want to know how to do it.
When i update/enters a data in a new row or present row, It has to be go according to date automatically(ascending)
I had already googled it and tried all avialable codes with all modifications. If someone help me would be greatful to me. I was new to EXCEL with some basics.
I have an excel report that is generated in another program every week. The report is not sorted by date and it may have 100 rows of data one week and 200 rows of data another week. My excel file has formulas that refer to this original report. I need those formulas to update first, then I need the information to automatically sort by date (column D in my excel file). I have tried to setup a script to run, but it's not working. I will attach the file and the script.
I need to find a way to autosort a series of numbers, inputted manually for example, in cells A1 through A15. The autosort function needs to put the numbers in descending or ascending (either way, doesn't matter) in cells B1 through B15.
In effect, if the numbers inputted into the first cells change daily, then the correct order of these be automatically sorted so that they are in a specific order.
The closest I can come WORKS, but I'm using about 300 filter formulas to do so.
i have a workbook with two sheets. lets just call them sheet 1 and sheet 2. on sheet 1 i have data for employees and their current wages and other info. on sheet 2 the data is for compensation scale on three separate columns.......
in order for me to automatically get the data from (sheet 2 B3) the formula for sheet 1 E1 would be: ='Sheet 1'!B3. how do i formulate the equation so that i can do ='Sheet 2'!(C1)(D1)?. in other words i want to specify the column and row from the values declared in sheet 1 column c and column d respectively.
I am trying find a match from multple "text" values.
The values I'm using are flight numbers from sheet "Indiv case" in column (range H2:H51). The flight number could occur multiple time in the column.
The associated flight number sheet "Code & categories" in column (range H2:H257) are associated with the last port of embarkation (range I2:I257) in "Code & categories" sheet.
I need to copy & past the name of the Last port of embarkation from sheet "Code & categories" into sheet "Indiv case" adjcent to the flight numbers in column (I2:I51).
Example: Sheet "Indiv case" from Column (H2:H51) Fligh number Data: UA863, VA4148, EK432, BA15, BA15, VA98, QF8, AC33 etc Using these value from "Indiv case" from Column (H2:H51) search and match valuse in "Code & categories" in column (range H2:H257)
If match found copy valuse from sheet "Code & categories in column (i2:I257) in to sheet "Indiv case" into column (I2:I51) Last port of embarkation".
H2;H257, I2:I257 Flight, Last Post 3k111, Singapore 3k131, Singapore AC33, Vancouver
Copy and Past "Last Port" into sheet "Indiv case (I2:I51) adjcent to matching flight code.
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,
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 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 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 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: