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


ADVERTISEMENT

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

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 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

Maintenance Schedule Checklist

Mar 2, 2009

I am trying setup a maintenance schedule checklist for a large list of items. Each item has a cycle in weeks for the checklist. I set up a nested if statement to check if the item is overdue or done based on the cycle and the current date. The if statement checks when the last time the item was done or overdue and populates an "X" for the next due date. It works fine as long as the cycle is 4 or less. After that there are too many if statements and I get an error. I'd rather not have to use a macro to get this to work. Any ideas?

View 14 Replies View Related

Macro For To Color Yes / No Checklist?

Dec 20, 2013

What my intentions are is I have a question checklist on "Sheet 1". It is in a list format items A9-A23. Then linearly there is a "Yes" in column J and a "No" in column K. I want to allow the user an option to pick the choice of either "Yes" or "No" in column J or K for the question. My best theory was to have it when they click a cell within the range of J-9 through J-23 and K-9 through K-23 that the cell would highlight yellow. Example so if they would click "yes" for question 1 it would highlight yellow. My final goal in the end is to have all questions either highlighted "Yes" or "No" then have a command button macro to move this data to a seperate spreadsheet based upon the highlighted cells then reset the survey.

View 9 Replies View Related

Time And Date Stamps For Checklist

Feb 21, 2014

I want time and date (as of the time of clicking) when i click a checkbox in one cell to appear, and stay unchanged, in another cell. When it is not checked, or if it is unchecked again, the date and time have to disappear. And if clicked again, a new date and time set (as of the time of the new click) has to appear.

I have tried this solution:

A2 Format control (of CheckBox) -> Cell link set to:
$B$2

C2 (wherein time+date needed) set to
=IF(B2=TRUE;NOW();"")

But the now function is literally "now" I have discovered, and keeps the date and time updated to actual time. I need it to keep the time from when the checkbox was clicked.

View 12 Replies View Related

Generating Checklist Using Pivot Table?

May 22, 2013

Is it possible to create a checklist (Yes, No, Maybe) with a pivot table? I need to manage a huge document with multiple subcategories, so using filters to display certain subcategories would be ideal.

Every time I generate a pivot table from my table, there is always a sub total, which is not needed (There are no absolute raw data values). Is there a way to remove this?

View 2 Replies View Related

Create Checklist Which Flashes Whether Report Is Accurate?

Oct 2, 2013

I need to create a Report on a Daily Basis and there are certain things which I need to check to ascertain whether the report is accurate..

These checks are done on several sheets which confirm the report is accurate like the Total Count of Employees should be equal to the COunt of Zonal heads and the Cluster Managers in one of the Sheets..

So, without going in each sheet to do the same is it possible to achieve the same using a Macro..

Like some MsgBox which pops up when I click on a Command button "Check"..

Then If I get an Intel in a msgBox then I can go in that sheet to check or take some action or else just exit sub..

View 4 Replies View Related

Create Checklist That Copy / Paste Text To Other Sheet

Jul 16, 2013

I have a workbook that writes what I need to do. When done I need to type in another sheet the exact same text and the date I did it.

I wonder if its possible to add a checkbox and when this checkbox is pressed it will automatically copy/paste the text to the next free cell of the other sheet, so I only need to type date.

Here is the workbook: [URL] .....

Check box would be added in cell A17, A18, etc.

And the text would be copied to sheet Preventive Maintenance Records in the next available cell in column A.

View 2 Replies View Related

Filtering For Unique Entries Based On One Column

May 1, 2009

This may be a basic question but I haven't been able to find the solution:

I'm using Excel 2003. I have a list with repetitive entries in one column and unique entries in the other columns. Example

0001 a
0001 b
0002 c
0002 d
0003 e
0003 f

I need to filter the list so that only unique entries in the first column show up, but I need the rest of the information to carry with it. Example:

0001 a
0002 c
0003 f

I can't use the Avanced Filter > Unique Entries Only function because the information in the adjoining columns is not unique.

View 6 Replies View Related

Filtering Data Validation Based On Other Cell Value

Feb 17, 2010

