Filter For String In Multiple Columns

Jun 22, 2013

I am staffing an upcoming event with volunteers and I want to be able to a single volunteer across their various shifts and locations. However, I cannot guarantee that a particular volunteer will always be in the same column on my spreadsheet so AutoFilter doesn't do the trick. I've tried using Advanced Filter options as well, but I either can't seem to get it to work or it won't work with strings.

I've attached a sample of the type of document I'm working in (genericized) so hopefully my below questions will make more sense.

Ideally, I'd like to be able to be able to search/filter for Joe and see rows 2 and 3 appear. Is this possible?

Additionally, I'd like to know who is also on shift together. For example, is there a way to search for Tony and Sarah together and have row 5 appear. I know that I can do this now with filtering column 2 and then 3, but the real document I'm using is over 800 rows long (very big event!) and using progressive filtering would take longer than I'd like.

View 4 Replies


ADVERTISEMENT

Filter Columns With Specific String?

May 28, 2012

I want to filter columns from an excel spreadsheet where the value in the cells contains/includes the String "Create".

View 3 Replies View Related

Filter Across Multiple Columns

Oct 1, 2013

I have 1000's of rows of data and 8 of the columns are reserved to tag possible defects. All 8 columns pull from the same drop down list of all possible defects. I have 8 columns set aside because a row may contain multiple defects.

What I want to do is look up a single defect (ie "scratches") within all 8 columns. See my attached simplified example. If I filter column B for scratches, the scratched part in row 4 will be ignored. Can I apply a filter across multiple columns?

Filter Example.xlsx

View 1 Replies View Related

How To Apply Filter On Multiple Columns

Jan 28, 2014

Well we are trying to fetch some data using excel filters. But we are unable to apply filter simultaneously on two excel columns. The problem is explained in the attached sheet. If you have any query/doubt in understanding the whole problem then writ it.

View 5 Replies View Related

Filter Information Within Multiple Columns

Sep 5, 2012

I am having a problem filtering information within mulitple columns. I do not understand how the advanced search works either, so let me try to explain what is going on. I would post a pic of the table to make it easier to understand if I knew how to.I have thousands of rows in Column A with information, for this scenario a number. Thing is that all these numbers are seperated by many blank rows.

Ex: Row 1 has a number, Rows 2-10 are blank, Row 11 has a number, Rows 12-24 are blank, etc. Over in Column C, for every row that has a number in Column A, there is a corresponding number in Column C followed by Rows of numbers. ex: Row 1 Column A has corresponding information in Rows 1-10 of Column C.If this is clear, understand that this repeats for tens of thousands of lines. When I am looking for a specific number in Column A, I do a filter for just that number.

When that happens, it only brings up the info from that same row in Column C. I need the filter to bring up all ten rows of info in Column C that correlate to the row I filtered in Column A. I know the easiest way is to label all the rows in column A with the same number, but the reason the blanks are in place is so it is easier to read the breaks between the different information.

View 1 Replies View Related

Filter & Sort Multiple Columns With Single Criteria

Sep 27, 2008

I have a spreadsheet with multiple columns. The first column defines a "route", and the next two list "start" and "end" cities for that route. The fourth column lists the length of each route. There are only a limited number of cities, so the same entries appear in both "start" and "end" several times. I would like to use Autofilter to sort the list for every appearance of a given entry in either "start" or "end". Is there a way to make Autofilter sort mutiple columns simultaneously?

I could achieve the desired end result with Advanced Filter, but I want something with the ease-of-use and immediate update/response of Autofilter. Advanced Filter requires explanation (as well as lots of clicking and typing) whereas Autofilter is self-evident. I also want to avoid VBA Macros as they are not well-understood by the users who will use this spreadsheet (and any VBA Macro will require very specific input to work properly.) Is it possible to do what I want? Or is Advanced Filter / VBA the only way to do it?

View 2 Replies View Related

VBA To Hide / Show Columns Based On Filter And Multiple Criteria

Mar 8, 2014

I have a very large table and i need to be able to Hide/show specific ranges based on:

Filter +and+ specific cell values in columns

brief example of the table : tablee.png

So...
1. Filter Column "B" (in this case we select "HELPING")
2. Auto hide/show collumns. - IF "C1" = "Required" THAN Show "C:E", IF "C1" ="N/A" , HIDE "C:E" and so on for every column like above.

