Select The Filtering Criteria From A Drop Down Box

Nov 25, 2008

One sheet will be where someone will be able to select the filtering criteria from a drop down box (ie. Industry, Company, Location, etc) then click an execute button.
Then the macro will go to the second sheet where all the data is, filter the data and create a new spreadsheet with the selected data.

I have been able to create a filtering macro on the data sheet but have not been able to place the macro on the first sheet and have the macro run correctly. I have attached the file.

View 2 Replies


ADVERTISEMENT

Drop Down List + Filtering

Jan 23, 2009

i m kinda playing with the drop down list and i decided to make a list about the nba teams.

heres the breakdown:

1st row
conference: east/west

2nd row
east: ATLANTIC/CENTRAL/SOUTHEAST
west: SOUTHWEST/NORTHWEST/PACIFIC

3rd row
the teams list is next.


now ive learned how to do a drop down list but i cant find a way to filter the 2nd row. i hope you can gimme some tips or ways on how to go over this. i tried data>filter but thats not what i need.

here is an attachment and i used sheet 1 for the input and sheet 2 for the list of the selections.

View 7 Replies View Related

Drop Down Range After Filtering

Jan 17, 2007

i have a drop down on my sheet, with this input range: $F$1:$F$4000

but when i make filtering for my data, the drop down keeps all the list from f1:f4000, is it possible to get the drop down show only the items after filtring ?

View 9 Replies View Related

Filtering In A Drop Down (Validation) List

Jun 1, 2006

I have a list of cells i want to select my information from and in addtion i want to select the list all except one value in a box:

eg......

Value in Box: C

List of Values:

A
B
C
D
E
F
G

Therfore i want in a validation list all the values (A - G) except the value represented in the box, hence (C).

View 9 Replies View Related

Filtering Pivot Using Cell Value (for Select Multiple Items)

Sep 27, 2013

I'm running a pretty huge database with Part Numbers across several Suppliers which fluctuate constantly.

For example: a HEXAGONAL BOLT may have a Part Number ABC123, but depending on the size of the bolt it could be a ABC123-001 ABC123-V28 ABC123-40mm (etc)

There's a lot of data (some of it sensitive) so I don't want the users to see everything - I'm creating a front-end sheet and am looking for a way for a user to type in the Part Number "ABC123" into cell A1, then the Pivot below to auto-update (with Part Number on the 'Report Filter') to show all variations of ABC123, including ABC123-1 ABC123-2 etc - i.e. not an exact match; everything that contains the characters in cell A1.

The relevant information has been ported in and password protected on a sepearate sheet within the workbook, so it's literally a code to make the cell value affect the filter.

View 1 Replies View Related

VBA For Variable Filtering Criteria

Jan 15, 2014

I have a data set in Excel that starts with row 13 and has 26 columns. The headers are in row 12.

A pop-up user form requires the user to select from a drop down menu i.e Top50, Top100, Top200...

Once this is selected, the script below applies a filter to the header row & filters Column O based on the Topxxx chosen in the user form.

The script then selects the visible cells in selected columns from the data set and copies these to another sheet.

The only thing that changes is the filter criteria i.e the user-defined choice of Topxxx from the user form.

Obviously I would like to try and avoid having to copy copious lines of coding for each filter criteria i.e Top50, Top100 etc etc.

Code:
If UserForm1.ComboBox2 = "Top50" Then
Sheets("MD14").Activate
A9 = ActiveSheet.Range("A9").Value 'Counta
ActiveSheet.Range("A12:Z12").Select
Selection.AutoFilter

[Code] ........

View 1 Replies View Related

Filtering Via Multiple Criteria From Different Sheet?

Jul 30, 2014

I have a workbook that has the main user interface on sheet3 and the main database i'm trying to filter on sheet2. Sheet3 has the button that executes the code to open the worksheet with the database and filter based on certain criteria and will filter unique id if a numeric value is entered and surname if text is entered.

Originally this worked ok when i had the button and the' rcrit' cell reference on the same worksheet as the database i'm trying to filter, but i decided to move them to the interface page as it was interfering with other things i'm trying to do.

Ever since then i can't seem to edit it to make it work from the other page! I've tried changing the filter ranges to reflect the new set up, but it seems to no longer be able to recognise numeric/none numeric values.

here's the code I'm using.

