I have set up a spreadsheet with a drop down box. Which says "Show All", "Show Pending" and "Show Completed" This is in Cell H7
Below that I have a table of information from A10 to I1200. These are a list of jobs
In column I is the date the job was completed, if it has a date the job is done, if it has no date its still pending. I wanted a macro that meant if you click on Show all, all jobs show, if you click on Show Completed on the jobs with a date in column I show and if you select Show pendning only the jobs without a date show
I did try this by recording a macro but failed miserably
I have created a macro to filter results from a set of data, paste that data to a new file, and then create charts based on that data. Right now, my macro is basically multiplied 20 times to do this for each heading. Is there a way to create a loop that will just redo the same macro but for the next data heading? Here is a sample of the first part of the macro:
I have a very large spreadsheet that is run by a different department. Regularly, I need to go into it do the following:
-filter the sheet by the information in one particular column - - the column is always the same but the number within it by which I filter changes as needed -double-click each column to autofit the columns -go to the page break preview to make the document fit one page -print the results.
My question is can I automate this somehow with a macro or something else?
I am currently writing a macro that does a variety of things, one of these being that it automatically sums up columns I,J and K. The dilemma I have is that I need to be able to see the sum of the data in a cell at the bottom of the column, after manually filtering it according to what I want to see.
I have the following macro so that we can use the outline feature without having to unprotect a sheet.
Private Sub Workbook_Open() With Worksheets("Schedule") .Protect Password:="APQP", Userinterfaceonly:=True[code]....
However once the macro is run, filtering will not work without unprotecting the sheet first. If you choose not to run the macro, filtering will work without unprotecting the sheet however the outline feature will not. what I need to add and where to make both the outline and filter features to work without having to unptotect the sheet?
I'm trying to write a macro that filters a table via textbox (criteria), specifying the column to filter through a combobox. I managed to get it to work with every format (date, text, etc.) except with numbers. I'm attaching the file so you can take a look at the code.
If I have a column containing numbers but the cells have text format and I reformat those cells to numbers (using points to separate thousands [I'm from Venezuela, we use dots, not commas]) the results aren't visible unless I modify each cell individually. How can I avoid this?
Lastly, I'm using a macro that I found online that sets invisible shapes on each cell of the header and asigns another macro to these shapes to sort by ascending or descending order in the column over which the shape is put. I made some changes to the macro that actually sorts the values and it works fine, but sometimes I have to resize the shape (on the left side) so that it's further inside the cell or else I'll get an error.
EDIT: It doesn't work with dates either!
EDIT2: I tried copying the table and the codes to a new workbook and now magically it works with numbers, but still not working for dates. Also I'm still having to resize the invisible shape (only in header of the first column ('C')) and the changes in format still aren't visible unless I modify each cell. I think this last issue has something to do with 'SortOneTime' macro or the 'Ordenar' macro because it happens after I run them.
I have a pivot chart, filtering data from a pivot table, the problem I've got stuck is that every time I filter the chart the colors and weights of the chart change to default values, not what I want, I've managed to every time I click on the pvt cht tab it updates with the colors and weights I want, but when filtering I don't know how to do.
I am fairly new to macros and I am currently working on a project where I would like to create a 2 buttons which will filter by date and by owner. The spread sheet I have is fairly large and is added to weekly.
I have two objectives that I am trying to reach:
First I need to filter for all past due task items from the Thursday of the week I am working in back and for a specific person (owner) by the finish date
Second I need to filter for upcoming tasks one week out for a specific person (owner). The objective of this is so that on any given day a user can find any upcoming tasks that are due one week out.
If this is not an option. My thought was to create an input box where the user can input the date and the information on the spread sheet will pull all past due items or upcoming tasks. These two items need to pull seperatly not together.
I know I can create a macro by autofiltering by columns however I am trying to avoid having to go in and change the date each week.
Start date is column E Finish date is column F Owner is column L
I have a very big Excel file (62 MB). I need to be able to filter by one column (FACILITY) and sort the whole file using the (REGISTRATION NO) column as well as finding the missing sequence number in the (REGISTRATION NO) column. The problem is that the (FACILITY) column has more than 200 different facility name. I am thinking of macro as I have different Spreadsheet I need to do the same steps in each one separately.
I have attached a copy (example from the data that I have) .
I am having an issue filtering data in a spreadsheet:
Each set of information has 5 lines of information (title, information, manager, status, sponsor) and the first column of each data set is a merged 5 row box with the area of operation (this does not have to be merged if this is creating the issue). I need to be able to filter by area of operation and have all 5 rows showing. Right now, Excel only shows me one row for each set of data with the area of operation as one row.
I have a spreadsheet with Row 1 as the header and Row 2 as sub-headers. I want to filter automatically to 2nd row, but whenever I press on Ctrl+Shift+L, I have the first column filtered. I have another spreadsheet that whenever I press Ctrl+Shift+L, it automatically filters the 2nd row instead. I'm not pretty sure what's the difference. I have my spreadsheet frozen on cell B3 (not sure if it has something to do with freezing cells. I know I can select 2nd row before pressing on Ctrl+Shift+L, but is there some other way to have this automated?
If I give excel the advanced filter criteria <=2/15/2008 it seems to list all the dates prior to and on that date. Are there any pitfalls to this filtering technique (i.e. would any dates fall through the cracks)?
So if I filter by AREA and/or YR, I would like the % of how many were 'Approved' in that filtered range (ignoring any blank cells in the DECISION column).
So far I have a basic =TEXT(COUNTIF(C2:C6,"*Approved*")/ROWS(C2:C6),"0% ""Approval Rate""") but it doesn't work once I filter by AREA or YR, and doesn't ignore blanks.
I'm quite newbie for VBA for excel, my friend asked me a favor to filter the data on his excel, so when he enter some keyword, the table would sorted (only show the row that have that keyword), and if possible that he enter it few keyword.
A1 - Is a dropdown which will have names of the systems (EAI,Mediation,CDF ..,All)
Row2 will be header which will have following data
B2 - Project Id C2 - System ID D2 - Project name E2 - Project Phase F2 - Status from g2 to GN2 there are about 60 resources names entered
From C3 to F3 the data wil be entered and appropriately a chk mark will be made to the corresponding resource wroking on that project
Say i have about 10 systems provided as dropdown for entering data in A1 (Ex: EAI, MEdiation, .....) There are resources working for each system
when i apply filtering on a system name i shoud be able to show only those resources working for that system and all others should be hidden
Also under the "system" dropdown i will have an option "All", when "All" option is selected i should be able to see all the data for all the systems.
EX: if i take system "EAI" and if the resources working for eai are there in AO2 to AX2 then i want the resources from AX2 onwards and before AO2 not to be shown.
If i take a system "Mediation" and if its resources are from Z2 to AI2 then i want resources before Z2 and after AI2 notto be shown.
If "All" option is chosen then i should be able to see the whole sheet with all the data for all the systems and all resources.
I have a filter that works in Excel 2007, and I'm trying to figureout how to make it work in Excel 2003. OrderNums is an array of multiple criteria. The below code works perfectly in Excel 2007.
I've filtered my data - such as selecting a date range - and then run the pivot, but the pivot ignores the filter and gives me data for all the dates. my workaround is to copy and paste the filtered data to a new sheet and run the pivot off that sheet. This works fine, but maybe I can avoid this step?
I have a worksheet with data in named tables on several sheets. Each of these tables has a column called "filter" (this is not always the same column number between sheets). The values in this column are either 0 or 1, depending on if that particular row is relevant under the book's current selections.
I'm trying to figure out the code that will take a table and filter it to show only the rows which have a 1 under the "filter" column.
I have a sumif function in a cell which adds values from a table from another sheet. When I apply a filter in the table, the sumif still includes the invisible rows. Is there a simple way to add only the visible rows with a function based on a criteria like with the sumif. i.e. after certain rows are not visible, still a further slection has to be made base don another cell in the same row.
I have a worksheet with about 1000 entries and I have this is column F so it can sort out all Euston entries into 1 block. =IF(E1="EUSTON",0,1) What I need to do also if it is possible all entries in column B end in even no's it sorts it out into the block that Euston is in and if their odd no's they go into the other block. Dont know if I can add to this or need something else.
I have a list of addresses (including street numbers and names), but want to select out addresses that match another list of street names only. I have only used vlookup before, but because one list included street numbers as well, I can't find exact matches.
I've been trying to write code to filter a list of date base on day of week (Mon, Tue, etc)
My problem is that i can't find a way to code the filter criteria... since the date does not contain any week of day constant. i don't want to create another column in my sheet to show the week of day constant and filter this instead.
Here's my not yet finished code...
Sub DayOfWeek() Dim sAnswer As String Dim bWkDay As Byte Dim loMyData As Range Dim iFilterCriteria As Integer Dim Dateserial As Integer Application.ScreenUpdating = False
sAnswer = InputBox("Please select day to display data (first 3 letter of the day, eg. mon)", Title:="Select day to display")
I have a simple excel sheet and two of the columns show a Due Date and a Received Date. All I want to do is highlight any cell in the Received Date column where the Received Date is greater than the Due Date. The spreadsheet shows Purchase Orders and shows when they were due to be received and when they actually were received. i'd like to be able to show all orders that were received past their due date.
I hav a 2 columns. Column A contains data for 2 engineers, "paul" and "john". Column B contains the hours they work each day for a month.
i would like to filter "johns" results and find out how many hours he works in total. i do not wish to use the autofilter, is there an easier or quicker way of filtering it???
john 11:03:08paul12:04:09john 15:11:44paul18:09:00john 05:34:24
Is there a way to filter my data with the combobox and have the listbox reference the filtered data directly?
I am populating a listbox from a rowsource, housed in a sheet in my workbook, the sheet in my workbook is populated from another sheet that is filtered by a combobox selection and pasted to the sheet with the rowsource range.
My listbox is a multiselect with 5 colums and columnheads, named ListBox42
The sheet with the data to be filtered is named Building Material
Building Material is filtered in column “M” with a color
With ComboBox24 selected name: Names “M1” which activates the color down the column for filtering.