Setting Up Column Filters In Excel?

Aug 14, 2012

setting up filters or sorting for different columns in excel.

I am trying to make a database for my research. At the moment my cells look like this (this is just and example, the real list would be much longer):

Source
Policy

IEA WEO
RE Policy Global

IEA Clean Technology Tracker
RE Policy China, US

[code]...

I would like to put a drop down menu that allows me to search my sources. For example, I want to find 'IEA' in the 'Source' column and only entries with 'IEA' in the title pop up. Or I want to find 'Wind' in the 'Policy' column and only entries with 'wind' come up.

View 2 Replies


ADVERTISEMENT

Advanced Filters - Having Multiple Filters And Conditions (Unique Count)

Jun 7, 2006

I have a problem with the attached spreadsheet. I have certain letters (A,B,C etc.) that are shipped to various regions. I would like to have a count on top to count the total number of orders, but one that also counts the total number of unique orders. However, this unique count has to be dynamic and must be able to adjust accordingly to the filters (by default, if no other filters are applied, should be 15). For example, if I apply the "Ship To" filter to Canada, the total number should be 19, but the unique count should be 12. If I change the "Ship To" filter to US, the total number should be 9, and the unique count should be 7. I've tried to use the advanced filters but if I apply the unique entries filter, it is only a one time calculation. Also, the advanced filter gets rid of my other filters.

View 5 Replies View Related

Excel 2010 :: DAX Calculate With Two Filters

Dec 24, 2013

Using Excel 2010

How can I use 2 filters in DAX Calculate?

I tried

MyCalc:=CALCULATE([MyMeasure], Filter(Tbl,Tbl[Field] && Tbl2,Tbl2[Field2])) It works with 1 Filter : MyCalc:=CALCULATE([MyMeasure], Filter(Tbl,Tbl[Field])) Just falls down when I add the second filter.

View 7 Replies View Related

Excel 2007 :: How To Apply Filters And Export A New XML File

Apr 5, 2012

I have an XLS file that gets data from an imported XML file. I need to apply some filters and then export it in a new XML file. I'm trying both "Development->Export" and "Save as->XML Data" procedures, but it always saves all data in the XLS document, not only the filtered. How can I obtain a new XML file with only filtered data???

View 9 Replies View Related

Pivot Table - Use Same Column To Get Criteria Based On Different Filters

Aug 21, 2012

I'm trying to make a pivot table that can compare sales based on the whatever month/year/salesman combination I give.

Ideally, I'll be comparing the sales data for 3 seperate months. Can I make a pivot table where I can make different filters apply to specific columns?

View 1 Replies View Related

Excel 2010 :: Macro To Return A Table Of Active Filters

May 29, 2013

I've got an old Excel sheet with Stephen Bullen's function for returning the active filter criteria (Rob on Programming: Excel: Displaying Autofilter Criteria). My status sheet may be filtered in multiple ways, and when the user is happy with the filter selections, she can create a powerpoint file with a graph and a summary of the filtered table. As we are using Excel 2010, users are very likely to select more than two filters.

Example: Range A1:E100 has the following headers: Field, Installation, Project,Type, Phase.

The controller wants to filter on:
Field equals north or south or west Phase equals completed
The manager for Field South wants to filter on:
Field equals southType equals maintenance or repair or modification Installation begins with Zeus.

As the filters are not shown when I copy the table to powerpoint, I would like to create a summary of the user's active filters that is pasted into a sheet (for subsequent copying to powerpoint). For the users in the example above, that table would look something like this:

Controller:
Active filters
Field: north, south, west
Phase: completed
Manager, Field South:
Active filters
Field: south
Type: maintenance, repair, modification
Installation: Zeus*

I've looked at various functions intended to take Stephen Bullen's code into Excel 2010's multiple criteria world (e.g. this: User Defined Function to Display AutoFilter Criteria for More Than Two Criteria in Excel 2007 / Excel 2010), but I have not been able to convert it to a functioning macro.

Any code that could be used for this sort of task, or any tips for relevant code?

View 2 Replies View Related

Excel 2010 :: Extract Hyperlinks Using Advanced Filters Using A Table

Jul 4, 2014

I'm creating a database that contains a columns of hyperlinks and background color.

I've created code on Excel 2010 with advanced filters to copy selected rows to another worksheet. The extract works fine and those cells with hyperlinks and various color codes from the original database "appear" to have been extracted correctly.

However, a closer look shows the hyperlinks on the target worksheet are just blue underlined texts...with the links no longer working. Is there a way for me to correct this?

View 9 Replies View Related

Formula To Calculate Number Of Unique Values In A Column With Filters

Jul 9, 2014

I have a file with a column containing a series of records where a reference number can be repeated several times. I want to create a formula that will count the number of unique reference numbers in the column.