VB:
Sub filter()
Application.ScreenUpdating = False
Dim rCrit1 As Range

[Code]....

View 2 Replies View Related

Filtering Checklist Based On Different Criteria

Aug 3, 2014

There are 3 types of customers: A, B, and C. For different types of customers, there are different information needed to be filled in. For example, A customer need to fill in question 1,2,3 & 4 ; for B needs 1,2,3,4 &5; for C needs 1,2,3,4,5&6.

How can i:

1) create an advanced filter for selecting different types of customers
2) after selecting the customer type, the spreadsheet automatically generates the right questions?

View 1 Replies View Related

Specific Criteria Filtering To New Worksheet

Apr 1, 2013

I am creating a workbook with multiple worksheets. When row H on the first worksheet matches certain criteria, I want the whole row that this specific cell is in to copy to a separate worksheet of the same workbook in excel so that a list of these rows automatically compiles. How do I do this?

View 1 Replies View Related

Multiple Criteria Filtering With Formulas

May 2, 2013

I have a database with 10 properties of a certain kind of material #.

IE: Material 1206 is Black, SG is 1.2, Duro is 70, Cure, tensile, price, etc.

I want a user to select 5 criteria from a drop-down list and have the 6th drop-down box populate available materials that meet the previous 5 criteria. I am trying to do this automatically and avoid user trying to autofilter (have to make it easy). I've extended the database out to show either a "0" or "1" if the 5 criteria match, but I can not get them into a drop-down list with a formula due to a #REF! error. I am not sure where the circular reference is coming from or what I have to do to change it.

View 1 Replies View Related

Using Days Of Week As Criteria For Filtering?

Oct 20, 2013

Row H contains a date.

This date "example... 10/14/2013" Will always be a MONDAY

I am trying to figure out the code to filter out any Monday that is not of the current (changing) week.

View 5 Replies View Related

Multi Criteria Filtering Listbox

Aug 21, 2007

I am using the following piece of code to 'link' a value from a cell in one workbook into another.

ActiveCell.FormulaR1C1 ="='[filepath]Front Sheet FIT'!r7c4"

However, i have come across a cell which displays the result of a reference to another cell (something simple like =b32). Normally I would just link to b32, however, the macro has to be applied to a large number of documents and in some cases text has been specifically entered, while in others the reference has been used. Is there any way of using VBA to display either the result of a formula (if there is one) or text if this is the case?

View 3 Replies View Related

Loop Filter Criteria: Sheet Filtering It By Different Values

Sep 22, 2006

I'm looping through a sheet filtering it by different values. As of now I just have the same steps repeated 13 times. I want to do a loop instead. So my question is, how do I change the criteria of the filter? I want to perform the specific functions for each JD1 through JD13

Sub Full_S_BreakdownWIP()
jd1 = "FSC"
jd2 = "SA"
jd3 = "SC"
jd4 = "OA"
jd5 = "CA"
jd6 = "DC"
jd7 = "GCA"
jd8 = "PAR"
jd9 = "LG"
jd10 = "RA"
jd11 = "DM"
jd12 = "SR"
jd13 = "USA"
For i = 1 To 13................

View 4 Replies View Related

Using A Drop Down List To Select Certain Feilds

Feb 17, 2007

I have created a spreadsheet here at work to stream line certain orders. For memory Reasons, and sanity Reasons, it is one spread sheet for 5 different types of requests (moves, changes, cancel...etc). the top portion of this sheet has general info that is needed for all the requests...but then it is broken up to 5 sections, one for each request reason. there is a drop down list in the top general section to select your reason for request, so the group receiving the form doesnt have to do to much thinking and go straight to the section they need. but i want to know if there is some way to make it so if someone selects cancel in this drop down list, only the cancel section appears, and not the other 4 sections, or if they choose move, only the move section appears and so on...

View 9 Replies View Related

Select Macro From A Drop-down Menu

Apr 16, 2009

I have several pre-configured macros that I would like to choose from using a drop-down menu. I know this is possible within the excel built-in ribbon, but I need to have it only in the spreadsheet. The macro will be importing a csv file. I have several different csv files that I need to be able to choose from and a drop-down list seems to be the best choice. The other option could be to have the macro prompt me to select the csv file of choice. Below is a sample of the macro that I would be using. Is this possible?

