Finding Specific Strings
Jan 4, 2010
I have a combination of letters and numbers in a column. For example.
xx1234567x
1234567xx
xx1234xx1234
I need a formula to tell whether they begin with two letters and have a certain number of numbers then end in letters. Or have letters in the middle. Sorry Im so vague, I just need a start in the right direction. Ideally combined with an IF statement.
In english (If two letters afetr nine numbers then yes)
View 9 Replies
ADVERTISEMENT
Dec 20, 2012
I need to do a vlookup that takes a string from one cell and then tries to find that string (embedded in a larger string) in the table array
Essentially I imagine this involves the FIND function at some point.
Attached is an incredibly simplified example of what I'm looking for.
View 9 Replies
View Related
Nov 15, 2006
Column A has prepopulated list of values of various lengths, no spaces. Need to search column A for certain values at the END of each text string, and then populate the cell right next to it with another constant value.
Example: macro searches column A for cells with "123" at the END of the cell value (whole cell value could be A123 or ABC123, etc...). When macro finds the cells that meet this criteria, it places the constant value "XYZ" in column B right next to the cell in col A.
I need several variations on this theme and the # of characters being searched for at the end of each text string can vary. The constant value to be inserted in Col B can also vary. I imagine 'For Each' loops for every variation would work, I just do not know how to write the code for searching the "end of the text string" part of it
View 9 Replies
View Related
Apr 20, 2007
Lets say I have a column of data and there are many sub parts.
A
John
Apples
xxx
Banana
Peter
Apples
xxx
Banana
yyy
How do I modify the range. find to locate the 2nd "Apples" , 29th "Banana" and so on or is there another method ?
View 9 Replies
View Related
Oct 28, 2009
I have a column of one to three digit numbers (I5:I34), some of which contain an asterisk after them. In I35 i want a formula to find the highest value from that column. Additionally, if two numbers in the column are the same value, but one contains an asterisk after it, it should use that value in I35, instead of the one without the asterisk.
View 6 Replies
View Related
Aug 16, 2013
I have a table with three columns, column 1 is a list of names, column 2 is where I want my result to appear, and column 3 has my array of search values. Column 1 and 2 could have any number of rows with values, but column 3 will have less values. It looks like this if it's working right:
Item List
Result
Search List
[Code].....
What I am trying to do is for each cell in column 1, I want to see if there is a matching value in column 3 - it has to be either an exact match or a partial match (i.e. the string appears somewhere in the values of column 1).
I have been trying to use MATCH like this:
=ISNUMBER(MATCH($A2,$C:$C,0))
but it does not return true unless the match is exact.
way to get these partial string matches to work?
View 3 Replies
View Related
Oct 17, 2008
I'm using Excel 2003 and I have a small problem using text functions. My problem is that in column 'A' I have a name and their year next to it between brackets, like so: Wright Jeffrey (1PBSO)
Now what I have to do, is make two new columns where I extract the surname (Wright) to one columns and the first name in another column (Jeffrey), the "(1PBSO)" doesn't have to go anywhere. Now I wouldn't have a problem with this normally but in the list I have names like 'Van Tongerloo Johan' where VAN TONGERLOO is the surname and JOHAN is the first name. For the first name (Wright Jeffrey (1PBSO)) I just used the LEFT function and then searched for the first space in the string but that doesn't work in the second example anymore.
View 5 Replies
View Related
Jan 1, 1970
This doesn't work
View 13 Replies
View Related
Jun 26, 2008
Need to write a Macro to only extract numbers from text, characters and numbers fields. I would like the numbers to be extracted in column B, C & D. I am only interested in numbers that begins with 200's, 800's and 4500's. see the attached file.
View 3 Replies
View Related
Jan 6, 2014
Need formula to find a specific account no. from a range of text and return that account's value as a usable numeric.
Account number:012345678 XZ
Account value as of 12/31/2013:$12,345,56
Account number:987654321
Account value as of 12/31/2013:$876,543.21
View 12 Replies
View Related
Feb 6, 2007
I have a very large database of quotes. I have created a user interface with several textbox inputs, combobox inputs, and checkboxes. When the commandbutton is pressed I need a list of quote numbers to be generated based on the criteria the user input. I found an example program from here that is for ADVANCED EXCEL FIND. It only uses combo boxs and goes to those rows on datasheet. I have text input and checkbox inputs as well and I don't want it to take the user to the rows, I want just the quote numbers from the rows to be sent back to a textbox. I also read over one based on filtering data in a listbox.
This is my first program in VB, but I did quite a bit in C++ before. I can pretty much understand what all the coding says, I just am overwhelmed with it being so large and not sure how to put it all together.
View 3 Replies
View Related
Aug 3, 2009
I have a string in one of the following formats:
Banana 2, Orange 5, Lemon 0
Banana 7, orange/Lemon 9, cucumber 6
Melon/grape 3, Pineapple/ Orange 1
Banana 1, orangefruit/Lemon 2, pine 8
I would like to take out the first integer that comes after the word Orange (not case sensitive). I'm kinda at a loss here, how do I go about accomplishing this?
View 9 Replies
View Related
Mar 3, 2014
I have a column with lots of rows. I want to locate a specific one and insert some data into this row at specific columns. This is what i have come up with so far:
[Code] .....
View 14 Replies
View Related
Oct 23, 2002
What is the easiest way to find the last occurrence of a value in a table using functions. I want to avoid VB if at all possible and note the row number and use it in an index function to report text adjacent to that last occurrence. I would normally use match but match only records the first match and not the last.
View 6 Replies
View Related
Nov 8, 2012
I tried several iterations of sumproduct, small, and few index matches. no luck.
Several thousand rows, column A is name, column B is city, column C is $.
I want to see the max, min, median for all first names.
=SUMPRODUCT(MAX((Name=Joe)*($))) - seems to work fine
=SUMPRODUCT(min((Name=Joe)*($))) - will not work, zeros come through, even if there are no 0's for Joe
=SUMPRODUCT((Name=Joe)*(SMALL($,1))) - wrong answer
View 5 Replies
View Related
Jul 31, 2013
I was wondering if there is a formula or command to find and delet specific rows. I want to remove people from an excel email list.
On Sheet 1, I have 500 rows with columns for first name, last name, and email.
On Sheet 2, I have 30 rows with columns for first name, last name, and email that appear on Sheet 1 but need to be removed.
Is there a way to do this without manually searching for each email and then deleting the row?
View 4 Replies
View Related
Feb 4, 2009
I’d like to return the range (or cells address) that includes text formatted in Bold and Arial font, this is always in Column “B”, so I’m actually behind the rows number....
View 9 Replies
View Related
Jun 23, 2006
I have a little problem - as you probably guessed.
I have a spreadsheet in which i need to find the value of the last used cell in a row.
e.g spread sheet uses columns "a" to "l" and rows "1" to "75".
Over time rows are filled in with text ("tom" "dick" "harry") from a to b to c, the most recent being to the right but the rows can move at different paces.
I want to count how many many times each value has come up most recently.
View 9 Replies
View Related
Apr 2, 2014
I have a excel file with more then 10 sheets..Some of the sheets contains this word in some random cells" #DIV/0! " I want a macro which can find it in every sheet except parent sheet and can remove it.
View 5 Replies
View Related
Oct 28, 2009
This Macro is supposed to get certain totals for me from diffrent pages. Instead of selecting an entire row I want to select specific cells, so when it finds the word total on the sheet, whose location can change often it will return the value two cells away.
View 3 Replies
View Related
Nov 15, 2011
I am having trouble getting a formula to work with exactly what I need. I need a formula to find the total quantity of each product. The file I'm searching from does not list the product name or description in the subtotal column. The host file is similar to below and I just want the product name and total quantity in the new worksheet. I will have a list of all products we carry in the new worksheet and I want to pull the total quantity ordered for each item, and if none were ordered return a quantity of 0. The program the host file is exported from also lists a header at the top of each page, so for example there may be a header in between the last occurrence of Product D and the Subtotal.
Product A Description Sub description Date Ordered Quantity Ordered
Product A Description Sub description Date Ordered Quantity Ordered
Product A Description Sub description Date Ordered Quantity Ordered
Product A Description Sub description Date Ordered Quantity Ordered
Item Subtotal Total Quantity
Product B Description Sub description Date Ordered Quantity Ordered
Item Subtotal Total Quantity
Product D Description Sub description Date Ordered Quantity Ordered
Product D Description Sub description Date Ordered Quantity Ordered
Product D Description Sub description Date Ordered Quantity Ordered
Item Subtotal Total Quantity
View 2 Replies
View Related
Jun 23, 2012
How many time each item appear in specific range.
For example:
apple
banana
grape
apple
mangosten
orange
banana
banana
mangosten
In that list we should get :
apple=2
banana=3
grape=1
apple=2
mangosten=2
orange=1
banana=3
banana=3
mangosten=2
If I am using =COUNTIF(F6:F14,"apple") then I can get the result of apple.. and just keep changing underlined word but if then i have so many data, i cant do that.
View 3 Replies
View Related
Jun 6, 2013
Any way to search for a value down column A, another value across roW 1, and tells what value lies in the cell at their meeting point. 4 example, I'm looking For "47" somewhere in column a, and also the number 53 somewhere in row 1, and I need to know what value is in the cell where those to meet.
View 1 Replies
View Related
Nov 17, 2008
The easiest way of explaining what I'm after is to say, I have letters of the alphabet, in their own cells, and I want to find them by way of a search. I don't mind how this is done, but it would be good if for example you entered A, C and E, any cells containing those letters changed, maybe became bold, or the cell filled with colour.
View 9 Replies
View Related
Jan 2, 2014
What formula I should use for this condition:
A (Contains many months, e.g. 3 November, 2 December, 10 January, etc. -- in excel date standard format mm/dd/yy)
B (Contains Paid, On process & Waiting for Invoice -- using IF formula)
I want to calculate the percentages of November that has been paid from all of A that contains November in it in column C.
What formula i should use?
I already use =SUMPRODUCT for counting the November.
I only want to use 1 other column to calculate the percentage (C column)
View 4 Replies
View Related
Apr 4, 2013
I have a list of data:
2
140
1
660
10
140
0.92
660
2
130
0.18
660
4
510
0.44
820
4
510
I want to have a formula that finds the sum of the values in Col 1 (Qty) for the rows that equal, eg: 140, in Col 2 (Product) So that I can have a list of Products of the Qty that relates to each product. (there are products in increments of 10 from 10 to 920, that is, 92 products)
View 2 Replies
View Related
May 10, 2014
I have a userform where the user will identify a record to delete. I need to search another worksheet (Month) for the event's name which is associated a date. Once it finds this event's name I need to clear the contents of that cell.
Here is the code I am using for the record deletion from the 'Data" worksheet. I need to also locate and clear the cell as stated above.
View 1 Replies
View Related
Dec 16, 2013
I have an excel worksheet with about 10K rows of data in column A.
I have also another list of data, about 200 rows of data, in column G.
I need to color each cell in column A that contains, anywere in the string, any of the data strings in column G.
Example:
in column A
row 1: info@duende.com
row 2: rasko@silvester.com
row 3: supportonline@fabius.com
row 4: myhelp@friday.com
in column G:
row 1: help
row 2: info
row 3: support
I need rows 1, 3 and 4 in column A to be colored.
View 9 Replies
View Related
Jan 5, 2014
I am working with a nonprofit to set up their financial ledgers. There is one workbook with 12 sheets, one for each month. The goal is to be able to set up a formula that searches through all 12 sheets for every donation that a specific individual has made. For instance, let's say that John Smith gave x amount of money on 1/1/2000, y amount of money on 1/10/2000, and z amount of money on 2/2/2000. This data will appear on 2 different worksheets. I have the following formula, which allows me to look through one sheet at a time:
{=INDEX(Jan!$B:$B,SMALL(IF(Jan!$A:$A=Smith!$A$2,ROW(Jan!$A:$A)),ROW(1:1)))}
Where Column A in each sheet is individual name, and column B is amount donated. Sheet "Jan" is the data for the month of January, and sheet "Smith" is the culmination of John Smith's donations for the full year. Using this array function, I am able to retrieve all data for John Smith in the month of January, but I can't find a way to make one function that searches for all of John Smith's donations in each month. Is there a way to build an array function in VBA that would accomplish this?
View 3 Replies
View Related
Apr 7, 2012
I'd like to be able to search a spreadsheet for a specific word or series of characters. Once all of the ROWS that contain the characters are found, I'd like to be able to have another spreadsheet with ONLY those rows (all columns).
View 8 Replies
View Related