Search For Text In Row?
Jan 8, 2014
I am needing to search for specific text in a row and if the text matches then sum a different area. I currently have the below formula but it wont work unless I only select only cell for the find section:
=IF(FIND("Skills and drills",$R$4:$AA$4)>0,SUM(I4:N4),0)
View 2 Replies
ADVERTISEMENT
Oct 14, 2008
1. Search an excel sheet "column" for a particular type of text and insert values based on that text (if found) in another column.
e.g I have column A1 to A10 with different types of text. I would like to search for the keyword "Risk is high" OR "Risk=High" for each cell in the column and insert a "1" if found beside it's corresponding "B" column. If not found, I would like to insert a "0".
So, if the text "Risk is high" OR "Risk=High" was only found in A6, I would like B6 to be "1". Rest of the values in the B column would be "0's", since the text was not found in any of the other cells.
View 10 Replies
View Related
Jun 29, 2014
I need to create a macro to do the following:
Search the activecell for a text string (a), and then either paste in text string (b) at the end of the cell if (a) is found, or text string (c) if (a) is not found.
For example, if the activecell has "AA/" in it, I want the cell to become "AA/01" (pasting in "01" at the end), and if the cell has just "AA" in it, I want it to still become "AA/01" (pasting "/01" at the end). The macro will be linked to a commandbutton.
View 7 Replies
View Related
Apr 30, 2009
I am using Windows XP and Office 2003.
I am looking to automate a process where information is sent to someone in a text format and they in turn transfer that data to an excel file. It basically looks like this (but includes a lot more info):
Service Request #: 123456
Instrument Type: New Instrument
Lot/Serial #: 123456
SR Type: Product Complaint
Service Coverage: Maintenance Agreement
The info on the left (text preceding the colon) is always the same but the values following the colon can change. The excel file has all of the text before the colon and they just enter the information into the cells. I am looking to make it so that an Excel macro (or maybe a word/outlook macro) automatically scans the text document and sends this info to the exact same cells in excel every time.
The text file is actually a message from an Oracle database and I am not going to be able to make any changes to the way the data comes in.
View 9 Replies
View Related
Jun 7, 2007
Search a worksheet for a user defined text string, and have excell return the contents of a predetermined column in the same row in which the text string was found.
A prepopulated worksheet has the text "gold" entered in cell T278.
1. user searches for "yellow_metal"
2. Excell finds "yellow_metal" in row 278, say in cell A278.
3. Excell then goes to predetermined column (programed as part of macro or VB), say "T", and returns the text contents of the cell in that column, T278 in this example.
4. Excell returns "gold"
View 9 Replies
View Related
Dec 10, 2007
I need to firure out how to find a value based on 2 conditions that are text. Somewhat like this: If customer "acme" is in the central division and in state Alaska, return legal entity Newco.
View 9 Replies
View Related
Jul 18, 2009
I have a data base sheet...now i want to find the text,string,word into the database sheet and want the results to search-engine sheet..i can do this with the help of advanced filter but now i m not able to highlit that text what i find in the search criteria cell...
View 15 Replies
View Related
Jul 9, 2009
Here is what Im trying to do: I have a VERY large excel file (15,000+ lines) that has groups of text (this is all in one column)
I want excel to search for the cells with "UID" and delete that row plus every non-blank row above it. (so it deletes the entire "group") Here is example layout of what Im working with. The end result should be only "groups" without the text "UID" following it.
ExampleCell1
ExampleCell2
ExampleCell3
UID = example
ExampleCell1
ExampleCell2
ExampleCell3
ExampleCell1
ExampleCell2
ExampleCell3
UID = example
Now Im thinking this may be impossible, but I've seen some crazy things done with excel macros and was really hoping someone can help me out. Otherwise Im doing this manually for 15,000 lines of text.
View 9 Replies
View Related
Feb 24, 2010
I have to do a search on a dataset (about 3000 entries) and part of the exercise is to look in some project titles if there is a country or other key words included.
I have look on the web and unable to find a formula that works. Basically what I want to do is to have a formula a looks in the column of titles for a list of keywords on another sheet in the same book.
View 4 Replies
View Related
May 2, 2012
I want to be able to search different columns that have texts and numbers which display only those rows that contain those categories. The columns are labeled by "#/Area/Name/Sector/Type/Value($)/Date"
View 5 Replies
View Related
Aug 21, 2013
I'm having difficulty getting to the result I want using Find or Search. I have a small spreadsheet with data imported from our business system. I need to identify the lines where the Line # is found in the Text column. Using =SEARCH(O2,P2,4), I get the results below. But I want to identify only the entries that are an exact match, not partial matches. Here's a few sample lines:
Line #
Text
Formula Result
What I want
1
77 REFRESH LNS 110,116
16
no
[Code] ......
View 3 Replies
View Related
Dec 17, 2013
I've 2 columns in Sheet1 (data base) whit text in first is names of keys i.e. A1,P14,M18 and in the second column I have where is the key. So I'm looking for macro which will be searching for a key from first column, but in the search result will be place where is this key (the text in second column).
View 4 Replies
View Related
Jun 16, 2008
I am working on a macro and, as part of it, I would like to look at column H of my spreadshet. If the wording in any cell in column H begins with the word, "total" I would like the cell contents of the cell in column G and up one to be dropped down one. Here is an example:
Let's say that the words "total money" is found in cell H2. I would like the cell contents of cell G1 to be moved to G2, making boths cell side-by-side having text in them - G2 and H2.
View 9 Replies
View Related
Jul 16, 2008
I have a list of global e mail addresses which are listed as
Joe Lewis/NL/BNRO/NL
Rocky Balboa/BR/BNRO/NL
What i need to do is to highlight any name that has the letters BR,UY,or PY after the first back slash, so in this instance Rocky Balboa needs to be highlighted
View 9 Replies
View Related
Nov 14, 2008
I have a drop down list in cell C6 which I can choose names that look like this: John Doe 1
There can be a 1 or a 2 at the end of each persons name. I would like a formula to search for the 1 and return a blank cell, or search for the 2 and then divide cells E10 by C10. Can someone help me do this?
View 9 Replies
View Related
Apr 16, 2009
I am looking for a lookup to look for text within Column A that matches text in column D and brings the word in that is in column E ...
View 9 Replies
View Related
Sep 15, 2009
i have a txt file see attached and i need macro to:
1)open the file
2)find the word "Dimension no: 3"
3)go 2 lines dwn and copy the number " 64.999"
4)paste it into excel
file:me.txt
Dimension no: 1
Plane:PL1
Flatness 0.003 0.200 *---
--------------------------------------------------------------------------------
Dimension no: 2
Circle:CR1
Diameter 113.001 113.000 +0.000 +0.300 0.001 *--+---
--------------------------------------------------------------------------------
Dimension no: 3
Circle:CIR0
Diameter 64.999 65.000 -0.300 +0.300 -0.001 ---*---
--------------------------------------------------------------------------------
Dimension no: 4
Plane:PL1--Plane:PL3
Lengthavg 15.500 15.500 +0.000 +0.100 -0.000
View 9 Replies
View Related
Sep 28, 2006
Rather than use Control-F to find the text in a cell, is there some VBA programming that could do the same and then go to the cell or cells containing the text input to be found? I tried recording the macro to find, but it would show up in the VB Editor because I had to close the find function down to then stop recording.
View 7 Replies
View Related
Feb 13, 2007
I'm looking for a macro to search for records that does not contain the word hello world anywhere(any column & any row) on a spread sheet. Then I want to delete that record. I prefer not to use the autofilter function, if possible.
View 6 Replies
View Related
May 3, 2007
I'm trying to write a VBA If statement that searches the text of a cell for a specific string.
Let's say the cell contains "Bismarck State College"
I want the If Statement to search for "Bismarck" in the cell and continue with the If Statement if it's found.
Here's what I have that I found in the forums but it doesn't seem to work:
If Cells(r, 6).Value Like "*bismarck*" Then
BISM = BISM & vbCrLf & Cells(r, 2)
End If
View 3 Replies
View Related
Sep 19, 2007
I am looking for a way to search for text with an input search box. Then when each instance of the word/s is found I want to extract the whole row and dump it to a new sheet. The word/s that I will search for will not be in any specific row or column but scattered around on the sheet. how I can get this started. I have been playing with input boxes but have no idea how to use the data that is inputted to it. I was thinking this was my first step.
View 9 Replies
View Related
Jan 12, 2008
I have a search macro that runs from a command button on Spread sheet Called "find". This currently takes what ever the user types in cell A1 and then searches another sheet called "data" for any instances of what ever the user entered in Cell A1. I want to have a text box on sheet "find" and use that instead of Cell A1. (To keep this posting as short as possible I wont explain why I need to do this). I cant get the syntax right to refer to the text box - can someone point me in the right direction please.
View 7 Replies
View Related
Apr 28, 2014
I basically need a formula in one tab of a spreadsheet that if another cell contains text it will search for that text in another tab and display a useable hyperlink to it.
So I want a formula in A1 in Sheet1 that will search for the text contained in A2 in Sheet2 and display a useable hyperlink to the cell in which that text is contained, in Sheet2.
This may not even be possible, but if it is then that would save me SO much time.
View 6 Replies
View Related
Apr 14, 2009
I recently posted a similar thread which was very well supported but I couldn’t get a solution because my requirements were not clear enough. I would like to try again with a slightly easier and clearer requirement.
I would like a spreadsheet that compares and searches columns for text and returns true if a duplicate is found.
It is similar to a lottery checker except the lines being checked could be a string instead of a single character.
I have attached a spreadsheet which helps explain what I’m trying to achieve.
Basically, a user can sequentially enter a single character to cells F1:F5. These values are then compared to columns A:C. If one of the columns contain the values in column F then return true to G1.
View 2 Replies
View Related
May 27, 2013
I am trying to search words that are in column A (5 letter combinations of sequences) within the text in column B (amino acid sequence).
So I am stumbling upon 2 questions:
- what is the function that would do this search.
- how to acchieve to reverse the text in B1 cell (eg. abcde --> edcba , but with 600 letters),
sample file: test.xlsx
View 4 Replies
View Related
May 22, 2014
I am wondering if the user can use 2 boxes to search and populate the record.
Ie./ Box 1= Vehicle Registration Box 2= Date
This sheet will be used throughout each month and each vehicle registration may have more than one record that month
So I need the user to be able to input the vehicle reg and for the form to populate the relevant record.
I current have a Unique reference which is a combo box that once you select it auto populate the record but this will take forever having to populate ach record to find which one the user is looking for.
View 3 Replies
View Related
Jul 8, 2014
I've got a large Excel table that's full of names and e-mail addresses - it's a report of e-mails that merges some data from two systems we use; a registration form and a database. We want to clean up the data so it only lists folks who 'registered' (it's not always BOTH people listed - sometimes it's only one!) - and the best way to do that is to take the information from a specific column in each row, see if it exists elsewhere in the row and clear the information that doesn't match.
For example:
-A----------------B------------------C--------------------D--------------E------------------F-------------------G-
John ---------- Smith -------- js@email.com -------- Jane -------- Smith --------- js@email.com ------ John
Richard ------ McGee ---------j@email.com-----------Jim----------Samename ----jsn@email.com-------Rich
Mary-----------Ladyface ------ms@email.com--------Steve -------Smith ----------ss@email.com-------Steve
Ideally, for each row I'd like to search A and D for the string from column G. If it finds it, the cell and the two cells to the right are fine - but everything else is 'cleared' (not deleted).
So the above table would look like:
-A----------------B------------------C--------------------D--------------E------------------F-------------------G-
John ---------- Smith -------- js@email.com --------------------------------------------------------------- John
Richard ------ McGee ---------j@email.com-----------------------------------------------------------------Rich
-------------------------- -------------------------------Steve -------Smith ----------ss@email.com-------Steve
View 5 Replies
View Related
Mar 4, 2008
Sheet1 has 500+ rows and 30+ columns of data, sorted by text in column G (last name). I want to create a data input sheet for users to manually key in data. I need help to create a macro to cut and insert the row from the data input sheet into Sheet1 - the first row after it finds a match in column G. The text in G can only be one of ten different "last names".
It needs to be after the first event because of graphing from the data sheet.
View 12 Replies
View Related
Jun 13, 2006
I have a list of product numbers in col. A. In col. O I have a list of file
names that contain the product numbers as well as additional characters. I
need a formula that will search col O for the first instance of the text in
cell A2 and return that value.
The next formula will return all instances that contain the text found in A2.
View 12 Replies
View Related
Oct 2, 2012
I have data on two spread sheets which I am trying to cross reference. On the 1st spread sheet I have a list of product codes e.g. 22886, On the 2nd Spread sheet I have a list of product titles which all include product codes within the text e.g. CHRISTMAS FANCY DRESS COSTUME - SANTA SPARKLE OUTFIT 22886 M
I need to insert a formula into the 1st spread sheet which will tell me if based on the product code it is present in the 2nd spread sheet. I have tried VLOOKUP and I think because I am trying to search for a code within a text string it keeps failing! All cells are general cells but the position of the code within the titles varies.
View 7 Replies
View Related