There are over 80 columns like the "C:E" range. and I only need to show those that are "Required".

View 1 Replies View Related

Filter Only Columns A-F When Apply Filter Values?

Mar 26, 2013

I have some columns on which I have a filter, with some columns next to those that have information in them.

What I need to do is filter only columns A-F when apply filter values, but keep columns I-K fixed as A-F change when they are filtered..

View 1 Replies View Related

Filter Many Columns With One Dropdown Filter?

Mar 19, 2014

How do I filter multiple columns of information with the use of one dropdown arrow?

see the attached picture (jpg.) for a visual representation of exactly what I am trying to achieve. Excel Filtering.jpg

I have also attached an Excel Filtering Example spreadsheet for use in explaining how to create this type of stacking filter. Excel Filtering Example.xlsx

View 6 Replies View Related

Filter By String Criteria

Jul 11, 2007

What i need to do is basically delete every row in my spreadsheet that contains the criteria "L-0.###" in said column. by ### i am referring to 3 decimals, such as:

L-0.250
L-0.000
L-0.555

and so on. you get the idea.

with the below program i got it working so i can type in:

L-0.***

and have it sort out everything proceeding L-0. ...problem is i need to keep the data such as this:

L-0.53
L-0.00
L-0.0

or basically everything not 3 decimals in with a head of L-0.

here is the macro i'm using:

Sub DeleteRowByString()
'
' DeleteRowByString Macro
' Macro recorded 7/10/2007 by Khenzel
'
' Keyboard Shortcut: Ctrl+Shift+S
'

'Get the criteria in the form of text or number.
vCriteria = Application.InputBox(Prompt:="Type in the criteria that should be removed from matching columns. " _
& "If the criteria is in a cell, point to the cell with your mouse pointer", _
Title:="Ferguson Enterprises, Inc.", Type:=1 + 2)

'Go no further if they Cancel.
If vCriteria = "False" Then Exit Sub

'Get the relative column number where the criteria should be found
lCol = Application.InputBox(Prompt:="Type in the relative number of the column where " _
& "the criteria can be found. (Ex. A=1, B=2, Etc.)", Title:="Ferguson Enterprises, Inc.", Type:=1)

if possibly a modification in my coding to make this work, or simply a criteria i can type in to make it happen.

View 4 Replies View Related

Excel - UDF That Returns String Of Multiple String Objects / Possible To Color Font?

Sep 19, 2012

I have a udf that returns a string to the cell. The string is made up of multiple string "objects". What I am wondering is if I can set the font color of certain objects so that when the final string is built and returned, the font of those portions is set.

Ex. of simple idea (this is not actually my code, just a way to illustrate. I realize there is no point to this UDF):

VB:

Function StringReturn (Str1 As String, Str2 As String, Str3 As String) As String
StringReturn = Str1 & Str2 & Str3
End Function

Now what if I wanted Str1 and Str3 to be blue, and Str2 to be red for example. So that when the UDF calculates it would return: Str1Str2Str3

View 2 Replies View Related

String Search - To Create A Combobox To Filter A Set Of Data By The Month That Is Entered

Jun 7, 2009

I am trying to create a combobox to filter a set of data by the month that is entered.

The below code worked fine when there was just the month entered, but now all the entries in the sheet are in the format 01 January 2009. So I need a section of code which will search for the combobox value as part of a string in my range.

The cbodate values are Jan, Feb, March etc ....

View 9 Replies View Related

Search For Multiple Text Strings In A Cell - Return One Of Multiple Corresponding But Different String

Mar 11, 2014

I have a spreadsheet with 1,000 rows of data.

Each Cell in Column A has a different long text string.

I need to see which (if any) of 10 specific small text strings exist within each long text string. Depending on which small text string is found I want to return a 3 digit code. If no small text string is found I want to return "Not Found"

E.g.:
- Cell A2 contains "randomtext,randomtext,APPLE,randomntext"
- I want to see if Cell A2 contains any of the words APPLE, ORANGE, CARROT.
- I want to return "APP", "ORG", "CAR" or "Not Found"

Q: What is the most elegant way to accomplish this within a single formula that I could paste into each cell in Column B?

View 2 Replies View Related

Filter (across) Columns

Aug 27, 2009

Is there a known method for filtering (across) columns in the same way Excel filters (down) rows? Prefer a non-Pivot Table, non-Data/Transpose solution.

View 9 Replies View Related

Filter Columns But Fix Last Row

Jul 13, 2006

i have a data sheet with tonnes of info. I want to be able to filter info but keep the last row of the sheet always thr. The last row has total on it.

View 2 Replies View Related

Filter Row AND Columns In Worksheet?

Dec 14, 2012

how to filter rows AND columns in a worksheet. I filtered the one column in the spreadsheet (the main "yes, no, or n/A" for each row). Now I want to be able to filter each row. For example, if the column response is "yes" (most are), I want to filter each row to the "yes's, no's, or n/a's" for each column in that row (it's pretty long, from C to KS). I have attached a sample worksheet (the one I am working on minus confidential information).

Basically - I need to filter by a column and THEN, filter each row by the Yes's, No's or NA's in the columns associated with those rows.

View 2 Replies View Related

How To Filter For Results In TWO Columns

Jan 17, 2013

I have spreadsheet that tracks flights between cities. The spreadsheet has become quite large, so I need a few simple tools or tricks to search it efficiently.

To keep things simple: the spreadsheet has "Departs" and "Arrives" columns, tracking the cities on either end of a flight. (See below)

FlightDepartsTimeArrivesTime
1001New York2:00Boston3:00
1002New York2:30Philadelphia3:15
1003Boston2:45Philadelphia4:00
1004Washington DC3:00New York4:00
1005Philadelphia3:30Boston5:00
1006Boston4:00Washington DC5:30

If my boss says, "give me a list of all flights going through New York," I have to manually filter for "New York" in the "Departs" column, copy that to another spreadsheet, then filter again for "New York" in the "Arrives" column, and manually glue the results together. In my little toy example, that's not a big deal, but when there are up to a couple hundred flights (and just as many cities), this gets tedious and error-prone.

Is there some handy way of filtering for "New York" in both the "Departs" and "Arrives" columns? Or some other way of achieving the same thing? ("Find All" isn't useful unless I can export the full rows into a spreadsheet.)

View 6 Replies View Related

Reset Filter On Columns

Feb 15, 2014

I currently have the following VBA to make a filter work automatically in column D:

[Code] .....

I also have filters in columns J, L and N.

I would like these columns' filters to reset when i open the worksheet, however the filter in column D to remain.

View 10 Replies View Related

Filter A Worksheet By Certain Columns

Dec 28, 2007

I'm trying to filter a worksheet by certain columns but am not sure how to use the criteria range so a lil help would be appreciated!

for the columns: N,O,P,Q,R

I want to exclude rows with the values "N, N, N, 0, 0" under those columns.

How would i construct the criteria for that?

View 9 Replies View Related

Checkbox To Filter Columns With Specific Value?

May 4, 2014

I want a checkbox to filter column with specific value and hide others. And also there are two checkbox, one should be automaticly unchecked if we check another checkbox.

View 1 Replies View Related

Filter And Sum Data From Selection Columns

Sep 20, 2009

I am trying to find the sum value of a range, specified by two variables.

ie. what is the total spend in 2007 for Hong Kong?

I think I have (with the help of Andy Pope) resolved how to distinguish the correct figures which I wish to summate using with the following

View 7 Replies View Related

Hide Empty Columns After Filter

Nov 28, 2007

I am trying to hide empty columns, excluding the header, from data that has been auto filtered. I can accomplish this when the data is not filtered by hiding columns that are empty below the header.

My question is: How do I get the "For each Col in Activesheet..." loop to only apply to the filtered values and not those that are hidden.

View 6 Replies View Related

Dynamic Columns - Filter Based On Criteria?

Feb 19, 2013

I have a 6000+ row database with 5 columns across. The 5 columns have the following headings: Hair Color, Eye Color, Age, Location, and Salary.

I have created macros that will filter each column based on criteria - for example:

[Code].....

As you can see, at cell J10 and K10, I list the filter that is used for a particular search. Some searches, will only have 2 search criteria, some may have all 5, etc.

On a separate worksheet (in the workbook), I have a "Report Tab", my question (after a long build up) is how do I dynamically change the columns and values on the "Report" tab depending on the search that I perform? For example, if I did a two variable filter (Hair and Salary), those would be the only two columns on the report - if I did all five variables for the search, all columns would be on the report, and so on.

View 1 Replies View Related

VBA To Copy Specific Columns After Filter Applied

Feb 4, 2014

Sheet one contains a table of table from C6:AY7000

On Sheet 2, I want to create a summary of data from Sheet 1 based on 2 Criteria which applies to column I and N.

On Sheet 1, I have put in a formula to link to sheet 2 for the criteria to make things easier.

So BN3 = Sheet2C3
And BN4= Sheet2C4

I have managed to run my coding to filter the data that I correctly want to copy and paste onto sheet 2 - however I only want to copy specific columns.

This is the coding I have written to select and filter the correct data values.

Sub AddFilter()
'
' AddFilter Macro
'
Dim rCrit1 As Range, rCrit2 As Range
With Application
.EnableEvents = False
.ScreenUpdating = False

[Code] .......

This now gives me the correct data in the table.

I want to copy the visible cells from this table but only for columns e, dr, r, v, w, o, z, AD, AG, AQ, AW, AY

The copied data will then be pasted into sheet 2 starting in cells B9

I plan to attach a button on sheet 2, so when the user updates the values in C3 and C4, this will update values in BN3 and BN4 on sheet1, they can run my macro which will go to sheet 1, filter the data on what they have entered and paste the correct values.

View 2 Replies View Related

Filter Miss-Matched Dates Between 2 Columns

Sep 9, 2009

I have 3 times series data in excel (returns on stock, market return and risk free return), each has their own date corresponding to its return, so 6 columns all up.

Imagine it like this:
Date | Stock Return -- Date | Market Return -- Date | Risk Free Return

The problem is that the 3rd data set (risk free return), its date column mismatch the dates column of the first two (returns on stock and market). So the obviously solution is to basically get the third time series data to only show the same dates as the first two.

I want to use the first two data sets date's as like a benchmark for the third data set to only show those dates.

I have tried filter/advanced filter in Excel 2007 and spent ages on google/youtube but no luck; it wont let me try to match specific cells to filter out dates from a specific series of cells.

View 9 Replies View Related

Filter On Two Columns And Results Include Text From Either Column?

Jul 5, 2012

I have a file with a bunch of columns in it. Columns C and D have names in them. I want to filter on these two columns where the results show all rows where the selected name is in both.

Example, If I filter on Column C first on 2 specific names (Joe and Chris), it will not show the results in column D if that name was aligned with a different name in column C (Mark and Steve). I need all rows to come back.

Column C
Column D
Joe
Joe
Chris
Chris
Joe
Chris
Joe
Mark
Joe
Steve
Chris

View 1 Replies View Related

Filter A Table With An OR Logic Based On Columns Values

Feb 10, 2010

i have a table and have some columns.

i want to filter the table so that i just see the records which have "text1" in ther column "F" OR they have "text2" in ther column "H", for example.

How can i implement an OR filter ?

View 2 Replies View Related

Macro To Auto Filter And Then Paste Certain Columns To Another Sheet

Jun 11, 2014

I am running a auto filter macro to I need to change it to only copy column A:B and past in column C:D in the sheet called "Diary". How to change my current macro to only select column A:B and paste it. It is currently pasting the entire row.

Here is the part of my code:

[Code] .....

View 1 Replies View Related

Hide Columns, Filter & Copy Visable To New Wrkbk

Jun 4, 2007

I have an Excel sheet with all client information...For clinical supervision I want my team members to open their own "Supervision.xls" and click a button...this button will open "Client.xls" and select "Client info sheet"...It will then hide rows c,d,g & f...it will then filter column "e" based on the specific caseworkers name ( say "Joe") and copy only the visable columns back to their "supervision.xls" Values only (doesn't effect the colour formating of Supervision.xls) then close "Client.xls"

View 9 Replies View Related

Trying To Build A Macro Filter Based On Data In Either Of Two Columns

Jul 31, 2008

I created a contact list that incorporates buttons at the top of the page to sort the data based on two customer type columns (thanks to Richard for help getting this far!).

I am attaching the file so that it will be easier to take a look. Four of the five macros are working fine but the second one ("All Clients") filters on the premise that "yes" is answered in either of the two customer type columns. In other words I am trying to show the records that have "yes" entered in either of these two columns, not necessarily both columns.

View 9 Replies View Related







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