With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;P:A Harvest of HealthImportVendorsA-N.txt", Destination:=Range( _
"$N$1"))
.Name = "A-N_7"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.RefreshStyle = xlInsertDeleteCells

View 9 Replies View Related

Multi Select Drop Down Boxes

Apr 21, 2009

i want to have an input box where i can select say 5 cities and have a chart of the weather in all those cities.

http://www.4shared.com/file/10050153...mpweather.html

is the excel file

View 9 Replies View Related

To Select Multiple Items In A Drop Down

Oct 2, 2009

I am new to writing macros and am wondering what is the easiest way to create a drop down and select multiple items separated by comas. The people who are going to input data into this spreadsheet are field people and not technically savvy so need to design something that is just a matter of cliking on the drop down and selecting multiple items and they should show on the same cell separated by commas.

View 9 Replies View Related

Drop Down To Select Currency Type

May 10, 2006

I've created a budgeting spreadsheet and it is available to users via the web. When I initially created this I was short sighted and set everything as $'s. Users have limited ability to set formatting on this sheet.

I was wondering if I could create a drop down list for users to select their currency type which in turn would then drive the formatting used in the cells. I'm not quite sure how complicated this would be. Is this something that could only be done usa VB code? I'm pretty basic in Excel (know a good amount of formulas, etc).

View 3 Replies View Related

VBA Code: Select Records From Drop Down List

Aug 9, 2007

I have a spreadsheet that contains multiple rows per user. I need a combo or list box that pops up asking them to select their name from the drop down list. The list would be based on column A and would only include their name once.

When they select their name, the macro would then open the Form option from the Data menu, the Criteria button would be pushed and their name entered into the form, to return the first record their name appears on, then they could forward through the records, and update using the Next record button.

View 9 Replies View Related

Select September From My Drop Down, Only 30 Days Will Show

Nov 6, 2008

I have a form for people to submit their monhthly total number of hours worked.

At the top of the form the user will write their details etc followed by selecting which month of the year it is (in the form of a drop down menu).

In cells D24 to D54 I have numbers 1 to 31 to represent the min and max number of days in a month.

Is there a way I can structure my form so if I select September from my drop down, only 30 days will show?

View 9 Replies View Related

Using Drop Down Boxes And Not Being Able To Select Previous Values

Dec 10, 2009

I am wanting to configure approx 100 drop down boxes to all point to the same range of data, approx 40 names, but once the name has been selected, none of the other drop down boxes will be able to select that name.

eg.
range:
Dave
Mike
John
Steve

select Dave in drop down box in cell B5. Next cell, B7, I want a drop down box without Dave in it.
If i then change my mind, and select Steve in cell B5, it will automatically adjust cell B7 to allow Dave as he is now no longer selected in cell B5.

View 9 Replies View Related

Pull Data From Others Sheets Using Drop Down List To Select Sheet Name?

Sep 29, 2010

I'm not including my spreadsheet because it has company information however, I will try to articulate my request as best I can. I currently have an Excel spreadsheet with about 20 worksheets, I would like to be able to click on the first worksheet, create a "Drop Down box" or "Data Validation" box or whatever I need to do to be able to view information in a range of cells on ANOTHER worksheet within the same workbook.

I've tried Data Validation, Drop Down Boxes, Define name ranges, all to NO avail. I'm missing a step somewhere, because I'm still not able to view the information on the first worksheet.

View 3 Replies View Related

Select An Item From Drop Down List And Automatically Fill A Number Of Cells

Nov 15, 2008

I am kind of new to Excel programming and would like to know if there is a solution to my problem. What I need is to have a dropdown list (I know how to make this) then select an item from the drop down, then based on the name i select, Excel automatically fill up the rest of the cells.

For example, from the drop down list I select the company name then Excel automatically type the address, phone number, Fax number and the contact name of the company for me in corresponding cells. Is there a way to do this?

View 3 Replies View Related

Using Drop Down List As Selection Criteria For The Next Cell

May 31, 2008