I'm working on a few dynamic KPI charts and could use a little help with figuring out data valuation for the End Date value. In the attached workbook I am using data validation to pick a start date from a dynamic list (Dates) in E2:Exxx. Cell B2 has 2/8/2010 picked. I would like to have a drop down in B2 show the listing of all dates in E2:Exxx which occur after 2/8/2010, so the filtered list would be in the range E3:E49.

View 2 Replies View Related

Filtering Multiple Rows Based On Data In One Row

Apr 26, 2012

I have a 'dump' of a general ledger accounting system....about 20,000 rows. Column A contains the journal number for each set of transactions (there are usually two rows in each set but sometimes three), column C contains the name of the account, and column E the amount. For example:

Row 269 cell A269 = 487 (journal number) cell C269 = Cheque, cell E269 = $50
Row 270 cell A270 = 487 (journal number) cell C270 = Travel, cell E270 = -$50

What I am wanting to do is to extract the sets of journal entries, where the account name (in column C) is "Cheque"....so I would want to extract rows 269 and 270 based on the above example. If I filter using the account name it only gives me one row for each journal transaction - only half of the story. Given that the journal number links the two rows.

View 3 Replies View Related

Filtering Based On Values In 3 Dependent Dropdown Lists

Feb 6, 2014

I have a dynamic dropdown list in B3. The dynamic dropdown list in B4 is a result of my choice in B3, and my dynamic dropdown list B5 is a result of my choice in B4.

When changing a value in B3 the dropdown lists B4 and B5 will be reset. This is done by this VBA Script in my worksheet.

View 1 Replies View Related

Data Filtering Based On Last Two Digits Of Large Number

Mar 17, 2006

I have a very large database where I want to filter out numbers that do
not have certain two digits as their last two. For example, the column
based on which I want to filter out data contains numbers like
197301310153. I want to filter out anything that does not end in 53....

View 13 Replies View Related

Filtering Columns In Excel Based On Public IP Address

Apr 18, 2014

I want to filter data code which contains public IP Address and copy the filtered data to other sheet. Column contains both string and number. Please see example:-

ABC
http://192.168.44.29:2967
DENIED

BCD
https://d31qbv1cthcecs. atrk.js
DENIED

[Code] ........

In above table (second column) the URL address after http:// can start with string or can start with number. If it is starting with numbers the I need to check whether the address is public is Private or public. In second column http://192.168.44.29, http://172.25.5.107/is Private IP so I need to ignore it but http://95.138.166.181 is public IP and we need to copy to other sheet.

View 5 Replies View Related

Filtering Data From One Worksheet To Another Based On Selection In Combobox On Userform

Feb 14, 2013

I am using the combo box that lists the loan officers number from the selection the loan officers name and branch is loaded. I want to be able also base on the officer selected add get the total new loans opened by that officer. I added an if statement that checks if the loan officers number from the "Oct_2012" is equal to the loan officers' selection from the combo box then add all the loans than match that criteria. I am not sure if what I am doing will work but when it reach to the For block it only reads the For statement and then go to the endif and don't execute the statement within the block.

Code:
Sub cmbLnOffNum_Change()
Dim idx As Long
Dim LnOffRow As Long

[Code]....

View 1 Replies View Related

Search For Text In String - Filtering Of People Based On Country Code

Jul 5, 2014

A
B

1
Terry lives in England
=FORMULA

2
Claire lives in Spain

3
Paul live in France

I'm looking for a simple formula within the cells of column B to populate the cell with data based on the "country" mentioned in the string of cells in column A. There will be 20 countries and dependant on the country mentioned a 3 character country code will be entered in column B allowing for easy filtering of people based on country code. so something along the lines of if A1 contains "England" B1 equals ENG etc (for abot 20 countries)

The output should look like below

A
B

1
Terry lives in England
ENG

2
Claire lives in Spain
ESP

3
Paul live in France
FRA

View 8 Replies View Related

Sum Range Based On 1 Criteria Of Column & 2 Criteria Of Another

Mar 4, 2008

i m trying to use the sumproduct formula, and OR but i cannot seem to get this right! =Sumproduct(--(A1:A10="Yes"),--(OR(B1:B10="Yes",B1:B10="Mayby")),C1:C10)

