I have been having alot of trouble with a spreadsheet and have managed to overcome some huge hurdles until now, and I'm really stuck in a rut. If you look at my spreadsheet the main focus is on the Final Results page. I currently have the data in one sheet which I then autofilter to find out the percentage rejection :- For example select Grower (Grower9), Product (Lillies Stores), Variety (Orientlstd). This the shortens the list to about 14 items which I then work out by hand.
What I want to achieve is on the Grower Summary page, to work out the overall percentage of rejection I.E. = (Sum of data matching critera in Row F / Filtered data of Sum of Row E) * 100. The next problem I have then is I want to be able to do it quickly / automatically based on the content (It doesn't have to autofilter on this sheet, it's just like that to make my life easier at the moment), so it will work out all of the growers / products / varities and put them onto a seperate summary page for each grower. See the attached sheet!
I have been working on a macro that compares a existing list of data to an updated list of data and then either moves any data not on the new list over to a completed tab (followed by deleting the record on the existing sheet), and then adds any items not on the existing sheet, but which appear on the new list, to the existing list.
I have come across a stumbling block, i have managed to identify on the existing list the rows of data that have been removed from the new list and therefore need to be moved over to the completed tab, but when i select the data it selects the header row aswell (which will always remain the same row). Obviously this then pastes the header row aswell, and also i can't seem to get it to paste in the new sheet to the next available row (i.e this will be used daily and i don't won't to overwrite the infor already in the completed tab). the next issue i have is then when i go back to existing sheet to delete the data i just copied across, as the header was initially select this also gets deleted.
The code below, is the complete code, including filtering, copying some forumals etc. The area i am getting stuck on is highlighted in red:
Sub Update() Dim bottomrow As Long Dim My_Range As Range bottomrow = Cells(Rows.Count, "C").End(xlUp).Row Set My_Range = Range("A1:Y" & bottomrow)
I would like to calculate the date but depends on how the information is scattered. In the first coloumn I have a set of dates, in the second coloumn I have a list of letters. I would like a macro that reads the the letters, and as they disappear calculate the time interval. For instance,
01/01/2002 B,C 02/01/2002 A,B,C 03/01/2002 C
So it firsts starts off and sees that the letters are B and C are there to begin with, then it moves on to the second row and then sees that the letter A has been added. Then to the third row and sees that there is only C so A lasted for 1 day (was there on 02/01/2002 and disappeared on 03/02/2002) and B lasted for 2 days (was there on 01/01/2002 and disappeared on 03/01/2002).
I have a list of data entries. I use auto-filter, to view them according to which category they belongs to. However, when I wanted to sum just the quantity associated with the criteria which I am filtering, I couldnt find a formula which does that
I'm trying to do is copy filtered data. I select my column and copy it, filtered, no problem. But then my code bugs out when it tries to copy the next column.
If Sheets("CT Summary"). Cells(4, 6).Value = "P1264" Then
Sheets("Mam Roll-up").Activate
'Copy CEID's.
Range("L4:L134").Select
Selection.SpecialCells (xlCellTypeVisible)
"Selection.SpecialCells (xlCellTypeVisible)" works in the first block, but bugs out on the second.
I have designed a Macro to use an Advanced Filter to search for specific criteria in different columns. I would like the results to bold or highlight the cell if it meets the criteria for the advanced filter. There are multiple numbers in each row that are associated with each record, and I would like to be able to see which of these triggered the filter to work for that row by bolding or highlighting the individual cell.
I have created a userform that allows input of information and then deposits the information on a specific sheet. I am looking for a way to have that information not only deposited on the specific sheet it is already set to but also to another sheet based on a selection made from a combo box.
I am needing to disable 5 worksheets from being calculated under the 'AutoCalculate' default option of excel. Currently, I set all 5 sheets' .enablecalculation property to false (see code example below), then save the workbook. This should prevent these 5 sheets from being calculated when the workbook is opened again - however these sheets are still being calculated with excels default 'Auto Calculate' setting once the workbook is reopened.
My issue: While having 'Auto Calculate' enabled, how is a sheet disabled from being calculated upon opening?
Current method of disabling worksheet - does not work tho.
i need to get some information (price) automatically put into another cell when an item from a drop down list is selected, i have attached a workbook to show what i need to do,,,basically if i choose an item from a list in cell a1,,i want cell b1 to show the price of the item,,,and the item is referenced from sheet 3 as well as the price.
I want to use a drop down box to pick a name and then when that name is entered to automatically fill information such as email address, phone number, address into a spreadsheet similar to auto complete that are on many web sites when you purchase from them often.
Is it possible to copy data that has been filtered on one tab into filtered data on another tab? I've attached an example, i'm trying to copy the values from column C on the 'From' tab to column D on the 'To' tab. I think the data is always going to be an exact fit in terms of the number of cells copied from and to.
look at the script im running in the attached spreadsheet. It auto generates an email to the email address in c so long as column H has a yes in it. However there are things i would like to change. I would like it to say: contact xxx to discuss your outstanding resource center loan titled: {then put the title of the load in here - column E} which was due back on {then put due back date here column G}.
If I make a selection using a drop down, can I have it auto populate another cell with information associated only to the made selection? For instance, if I select January from drop down in A1, I want it to auto populate B1 with 100.
I am trying to format a cell so that it auto populates with information from a hyperlink. An example is that I want cell E2 to equal the cell B9 from a hyperlink. To make things more complicated I want all of column E to equal cell B9 but from each respective hyperlink.
I have a main spreadsheet that I am consistenty adding information to. The columns are : Company name, Contact, Territory, and Status. The main spreadsheet is titled "Main". I want 5 additional spreadsheets in the same workbook that are automatically pulling information from the "Main" spreadsheet, and populating the appropriate spreadsheet . For example...I have 500 entries of different companies in "Main". All of these companies are either categorized as "North, South, East, West, Offshore" in the Territory column. So, I would like my workbook to have 6 tabs...one "Main, North, South, East, West, Offshore." As of right now, I am Sorting the column, then copy and pasting into correct spreadsheet manually.
I have a 5000 line table I am filtering by a few columns, and I'd like to calculate an exponential trendline value.
=INDEX(LINEST(LN(R1059:R1167),W1059:W1167),1)
But I actually don't want all the values from R1059 to R1167 - I want to select only the displayed values (R1059, R1068, R1077, etc). Is there a way to select only display values to use in a formula? The problem is it would be a lot of manual work to select them all - there are 50 or so instances I would have to select 13 manual values.
Within a data validation selection, are you able to do both Auto Complete and Auto Delete? I have this posted at another forum [url]but have not been able to find a solution (a copy of the file, test. zip is there as well). I am not sure it is possible, or, at least I have been unable to get it working. I can do each, but not both.
I have been trying to find a way to sum up/only show the filtered data in a sheet.
i want to beable to filter the data by year and then only show sum up the data shown not the entire column, is there a formula that will let me do this?
I have a pivot table with multiple supervisors and emloyees, I need to be able to find the average of a supervisors department and compare it with an employee with the employee seeing everyone else's data.
I don't have access to the original data that drives this pivot table. Is there some way I can use a calculated field to contain the average performance of all the employees under this particular supervisor?
In Worksheet A I have hundreds of Rows... Column 2 has a Type in it and not all rows will have a type and then there are various data elements in column 3, 4, 5 and 6
What I would like to do is in a worksheet B have a formula on each of the cells on a row that would look to worksheet A and would find the first row to match the type value in column 2. I would then want to lookup the value of column 3, and 4, and 5 and 6. Then in worksheet B, the next row the formulas in the cells that would also match type and would continue with the NEXT row in worksheet A that matched the type and again retrieve the appropriate cells. It would continue stepping through the rows of worksheet A until I had all of the now displayed in worksheet B
Basically I want to built a subset of worksheet A into worksheet B using the value of the Type column in worksheet A.
I suspect I am going to need to use multiple forumulas nested together in some way to achieve this.
Is it possible to filter a top * for already filtered data. E.g, i have sales people each having their total sales per month , what im trying to achieve is when i filter for only 1 person i want to get the top 10 sales months for that person.
I'm attaching a sample workbook which contains two sheets. The 1st sheet is titled "2008" which contains sample data in various columns & rows. The 2nd sheet is titled "print data", which at this time just has a similar, but less titles than on the sheet "2008". What I'm trying to accomplish (if possible) is when data is filtered on the "2008" worksheet, that the data will appear just as it is viewed on the "Print Data" worksheet. In a sense I want it to mirror the data on "2008". The "Print Data" sheet contains a lot less columns of information, which typically is not needed for written summary reports. I'm trying to minimize the amount of paper when printing, etc. I'm just not sure how I can accomplish this task without some type of macro or vba code.
I need to place the cursor into the first row of a filtered list, column A.
For example, I have a list from row 6 through row 4500, columns A through AB I've written the macro to set the autofilter on and apply my selection criteria. At this point, in this example, the first row of filtered data (below the header row) is in row 3083. I need to move the cursor to cell A3083 and then type in a formula.
I'm struggling with a function I wrote that I intended to filter out the blanks in a column, then only copy the results that aren't blanks to another sheet. The code below copies all data which I don't want. I know I need to be more specific in what range to copy, but I've tried various things but get compile errors. Code: Sub createMaterialRequisitionButton() Worksheets("Material List").Range("$A$19:$E$500").AutoFilter Field:=1, Criteria1:=""
'COPY QUANTITY TO MATERIAL REQUISITION Worksheets("Material List").Range("A19:A500").Copy Worksheets("Material Requisition").Range("$A$12").PasteSpecial Paste:=xlPasteValues End Sub
I need assistance to create a formula that combines SUMIF and SUBTOTAL. I have created a SUMIF function for a long list of data for approximately 45 staff based on a type of errors.What I would like to do is use the filter by staff id. For example, when I use the filter to choose John, the SUMIF function does not calculate only for John but it still shows for the entire staff. Is there any way I could combine SUMIF and SUBTOTAL so that when I choose a certain staff from that long list, it will calculate accordingly.I have attached a simplified list of the spreadheet. What I need is when I filter by staff ID, the summary for error type and summary for errors by step to change automotically.
I created a complex spreadsheet with AutoFilter. For each transaction recorded, the info consist of 4 rows per transaction. When I click the the filtering drop down, the result return with the single line. Is there a way that I can have the results return in group 4 rows? I merge the 4 cells in the first column but it doesn't work the way I want it to.