However - and this is the tricky part - I need it to allow for when the report is filtered, i.e. something like a SUBTOTAL function which ignores the hidden values.

So, the column in the full report has 691 unique values across 2,200+ records. If I apply a filter the column only has say 78 unique values. Is there a formula that can calculate this?

View 12 Replies View Related

Excel 2007 :: VBA Change Pivot Table Filters Using Form ComboBox In Another Sheet

Jun 26, 2013

I'm Using Excel 2007 and would like to have some VBA to work with the following!

I have a simple pivot table (PivotTable1) in Sheet1 with three items in the Report Filter which has been named "ROUTE"
I have created a ComboBox in Sheet2 and have added the identical three items in via format control, cell link A1.

I would like to be able to use the combobox in sheet2 to operate the PivotTable Report Filter in Sheet1 as I would like to build a report whereas a user. Can only select the comboBox and does not see the pivotTable

Sounds simple but cannot get this to work no matter what I try.

View 5 Replies View Related

Automatically Apply 2 Filters For 2 Columns And Get Results Compiled In Single Excel Or CSV File

Feb 18, 2014

Use filter for 2 columns of a CSV file, column A and Column B for certain words. Say I apply a text filter: contains "word1" or contains "word2" to Column A. Then I get the results. After that, I remove the filter to Column A then apply the same filter to Column B. The thing is, I don't get the results in Column B, instead, I get the cells in Column A wherein Column B is filtered PHOTOS BELOW:

The data that I get for this filter are:
And Word1 you
Word2 is blank

Apply filter to Column B, get the cells filtered in Column A:

The data that get for this filter are from Column A (which are cells filtered from Column B filter)
And Word1 you
Is the blah
Word is all

The results should in a single Column for both filter:

I have more than 100 files that needs to filtered this way, is there any way I can do this automatically?

Here is what the file looks like:

The results I hope would be possible:

Automatically without having to open all the files and have the results of all of it in 1 single Excel file?

----or----

If the above is not possible, open each file and automatically apply the filter into a column in just 1 click and without having to type the same filter for each column.

I found a code to combine all CSV files into 1 Excel file, but half of my files has more than 500k rows and the Excel's limit for rows is around 1million+.

View 9 Replies View Related

Setting Value To Text In Excel?

Sep 18, 2013

if cell A1 is the text UA i want the text to have a value of 2, so that if i have UA in A1 and UA in B1 when i add into C1 the answer is 4.

View 1 Replies View Related

Setting Column As Integer

Apr 17, 2007

I have written a macro to record some information to cells on a spreadsheet. Below is my code. As you can see I already have row setup in the code, but I now want to add column as an integer. So that if something were recorded in col m, then it would add 1 to colu and the next information would be added in col n.

Col = 13 (M) to start with.

Dim row As Integer
Dim colu As Integer

If Trim(txt(8, 10, 25)) = Workbooks("Book1").Worksheets(1).Range("K" & row) Then
MyScreen.Area(8, 4, 8, 5).Copy
MyScreen.Area(22, 40, 22, 41).Paste
SendKey "<ENTER>"
If MyScreen.Area(7, 57, 7, 57) = "A" Then
Workbooks("Book1").Worksheets(1).Range(colu & row) = Trim(txt(7, 57, 74)) 'getting my error here.. something wrong with colu
colu = colu + 1
End If

View 9 Replies View Related

Excel 2010 :: Setting Row Height

Jul 1, 2014

I am running Excel 2010. On a sheet that I have previously used many times, I select all, and set row height to 30. In the past, that has made the sheet fit nicely on one page. Nothing has been changed in the content or number of rows, but all of a sudden the result leaves me with a sheet that takes more than one page to print. It is almost like the number entered is being defined by some new unit of measurement.

View 2 Replies View Related

Setting Particular Formatting Style For Column?

Dec 3, 2012

I have an excel that gets updated monthly with new sales data. The sales data comes straight from our custom CRM system in a .xlsx file. All columns on this spreadsheet have a column type of general.

In the excel that is updated monhtly however their are certain columns that are set to a date type so that we can group pivot tables by date. Currently I have to paste the data that is exported from our CRM system into the monthly spreadsheet (beneath all the prior months data), create a new column next to any date field and then use the formula

Formula:

[Code] .....

I then have to take the resulting data and paste them as values over the original data so that it is in the correct format.

Is there a quicker way of doing this so I don't have to keep adding a new column and doing the forumula, can I somehow set the column so it automatically converts data in a general format to a date format.

View 1 Replies View Related

Excel 2010 :: Setting Up A Large Spreadsheet?

Mar 2, 2013

