Select All Rows Where Specified Text Appears
Oct 21, 2008
I have a range of data that is sorted (about 20,000 rows). In about 15,000 of these rows column D will contain a generic text string. How do I select the entire row where the generic text string appears in column D?
View 3 Replies
ADVERTISEMENT
Jan 16, 2008
What I am looking to do is search using a user input and select all the rows that contain the entered search text.
I have 4 sheet workbook, columns are the same across them all, and what i require is to be able to take a text input from a user, maybe what column to search, and in what sheet. Then search the relevant sheet for matches. Once found the record that contains the match is to be copied to another sheet where filters can e applied. There will be multiple records selected for each search.
View 9 Replies
View Related
Feb 4, 2014
I am trying to find a macro that can search a sheet for any cell that contains the text "Not on AOI" selects a range that contains that cell, 81 rows below, and 2000 columns to the right, then cuts the selection and pastes it 162 rows below the original cell where the text was found. What's hard is that the number of columns between the "Not on AOI" cells is variable.
I'm very new to excel macros and the parts I think I've put together are:
Cells.Find("Not on AOI", After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext, MatchCase:=True).Activate
[Code].....
View 1 Replies
View Related
Apr 7, 2009
I was wondering if it is possible to delete rows if a value appears only 1 time in a column? To clarify since 123 only appears once in column A I want the entire row 4 deleted.
View 2 Replies
View Related
Jan 6, 2008
I have a worksheet containing codes in column A. Where the first 2 digits of the code contains "78" for eg 7801, 7825, 7892 etc then the entire row must be deleted.
View 9 Replies
View Related
Dec 23, 2006
I tried using Conditional Formatting, but for some reason it didn't work. I want a cell to be highlighted and/or bolded when particular text is written. It can be in any cell. This can also include blank cells (if possible within a given area such as 20 cells by 20 cells)
View 3 Replies
View Related
Feb 13, 2014
I use this code to create sheets for courses but the student appears more than once - see attached Sample (Before sheet).
How can the code be changed so that the student only appears once on the sheet? - see attached Sample (After sheet).
Sample.xlsx
View 2 Replies
View Related
Jul 22, 2008
I have a spreadsheet that I need VBA Code to do the following
1) Delete all rows where the word totals appears in Column B for eg "Totals for Vehicles Stocked in 0706" "Totals for Vehicles Stocked in 0707" etc
2) Delete all rows where the value in col m is less than 45
I have written the code, but cannot get it to work-see my code below
Sub Del_TOTALS_Underaged()
FinalRow = Cells(65536, 2).End(xlUp).Row
For i = FinalRow To 1 Step -1
If Cells(i, 2).Value >= "Totals" Then
Cells(i, 1).EntireRow.Delete
If Cells(i, 13).Value < "45" Then
Cells(i, 1).EntireRow.Delete
End If
End If
Next i
End Sub
View 9 Replies
View Related
Jun 9, 2014
I am trying to have my cell show a range of dates, like:
5/25/14 - 5-27/14
I'm trying to use a formula like:
=DATE(2012,5,9) & " - " & DATE(2012,5,9)+2
But when I do this it just appears as:
41038 - 41040
Is there any way to tell excel to format these as dates?
View 2 Replies
View Related
Feb 5, 2014
I would like to use a formula that will pull values into a sum where the values are in a column and the category is in another column. The criteria in the text cells could be located anywhere in the cell.
Example:
Column A Column B
xyzyszt (Baseline) 7890
wrxyz4sdtr (Strategic) 1234567
zecgjioae (Baseline) Infrastructure 71235
qpielcmjj ae (Strategic) New Capability 278332
View 2 Replies
View Related
Jan 30, 2008
When I hide a column in this spreadsheet, text appears in some of the cells that shouldn't be there. When I highlight and try to delete, it won't delete and it doesn't even show up in the function bar. I was able to get it to delete when I do clear, all from the edit menu but as soon as I try formating the cell, it puts it right back. Same text, same formatting. I can't get rid of it.
View 10 Replies
View Related
Aug 14, 2009
I have a long spreadsheet and want to remove rows of information from it if cells contain a specific word. If the cell in column A contains the word "district" or "borough" anywhere in the string of text and irrespective of the case I need to delete the whole row.
View 4 Replies
View Related
Nov 5, 2011
Time spent on each page appears in row 18. Need to sum up all of these pagetimes for each site, to get the total time on site. So in the example below,
D19 would reflect the total time spent on GreenElectricalSupply.com sum of cells D18-G18(1:23.0)
and H19 would display the total time spent on Rexel.com (00:45.0)
So, how to do a conditional sum across row 18, until a new site begins (indicated by the appearance of text in the next cell of row 8).
Data
CDEFGHI8
greenelectricsupply.com
rexel.comnextag.com9WW ONLY: Arrived at site via
[Code] .....
Excel 2007
View 4 Replies
View Related
May 9, 2014
I have a few spreadsheets with a few land transactions. I want to see if the parties involved are male or female, or both (in case of joint titles). And how many. I've tried to use ISNUMBER formulas and COUNTIF formulas but I can't seem to make them work. I've attached an example of what I need to do, the original has many more column with more info, and the names are in a different language which makes it easier to identify as female or not (like 'phany' in english female names etc).
View 8 Replies
View Related
Jun 30, 2014
I have a long list of terms, and I need to identify which of these terms appear in another body of text strings. Rather than searching for each individual term, is there a formula that check the terms for me automatically.
The terms will appear in the larger body of text, but they won't appear on their own, so they won't be perfect matches.
I've attached a sheet to try to illustrate the problem.
Term Checker.xls
View 5 Replies
View Related
Mar 2, 2014
File I have attached or made a link for here Untitled-2.jpg
I am trying to make that amazon cell, all text to appear as one line like the second line foreign conversion fee i want it to appear like that. Rather then having to delete and modify 100's of rows like this.
View 6 Replies
View Related
Nov 25, 2013
I want to count how many times a particular text appears in Column A depending on the number times another text appears in Column B.
Say for example if I have in Column A {A, B, C, D}nd column B I have {AA,BB,CC) and if I want to check how many times column A has "A" value when the column B has "CC" value, then how should I proceed with this ?
View 3 Replies
View Related
Dec 19, 2012
I have number of items and many items appear more than once. I need a formula so that counts the number of item appearing maximum number of times and it displays the name of the text written NOT the number of times it is written. It should also calculate number of times it appears in a particular month.
For E.g.
Table 1-5-2012
Chair 1-5-2012
Fan 3-5-2012
Table 10-5-2012
Fan 1-6-2012
Window 1-6-2012
Glass 1-7-2012
Glass 9-7-2012
The formula should work as follows
Table 2 May-12
Glass 2 July-12
View 6 Replies
View Related
Apr 19, 2014
I am trying to use find and replace but the text that i'm searching for appears three times in the cell. I only need to replace the first occurrence in the cell. Alternatively, if there is a way to do this, can the second and third occurrence be changed?
Example:
Cheryl called Louie to advise she would be late for the meeting. Louie responded that he would meet Cheryl at her office. Cheryl confirmed.
I need to change the first 'Cheryl' to a job title and the second and third Cheryl to her initials (CL) so would read:
Manager of Aboriginal Affairs called Louie to advise she would be late for the meeting. Louie responded that he would meet CL at her office. CL confirmed.
View 9 Replies
View Related
May 25, 2007
I have a very large spreadsheet and want to count the number of times a particular text string shows up in a column. I can't use autofilter due to the 1000 limit.
Here's an example, Column C contains:
Dan Parker
John Doe
Dan Smith
Jill Smith
So if I search on *Dan*, the function should return a count of 2.
I've used COUNTIF before to return values when the whole cell = a certain value but in my case the cell may have 200 characters and I want to count based on a fuzzy search. I would like to do this in a function and not a macro.
View 14 Replies
View Related
Jan 16, 2010
I'm looking for a formula that can determine whether a given sub-string appears in a string. For example if cell A1 contains the string "bathing", and cell A2 contains the sub-string "bat", the formula in A3 would return "TRUE".
However, if the sub-string in A2 is changed to "cat", the result in A3 would be "FALSE". The formula would need to work with strings of different and unpredictable lengths.
View 2 Replies
View Related
Feb 7, 2007
i have a spreadsheet where I need to count up how many times a particular phrase within a text string appears. The text string will be duplicated many times throughout the spreadsheet.
For example :
Miss X was at work on Saturday
Mr XX was at work on Saturday but not Tuesday
Miss Y was at work on Tuesday
So I would like to count up how many times "work on Saturday" appears in my spreadsheet, and then as a seperate query, how many times "work on Tuesday" appears.
View 9 Replies
View Related
Sep 19, 2012
I have values in A1 through A4.
I have a string of text in cell B1.
In C1, I need a formula that displays TRUE if any of the 4 numbers from A1 through A4 are contained within the text in B1. If not, FALSE will be displayed.
Been messing with SEARCH and FIND, but not getting it to work.... not sure if those are the functions I need.
View 9 Replies
View Related
Feb 6, 2012
I want to count the number of times a word appears in a range (like M9:S663), but sorting it by the month it appears (eg: january = 2, february = 56, march = 2000, etc.)
I managed to do this but there has to be a better way
=COUNTIFS(RNM.1;"PRUM Transcripcion";FechaComite;">=01/01/2012";FechaComite;"=01/01/2012";
FechaComite;"=01/01/2012";FechaComite;"=01/01/2012";FechaComite;"=01/01/2012";
FechaComite;"=01/01/2012";FechaComite;"=01/01/2012";FechaComite;"
View 1 Replies
View Related
Nov 12, 2007
Is there a way to get Excel to look down a column for a particular value and where that value appears hide the row it appears in?
We have a series of reports which all have the same template, however we don't want some customers to be able to see some of the products as these are own-label products for which aren't offered to everyone.
I'd like to add this as a macro to a combo-box so that the user can view a report for their customer and then send a copy to the customer with the knowledge they won't see anything we don't want them to...
View 9 Replies
View Related
May 27, 2006
I have a text box that has default text in it. When I mouse down on the box I would like it to select all of the text in the box automatically. Does anyone have any code to do this?
View 3 Replies
View Related
Dec 27, 2009
to be able to select every row, 1-3000, containing a value that will be typed into b2.
In other words, say I type 213 in b2, I need each row that contains 213 to be selected so that I can use those rows in another macro I have running.
View 14 Replies
View Related
Oct 30, 2012
I have recorded the following into a macro where the cursor returns from another workbook and wants to select from where it starts (Row 2) and where it ends (could be one row or could be several hundred) as it is to stop where it sees the next break (empty cell). The first set that is recorded happens to have four rows but could be one row up to several hundred. How can I have the cursor land and select the data if it is only one row, 10 rows or many more? There are more rows below the first group so once it selects and copies the data, the cursor should go to the next group and select the group before copying out again i.e once it copies the first four rows, the cursor will go to row 6 (there are two rows between each group) and select from row 6 to the bottom of that section which may be only row six or could be row 58 etc.
Range(Selection,Selection.End(xlDown)).Select
ActiveCell.Rows("1:4").EntireRow.Select
View 2 Replies
View Related
May 24, 2007
10.000 Rows have full of numbers in Cells.I have a Macro for each row.But I want to use this Macro for all Rows automatically.
View 5 Replies
View Related
Feb 28, 2008
I am trying to record / edit a macro in Excel Office 2003 that selects a cell (c6), then goes to the last cell to the right of that range which I am doing fine
Range("c6").Select
Selection.End(xlToRight).Select
What I do now is select from that last cell found in the range down to the last cell in that column and I am getting that to work OK
Range(Selection, Selection.End(xlDown)).Select
I now have a range of data on one column selected as the last column of data in a range. What I am having difficulty finding the solution to is how I can keep this range highlighted and include on the highlighted range the previous column of data as well (column to the left) - which would give me the last column of data (this months infomation so to speak) and the previous columns data as well (last months so to speak) - so I can then progress to copy paste to a selcted area - later I will add a new column of data so the last column and the previous one moves to the right every month so cannot select by specific cell references
View 2 Replies
View Related