I have also tried Array Formula as follows; {=SUM(IF(A1:A10="Yes",IF(OR(B1:B10="Yes",B1:B10="Mayby"),C1:C10)))}

I have also used UDF to for the sumproduct, but cannot make that work! keep giving me value message

Function
Function Customer(Service as Range, Outcome as String, Service2 as Range, Outcome2 as String)

Customer = Sumproduct(--(Service = Outcome),--(Service2 = Outcome2), Result)

-Didnt get thru this bit to start building on the Function! keep giving me #Value!

View 5 Replies View Related

Count Unique Instances Of Date While Filtering Based Upon Date And ID Number

Aug 14, 2014

I have a list of ID# (Col A) and dates (Col B). The ID # of reference is Col (F) and today's date (Col G). I need to count how many future dates there are in the list (Col B) that are unique and in the future from today's date.

I'm still fairly new to all these formulas and functions which is why I'm not attempting this in VBA.

I've attached an example work book and I would like the result in H2.

Example Workbook.xlsx‎

View 5 Replies View Related

Auto-filtering Pivot Based On Data Contained In Another Pivot?

Sep 5, 2013

I've attached some dummy data. Basically, everyday I'm going to dump a report containing data into a 'Data Dump' tab. 'Pivot 1 - Filtered' I have set up so that it will show specific product IDs only (In this example I only want to see 1X, 2X and 9D).

However, I now have a need to see the total value of that order number in 'Pivot 2 - Autofilter'. (For Example, order number 1111 has both 1X and 8D contained within it). Now obviously the simple thing to do would be to filter every order number shown in pivot 1, and filter pivot 2 with them. However when I'm doing this for real, this can be tens/hundreds of order numbers.

The only workaround I have found is to put a column at the side using VLOOKUP and if ISERROR is false then include in pivot, then used an autofilter on that, but I'd like to keep the normal pivot if possible.

View 1 Replies View Related

Auto-Populating Multiple Values Based On Two Criteria Based In Comboboxes

Aug 7, 2013

I'm starting a dashboard, where on the front page I have two combo boxes on the left, and three empty fields to the right. I'd like the three fields to the right to auto-populate table-based values depending on the chosen criteria from BOTH fields (by store and month/date). I've attached a sample of what I've got so far. I've only provided three tables for this example, and I have a table with the same column/row titles for each metric and I have three different metrics I'd like to auto populate: COGs, Sales, and GM% or in the example, metric 1, metric 2, metric 3. No pattern in the table values, just wanted to populate the fields quickly. All fields are organized by store/month-date and I've set up a link to my combo boxes on a calculations tab.

View 2 Replies View Related

Filtering Out Data From One Column Based On Data From Another

Aug 7, 2014

I have two Excel tables.

Table 1 has Column A, with 500 unique names/codes listed.
Table 2 has Column A with the 500 names, plus 500 more mixed in (all unique). Table 2 also has columns B-G, with values corresponding to each of names in Column A.

Basically, what I'd like to do is filter out from Table 2 the 500 names (and their corresponding info in columns B-G) not listed in Table 1.

I've tried to look around, but most answers seem to be in reference to situations in which Column A has numerical values rather names.

View 2 Replies View Related

SUM Based On Certain Criteria

Nov 18, 2013

The Table below outlines a scenario i have..

I am looking for a sum that looks at Colum A: to determine if it is an old version and new. So G2 should If it is marked with the word "New" give me the sum to column F2: otherwise give me the the sum of B2:E2.

Was looking at Sumif but not can't seem to get the formatting right.

A
B
C
D
E
F
G

[Code] .....

View 1 Replies View Related

Sum Based On Criteria

Jun 24, 2006

I've got a sheet called DATA with a series of columns. Column Q has a series of numbers throughout the rows. I need to input a formula in a cell that says, everytime column Q is = 2, calculate the sum of those rows in column N.

The second one is a bit more challenging. A few cells in column F contain the number 1 in them. I need a formula that calculates the average of the cells in column C wherever there is a 1 in column F.

View 7 Replies View Related







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