I'm have Excel 2010 and Windows XP. Each week I get 3 spreadsheets and each has data unique to it. Each spreadsheet has a week number column which is common to all three. I want to combine the three worksheets into one and make create several dynamic charts for management. How should I organize a large spreadsheet? In addition to my week number I have a host of other date fields. Some of the data I get is (1) vehicle VIN numbers (2) City/State/Country (3a) I break up the VIN to give me vehicle type (3b) year of assembly (3c) car type (3d) number of doors (4) mileage (5) complaint (7) defect code etc. etc. What are the do's and don't when setting up a large spreadsheet? I have data by week which goes back to 2006 and so my date fields go top-down. I inherited the three spreadsheets and would like everything under one roof, so to speak. One spreadsheet which I can make my charts.

View 1 Replies View Related

Setting Up Stock Ordering System Using Excel

Jul 15, 2013

setting up a stock ordering system in Excel. I have been sent a spreadsheet with about 400 items I've ordered before and about 15 columns of descriptions which include the name, category of item, manufacturer, cost, number etc.

I would like to set up a simple Excel spreadsheet which staff can use when they want to order some stock, which will automatically fill in the adjacent cells with the product category and unit cost, once the name has been typed into the first cell. Once I add the SUM formula I can therefore have an immediate total of how much each staff member is spending on stock that week, without having to look at the invoice I get back from the supplier.

I know Excel has a predictive text style feature (autocomplete?) but I don't know how to get it to automatically fill several cells in a row with data that is linked to the first cell.

View 14 Replies View Related

Setting To Open Files In New Instance Of Excel?

Jan 10, 2011

I would really like excel to open files in a new instance of excel by default. Currently the only way I can do this is by starting excel and then File->Open. While this is only a little bit of extra effort, I've recently gotten in the habit of opening and closing 100s csv files daily and the wasted time really adds up. I've read several threads here, but mostly found people trying to accomplish the opposite of what I am.

View 4 Replies View Related

Selecting Column And Setting Criteria To Delete

Feb 15, 2012

I'm trying to delete a column based on a simple criteria. If the column contains no data it has to be deleted, but I really couldn't do it.

Code:
With Sheets("Test")
Columns("AH:AH").Select
If Columns("AH:AH") = "" Then
Selection.Delete Shift:=xlToLeft
Else
Exit Sub
End If

View 6 Replies View Related

Changed Security Setting On Excel Sheet Now Can't Find It

Aug 13, 2012

Iv changed the security settings to my name (along with admin) and removed 'everyone'.now when i go into my folder, everyone else's excel sheet is there but mine has gone.

is there a way i can get it back?

View 1 Replies View Related

Excel 2010 :: Setting Up File To Print - Cannot Reopen It

Apr 17, 2013

In Excel 2010 I was working on a file setting it up to print. The file closed somehow and I just cannot reopen it. There are other files in the same folder and they all open normally.

View 4 Replies View Related

Setting Column Chart Data Using VBA For Variable Ranges

Mar 10, 2014

I have some code to plot a column chart of data but it isn't working as expecting at the moment. The code is below. The variable binCounter is a count of how many cells in a range that I want to plot on the chart.

However, what I am finding is that the first couple of cells in the range appear as the series name with the rest appearing as the data in the chart. Secondly, the chart appears with the axis labels 1,2,3 etc when I have some custom ones I would prefer to use. How do I go about setting this property, as I can only find options on setting the axis title There is a lot of stuff on XY charts on Google but I can't find much on column charts unfortunately .

VB:
'activate sheet and chart
Worksheets("Home Page").Activate
ActiveSheet.ChartObjects("Histogram").Activate

'set variables for chart
With ActiveChart

[Code] .....

View 1 Replies View Related

Excel 2002 :: Setting Variable To Select All Worksheets In Workbook

Jan 20, 2012

I've got some code which some one posted me a link to on here which set up a pivot table on more that 1 sheets (using excel 2002).

I inserted this code into a rountine I do daily which works fine.

The problem Im having is that Im getting more and more info which I need to pivot over more than one sheet. So I was going to amend the rountine so It picked what ever sheets are in the work book to pivot.

At the moment I have to go into the code and name the sheets to pivot. Is there some code which can work out how many sheets that need pivoting and just do it with out naming them? and also just add a new sheet with the pivot on rather than having to name the destination?

I've posted the code i got given below and have highlighted the bit where I have to name the sheets.

Code:
'---------------------------------------------------------------------------------------
' Procedure : CreateConnection
' Author : KL (Kirill Lapin)
' Date : 18/08/2009

[Code]....

View 8 Replies View Related

Excel 2010 :: Setting Range - Runtime Error 1004

May 1, 2012

I am using Excel 2010. Why I do struggle with setting the range below