One worksheet will have a library of job elements for assembly process with standard times on it.For example:Pick up a bolt(0.621m),install gasket(0.231m) etc.
The main worksheet will have a dropdown list which will list all the job elements discussed above.It will also have the quantity.So in otherwords,to pick up one bolt the time would be 0.621 minutes.But if anyone picks up 4 bolts the time would be 2.115 minutes,which can be calculated by the formula.So I want to display the job element,qty and the time in three separate rows.This worksheet will also calculate the total time for the assembly of the components which might contain more than thousand job elements.
My question is how do I ensure that picking up any of these job elements will give me the correct time.Is this something that can be done by formulas or anything thats built in excel or I need to run a macro or VBA to run some codes for IF...ELSE....THEN statements.There are too many conditions like If pick up one bolt time is 0.621 minutes,if pick up 4 bolts time is 2.115 minutes or if pick up a gasket time is 0.231 minutes.

View 9 Replies View Related

Sort Array Based On Criteria From Drop-down

May 18, 2009

How can I sort an array of data based on the selection from a drop-down menu? And can it be 'secondary' sorted with the result from a second drop-down (ascending or descending is unimportant)?

View 2 Replies View Related

Selecting Autofilter Criteria From A Drop Down Menu

Jun 8, 2009

I am trying to create a macro that will run autofilter on another sheet when I select a number from a drop down menu, with that number being the autofilter criteria. I have tried the following code but it changes sheets before I can select the entry from the drop down menu.

View 2 Replies View Related

Vlookup With Multiple Criteria: Creating A Drop Down List Showing Alternative Choices With Sex

Aug 22, 2007

I am trying to create a simple user interface type thing so that someone is able to select from drop down lists someones information, such as whether they are male or female, aged between 19-35 or 35-67, whether they are studying in a business area, legal or construction etc (there are 6 variables in total), This will then give the probability of success of the person passing this course based on probabilities which I have already worked out. I have worked out how to do the first stage of creating a drop down list showing alternative choices with Sex, Age etc in the data validation options, however:

There are 517 possible combinations, as in Male aged 19 to 35 studying Business (with other variables) or Male aged 19 to 35 studying Law (+ other variables) etc etc etc each with their own probability of success. Due to the long nature of writing out Male1935BusinessNorthWestWhiteBritishCollegeBrown I have rewritten it so it appears in the excel file as M1935BNWWBCB, which obviously wouldn't make any sense to someone if they had to select M 1935 B NW WB CB from drop down lists.

Along side the M1935BNWWBCB there is the probability of success specific to that type of person. So for example I could would have:
M 60%
M1935 64%
M1935B 35%....

View 8 Replies View Related

Pause Macro - Select From A Drop Down - Restart Macro

Dec 18, 2007

I am trying to pause a macro on a protected sheet, select 2 adjacent cells (initially protected), utilize an existing drop down box to select a name from the list, copy the name from the list into the range of cells, then re-start the macro.
I had no problem when there was just one name (see John Smith below). I tried to use the InputBox command but needed to actually type in the name.

ActiveSheet.Unprotect
Range("C27:D27").Select
'ActiveCell.FormulaR1C1 = "John Smith"
' Application.CutCopyMode = False
' ActiveSheet.Paste
'Range("c27:d27") = InputBox("Enter value")

View 4 Replies View Related

Select Sheets That Contain Criteria

Oct 11, 2012

I want to have a macro that selects all sheets that end in " dump". The sheets are not next to each other. This is what I currently have, but I would like to make it dynamic.

Code:
Sub SelectDumpSheets()
Sheets(Array("sheet1 dump", "sheet2 dump", "sheet3 dump", "sheet4 dump", _
"sheet5 dump", "sheet6 dump", "sheet7 dump", "sheet8 dump", _
"sheet9 dump", "sheet10 dump", "sheet11 dump", "sheet12 dump", _
"sheet13 dump", "sheet14 dump", "sheet15 dump", "sheet16 dump", _
"sheet17 dump", "sheet18 dump", "sheet19 dump", "sheet20 dump", _
"sheet21 dump", "sheet22 dump", "sheet23 dump", "sheet24 dump", _
"sheet25 dump", "sheet26 dump", "sheet27 dump", "sheet28 dump")).Select
End Sub

View 4 Replies View Related

Select Based On 2 Search Criteria

May 20, 2009

I have an Excel Sheet with three columns of data. In a separate worksheet, I am setting up some calculations. To do so, I am having the user select from a drop down list, the data in the first and second columns. Based on the two values selected by the user, I would like to bring forward the value in the third column. Can someone please help me out with the formula to do so?

View 14 Replies View Related







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