Filter Lists - Find Relevant Entry
Jan 12, 2013
A stab in the dark here, but is there any way to be able to 'jump' to a particular position within a filtered list. My list has around 20,000 items in it and I'm having to go through each one systematically to make edits on the relevant line and it is so laborious trying to find the correct place in the list every time.
Is there anyway to be able to may be key in the first letter or two letters to avoid all the continuous scrolling to find the relevant entry?
View 4 Replies
ADVERTISEMENT
Jan 31, 2007
I am trying to filter a list where I can enter a value in a criteria box and it will filter the list just with those entries that meet the criteria entered in the box.
E.G If I have a list containing the name Jones 3 times, and Brown 7 times, I want to type the word Jones in a criteria box and it will sort the list to only show the 3 Jones entries
View 5 Replies
View Related
Jun 16, 2014
My task is to write a macro on auto filtering. I got 2 columns of relevant data. Cells in column A show the team name and corresponding cell in column C shows the person who belongs to the team.
For clear illustration, this is an example of the list I got.
A1: A, C1: XX
A2: A, C2: YY
A3: A, C3: ZZ
A4: B, C4: XX
A5: B, C5, 00
A6: B, C6: 11
What I need to do is to write a macro that auto filters and shows only relevant data.
Assume XX used to be in team A but now moved to team B. When i filter for team A, i need all members who are/were in team A.
For instance, when i want team A, it has to include A1-A4 and when i want team B, it has to include A1,A4-A6.
View 4 Replies
View Related
Feb 3, 2014
So I have a pivot table of about 2000 rows with data on employees.
In the table, there is a field associating each employee with a location (midwest, southeast,where ever) and I have a report filter on it that lets me view only people from a given region.
It was working fine, but I'm doing a lot of VBA macro related to the pivot, and I think I somehow changed a setting somewhere in the process and don't know how to reverse it.
When I apply the filter now, it only shows data for people in the region i choose, except it still shows all the other lines that should be hidden, just with no values. Here is a crude visual
Name region sales
Jim_____MW__10
Henry___MW__34
Jerry____SW__20
Aaron___SW__44
Scot____MW__22
AFTER FILTER for "MW"
Jim_____MW__10
Henry___MW__34
Jerry________0
Aaron_______0
Scot____MW__22
(jerry and aaron should not be visible at all)
View 2 Replies
View Related
Oct 26, 2009
I have a spreadsheet with multiple columns. (Sheet1) The heading row is my customer name. (Sheet1) My column are the dates. On another spreadsheet, I would like to find the customer in Sheet2 in Sheet1, then do an index to find the relevant data I need, returned in Sheet2.
Sheet2: find customer "ABC" in Sheet1, if found, then find the date that also matches Sheet1 and Sheet2, and return data "apple" .
sheet1
DATE ABC DEF
2007-04-01 £55.60 £61.13
2007-04-02 £56.33 £60.27
2007-04-03 £52.14 £62.58
2007-04-04 £51.69 £61.28
sheet2
CUSTOMER DATE RATE
DEF 2007-04-04 This should be £61.28
ABC 2007-04-02 This should be £56.33
View 3 Replies
View Related
Jan 24, 2013
I use drop down lists to speed up data entry. all my lists are on sheet 1 but my actual fields for selection are on sheet 2. I am trying to see if i can make the date fields columns drop down calenders. Sheet 2 is for a special import and i cannot add extra columns that are not a part of my import.. Is there a way to add drop down calenders or dates to sheet 2 without adding extra columns?
View 4 Replies
View Related
Sep 27, 2011
I am relatively new to Excel. I have figured out how to use named ranges as lists and use INDIRECT Data Validation to have a list's selection made in one cell populate a new list in an adjacent cell.
A1 contains a list of "Characters" (The choices are "Numbers", "Letters", or "Other")
Based on the choice in A1, B1 has to populate with the following:
- A list of available Numbers to chose from (1,2,3..etc)
- A list of available Letters to chose from ( A,B,C...etc)
- Text that instructs the user to enter text into the cell manually
(For example, their "Other" character might be something like "@#$%^&*!". (Not unlike my mental state trying to figure out this problem.) I want them to see the instruction to "ENTER CHARACTERS HERE" and then be able to type in the cell.
So I need B1 to either populate with a menu that is dependent on the menu selection in A1, or allow for free text entry depending on if they chose the "other" option in A1.
View 4 Replies
View Related
May 28, 2008
say sheet 1 has 2 collums A & B
collum A is Names Collum B is Dates
A B
Bob Fenton 05/04/08
Rob Smith 05/06/08
Al Feth 05/08/08
Al Feth 05/18/08
Al Thomas 04/23/08
Rob Smith 05/23/08
Bob Smith 04/22/08
Bob Fenton 05/15/08
Al Feth 05/10/08
sheet 2 has unlimited collums in collum A is the name of the person in collum B to Z (or more) i would like a fomula that will search sheet 1 and return the dates for each entry of that name.
so sheet 2 would be like ....
View 9 Replies
View Related
Aug 29, 2006
I have a workbook that lists a number of customers and the products that they use. I am trying to create a lookup that will follow the following process;
1 - User enters (via dropdown selection) Customer Id
2 - User enters (via filtered dropdown based on the 1st selection) Product
3 - User enters (via filtered dropdown based on the 1st and 2nd selections) Pack Size
4 - Product Id autofills itself.
My problem is twofold, firstly I don't know how to perform the "filters" in stages 2 and 3, and secondly I want to remove duplications from all lists at the appropriate times.
View 3 Replies
View Related
Nov 20, 2009
I can view the data how I need to by conditional formatting and pivot tables but HR wants to get rid of all rows that: only have 1 accounting line per document such as Doc MI310712 in attached sample So I only want to display records if there is more than 1 accounting line for each document
My understanding of Excel is that in order to get rid of rows that a VBA macro is needed since there is no function to do it. My VBA is limited but is there a way to specify criteria in a filter to hide the rows using a formula?
View 8 Replies
View Related
Nov 7, 2013
I'm wanting to filter a set of data by inputting in to a cell. And it works perfectly...
VB:
Private Sub Worksheet_Change(ByVal Target As Range)
If (Intersect(Target, Range("B4")) Is Nothing) _
Then
Exit Sub
End If
Cells.AutoFilter Field:=2, Criteria1:="=" & Range("B4")
End Sub
The only thing is I now need is for the code to clear the filter if the cell (B4) is blank. It currently filters out all the data if the cell is blank.
View 2 Replies
View Related
Jul 30, 2008
Is there a way to make Advance Filter show the most recent (highest row)unique entry instead of the first entry (lowest row)?
For instance if a spread sheet has
1 1
1 2
1 3
2 1
2 2
2 3
3 1
3 2
3 3
I want to keep the "1 3", "2 3", and "3 3" entry, not "1 1", "2 1", and "3 1".
View 9 Replies
View Related
Jun 18, 2014
I am looking to modify my combobox from a userform to Filter the list based on the first entry on what the user will add.
I have a code that will search for all entries in my "Control" sheet and passed this on to my combobox:
[Code] ......
I have, within a module, the following function code that the user find the entry by adding the first 3 letters of the search they need:
[Code] .....
I would like to know what to change in the function to filter the list, once the user adds a first letter and then press the dropdown from the combobox, to filter the list based on all entries from the first letter to only show entries with that letter.
If A is entered, then, show only the entries strating with the starting letter A, but at the same time if the user adds more letter to filter to the first then second letter:
If AB is inserted, then, show entries with AB only.
Where do I add this code also, is this another function or this could be inserted within my function?
View 7 Replies
View Related
Oct 10, 2007
I am trying to do a find and replace on two list of names which are in different formats to get the list in a correct format for processing in our system.
Eg
Sheet1 - Column A - (Has Duplicates)
Tom Jones
Homer Simpson
Sheet2 - Column A - (unique values only)
JONES TOM I1234
SIMPSON HOMER I4321
I want a macro/method of looking at Sheet1 Col A - finding the EXCAT name in Sheet2 ColA and then either Replacing Sheet1 Col A with the Text in Sheet2 ColA or putting it in Sheet 1 ColB next to the one i need to replace.
Desired Example
Sheet1ColA || Sheet2ColA || Sheet1ColB Or Sheet1ColA
-------------- || ------------- || -----------------------
Tom Jones || JONES TOM I1234 || JONES TOM I1234
I have Approx 4187 names to check like this and change to the same format as is in Sheet2 Col A
So a looping macros that looks at sheet1 col A and then finds the name in Sheet2 Col A i think is required, if it does not find a matching name it should leave it BLANK and then move on to the next one to find and replace.
I have tried to split up the cells in Sheet1 ColA into FName, Lname..then doing Vlookups, but thats not working for me
View 9 Replies
View Related
Mar 14, 2008
It's been a while since I've visited MrExcel, but I've been busy learning C# & ASP.Net & Visual Studio & SQL Server - work doesn't want too much from me :p
Anyway, I'm writing a procedure that plays around with lists in Excel (i.e. the type of list that would show up in CurrentRegion.
They're not connected to any outside data source, or as a pivot table - just columns of data that will have a header row in a different format than the data body.
Is there any way of cycling through each sheet in the workbook and identifying each occurrence of a list?
I've been playing with the code at the bottom of the post, and it finds the boundaries of each list providing (at the moment) that each list starts on row 1. There are other problems with it however.
And to identify the values in the header row? .....
View 9 Replies
View Related
Jan 15, 2009
I need a formula to sum column C if data in column A and Column B are found anywhere else in the list. For Example
A............B.......C
0103019..C.......5
0103019..1.......2
0103019..14.....1
0103019..C......4
Column D would show
9
2
1
9
View 9 Replies
View Related
Nov 20, 2008
I have a sheet with many columns of data relating to different companies as shown below (obviously my actual sheet has much more data):
NOTE: the Mr. Excel forums display the data in the correct form. I've tried to fix it here but obviously that didn't work perfectly, so if you want to view it correctly, click on the link above.
Comp Name Facility Name Product Name clean date
Comp A
Plant 1A Prod A1 11/11/2008
Prod A2
Prod A3
Prod A4
Plant 2A Prod A1000 12/1/2008
Prod A1001
Comp B
Plant 1B Prod B1 12/5/2008
Prod B2
In a new worksheet I want to see only the information relating to the Facilities, specifically the clean date of each facility, such that the information looks something like this:
Facility Name clean date
Plant 1A 11/11/2008
Plant 2A 12/1/2008
Plant 1B 12/5/2008
I know that I can use a simply vlookup formula such as the one below:
=VLOOKUP(C21,Info,3,FALSE), where C21 is the Facility Name and "info" is a list of the last 3 columns of my initial datasheet. However, I need to remember add each new facility name to the 2nd list when it is added to the main datasheet.
Is there a way to have the 2nd sheet automatically add the new facility name every time I add one on the main sheet, but without showing the many empty rows inbetween?
View 4 Replies
View Related
Oct 14, 2011
I have two worksheets each of which includes a left column of unique email addresses (at least, unique within each lsheet)
The data on each sheet is structured identically. What I want is to generate a list of records that appear on both sheets.
View 2 Replies
View Related
May 10, 2007
I have two lists, one is 15,000 records, the other 100 records. I want to find the common records between the two.
I am using this formula currently, but is returning an incorrect result--
=INDEX($B$2:$B$11157,SMALL(IF(COUNTIF($M$2:$M$100,$B$2:$B$11157)>0,ROW($B$2:$B$11157),1000),ROW()-ROW($P$2)+1)-ROW($P$2)+1)
this is the record number in M2
BU1HAD80
it is returning
BI1METBRSM
as the common record. This formula is from Joseph Rubin's book F1 Excel Formulas and Functions
View 9 Replies
View Related
Jul 5, 2011
Is it possible to find the minimum distance between two points using two separate lists of different lengths without creating separate columns of equal row sizes
? I am trying to find the shortest distance form one point to another which is a fixed value. I am using the standard distance formula: =SQRT(((X2-X1)^2)+((Y2-Y1)^2)+((Z2-Z1)^2)).
My X1,Y1, Z1, has 2,000 rows in three columns that need to be compared to find the minimum distance from my one row/column of X2,Y2,Z2.
Is there a command that could go through and use each row of the X1, Y1, Z1, while looking for the MIN of the above formula without having to create an equal amount of rows for the X2, Y2, Z2?
I know I could do it by running this out the long way and then finding the min after I do all the math but I am wondering if there is an automated way for Excel to go through and do the forumla and then only return the MIN value?
View 8 Replies
View Related
Jan 14, 2009
I have a calendar where the user inputs the day Jan 1st starts on. This will then input the date on the following days. I need a formula to find when the 31st of Jan is and input a 1 for the 1st of Feb against the relevant day it lands on. See file attached.
View 5 Replies
View Related
Apr 17, 2006
I am having a problem where imported data from access will not be refreshing in a cell. It will not perform a calculation using the imported data. What the code does is import the data into a cell, then if the label of the row is not empty, perform a calculation. The weird thing is, if I open the VBA editor and go through my code line by line hitting F8, it works as I would expect. It is only when I run the macro either as a button or with the control toolbar that it will not work properly. I am not very experienced with VBA
Sub DrivesByAutomationByDonorGrp()
Worksheets("Mkt Penetration_DonorGrp").Range("C4:F2005").Clear
Worksheets("Mkt Penetration_DonorGrp").Columns("F").NumberFormat = "0.00%"
Worksheets("Mkt Penetration_DonorGrp").Columns.Hidden = False
'Columns("C:E").Select
'Selection.EntireColumn.Hidden = True
Dim qt As QueryTable
sqlstring = "select [Drives Without Automation], [Drives With Automation]" _
& " from qryDrivesByAutomationByDonorGrp"..................
View 4 Replies
View Related
Sep 28, 2006
Example. I have a range of information on sheet 2 in cells A1:A25 that contains values that are text. Another range in B1:B25 that has numerical values. I would like to link the last value entered from those ranges to cell A1 & B1 on Sheet 1. Is there a formula option to do this?
View 5 Replies
View Related
Aug 10, 2009
i need to identify the first and last duplicat entrys and delete all rows in between.
eg keep row 275 and 277 and delete row 276 all duplicates only in column C ..
View 9 Replies
View Related
Aug 1, 2014
I've got a spreadsheet with various amounts in cells A3:L5. I want to find the last non-blank entry in each row but only where the entry is in a column headed "Guaranteed PRB" (found in row 1). Then I want it to return the column header title found in row 2, which is a date.
I've attached a sample of the spreadsheet with the expected answer in column M.
I've got as far as formula:
=LOOKUP(2,1/(a3:l3<>""),$a$2:$l$2)
how to also make it look at row 1's headers too.
View 5 Replies
View Related
Oct 16, 2009
I m trying it out I find in the Win, Loss, Draw columns when there is no entry the formula leaves a 1 when there should be a 0 in the Draw column.
View 4 Replies
View Related
Oct 22, 2007
i had this formula at one time but lost it.
i am trying to figure out how to evaluate a column and get the cell address of the cell with the last entry
example
--A
1 e
2
3
4 g
5
6 h
all other cells under A6 are blank
the answer is A6
View 9 Replies
View Related
Jul 14, 2006
Dim lCount As Long
Dim rFoundCell As Range
Dim sfind As String
Dim cl As Range
Set rFoundCell = Range("A1")
For lCount = 1 To WorksheetFunction. CountIf(Columns(1), TextBox1.Value)
Set rFoundCell = Columns(1). Find(What:=TextBox1.Value, After:=rFoundCell, _
LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False)
With rFoundCell
End With
Next lCount.........................
this macro looks up in column A (a list of names) the name entered in textbox1 (of userform2). if found - the value is "copied" to E13. (if not - showes message - " does not exist") for example: it found the value "Dainna" (which was typied in textbox1) and copied it to E13. i want the macro to keep on to the next cell (in the row where Dainna's in- B3) and copy the age to F14.
View 3 Replies
View Related
Jul 28, 2006
I want to find the Row Number, not necessarily the cell value, of the last non-blank entry in a Column.
If the address of this row is found, then that could also be useful. I believe there are some simple Excel functions to do this, maybe involving the X1Up feature. I've searched the threads and haven't found a clear answer this.
Below is code that I custom wrote, but its long and tiresome to use.
'The purpose of this sub is to find the last filled row in a column
'Knowing this last row is useful for telling later
' looping operations which row to stop on.
'The logic of this sub is that it will look down a column.........
View 9 Replies
View Related
Feb 26, 2012
I'm trying to find a formula that will find an original entry using 4 criteria original entry is cases ordered.
columns A,B,C,D will have to match then give me a result in column E to find original entry if there is one otherwise I will have to enter new row and original entry for cases ordered.
Eg.
A = section
B = description
C = size
D = region
E = cases ordered
Row 2 = fruit, apples, medium, north, 25
Row 45 = fruit, apples, medium, north,
View 3 Replies
View Related