Code:
Set rng = Sheets("Data").Range(Cells(4, firstcol), Cells(lastrow, lastcol))

I get run time error 1004

Tried simple code from msdn and it return same error

Code:
Range(Cells(2, 3), Cells(10, 4)).Select

View 2 Replies View Related

Pivot Filters To Change Simultaneously With Other Pivot Filters?

Jul 1, 2014

I have 3 pivot tables and with 3 filters each (they are all the same filters). I just want to change 1 of the filters for each of the pivot table (meaning the other 2 stay the same for all of the pivots). Is it possible to have a filter change automatically to match a filter in another pivot?

View 9 Replies View Related

Setting Up Excel Data In Aggregated Way That Can Feed Dashboard Or Daily Report

Aug 19, 2013

I want to set up daily charts to monitor various things but Im not sure how best to set up the data in order to do this so it calculates automatically as data is refreshed.

I want to run daily activity data that tells me how many people attend each room per day. the aggregated data would include:

Number of attendances, by room (there are 11 rooms), by day
Each attendance grouped by category of patient (up to 25 categories)
Each attendance by type of attendance (various groups)

How should I set up the data to show these things in a way that it can be linked to a text file and refreshed daily on opening? the data at the moment is in rows per attendance rather than grouped in any way.

I would like the data to have dates and months etc automatically genetared by the attendance date in order to graph the above indicators, as well as a % atttendance in relation to capacity per room etc

simple excel template that I could try to manipulate my data into so I can get started. The data is generates using a transact SQL query and saved as a text file which I wabt to use for the daily stats.

View 6 Replies View Related

Setting Parameter For One Column And If True Then Check Line Above And Below For Another Parameter

Jul 31, 2013

I though I could do this with a nested IF statement but it is too cunfusing for me. What I am trying to accomplish is this:

Experiment
Is Steward
EU ID
Location
Data Quality
GE
Entry Order

[Code] ........

I want to have a screen pop-up asking me what my limit < would be for column "ESTCNT" so if I put in 25 or any other number that it would highlight all the rows that are less than 25, then look at the row above and below and if it matches the same number (that is in the cell "Range" of the highlighted column) in column "Range" then copy that row to a new sheet. Meaning all tha rows that match the "Range" would be in the same new sheet.

The rows might be different lengths and that there will not always be a number in cell "ESTCNT". Column headers will always be the same but might not be in the same column each time. And if it is not to hard once it is completed to find column "SPPLOT" in the new sheet created and asking what I want to autofil the column with.

View 2 Replies View Related

Use Two Filters Within A The Same Field?

Jul 18, 2014

is it possible to use two filters within a the same field.

ie. right now i can filter using the top 10 based on a value field.

what if i want to see the top 10 customers profit and along any drop in revenue from previous years..

something like this.

the information below was copied out of a pivot table that included the % difference.

Code and Name
YearCheck
Profit
Difference

[Code].....

View 1 Replies View Related

Unable To Use Filters

Jul 10, 2007

I have a worksheet that is unprotected but I am unable to apply filters to it. The option is greyed out if I try and select autofilters.

Another strange thing is that on one of the worksheets when I select Data, Filters there is a tick to the left of Autofilter but it is also greyed out, so in effect I cannot turn it off even tho I can't see the filters!

I have tried to popst a screen shot but unsure how to do it. I think maybe a screen shot would help to explain my issue better so if anyone knows how to do this......

View 9 Replies View Related

Filters The VLOOKUP In Vba

Jan 2, 2008

Let's say that A1:C5 looks like this:

Square Red $5
A2 is empty Blue $6
A3 is empty Orange $2
Circle Puple $10
A5 is empty Black $18

A2 and A3 could say "Square" and A5 could say "Circle" ... this is just how I have it set up right now.

In C1 I have a drop down list ... a list of "Square" and "Cirlce".

***QUESTION***

Is there a way for a user to select "square" from the drop down list and in D1 have excel populate a list of all the Squares colors and prices?

Example of what excel would populate in D1:E3:
Red $5
Blue $6
Orange $2

The thing is that I don't think filters is the answer. The reason being is that I want the user to be able to select the item from the list and have excel automatically populate the information. The user should not have to filter the list manually.

View 9 Replies View Related

Filters With OR Function

Aug 11, 2008

In my Sheet I have AutoFilter on multiple columns.
I want to view all rows where in different colomns there are values.

For example
Colomn D, Row 6 has a value
Colomn E, Row 6 has no value, But Colomn E, Row 7 has a value.

I want to view then Row 6 and 7, by setting an OR filter 9 or something like that .

by setting filter on Colomn D with ( not empty Cell ) and Filter on Colomn E with (not empty Cell ) it is only a AND function.

How can I get an OR function. ( Colomn D OR Colomn E )?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved