Search Parts Of Columns Looking For Matches In Parts Of Other Columns In A Row
Mar 1, 2014
I have sheets with names of people in columns....some married...some not. When they are married, here's a sample format...
Jones, Donald T | Baker, Sarah Jane | Jones, Sarah Jane | Smith, Sarah J | Jones, Sarah Jane Smith
In this example, I would like to be able to determine which of the Sarah's belongs to Donald w/o having to visually look at each record ( 100,000's of records). (FYI: the names for Sarah would/could be her Maiden Name and possibly a name or two from a former marriage). What I need to be able to do is match and extract the names of Jones, Donald T and Jones, Sarah Jane and Jones, Sarah Jane Smith and eliminate Smith, Sarah J and Baker, Sarah Jane.
In my example, Donald is in the first column, but can be in any column on a row so the name positions are random across the columns. However, the format for each column is then same...Last Name, First Name Middle Name(or Initial) with a comma always after the last name in each column. The length of the last name also varies.
VBA or Formula that will search the cells in the columns of each row and return the names (complete contents of the cells with matching last names) that have a matching last name for that row.
View 3 Replies
ADVERTISEMENT
Nov 28, 2013
I have some values in column A which looks like those in table which is shown down bellow. I have somewhere in the middle of that column one empty cell. Of course i have empty cells after the last value. I want formulas or macro or anything which will cut that column in that empty cell and all cells bellow the empty one put in column B from A1, and all cells above the empty one put in column C from A1. I tried everything but i have problem because i dont know how to eliminate empty cells bellow the last cell with value.
ABC
117
228
339
44
55
7
8
9
View 3 Replies
View Related
Dec 21, 2006
I have a document needed to be printed with some pages in the middle in landscape page type, the rest in portrait. If using Word it would be easier, but in Excel I cant find the section break to chage page setup separately. Is there anyway to do it. Currently I'm printing the document separately in portrait and then landscape with some page break added and page number modified. However it's quite troublesome and easy to make mistake.
View 3 Replies
View Related
Nov 7, 2013
I have a worksheet with 2256 rows. I'm working with Student's total enrollments per grade level and I need totals from some of those rows stacked neatly into columns for distribution.
In my attachments, the starting workbook screenshot is what I am starting with, and the desired end result screenshot is what I need it to look like as the final result.
View 1 Replies
View Related
Dec 10, 2008
I have a spreadsheet with 2 worksheets. On the first "active parts" I have a list of active part numbers and on the second "All Parts" I have all of the parts available.
I want to compare every part in the All Parts worksheet to see if the part number exists on the Active Parts sheet - if it's there, I would like it to return the value "Active" in column B in All Parts. I have a formula in column B in All Parts that seems to work for the first few, but as soon as it finds one that is active, the rest of the cells below all return "Active".
View 3 Replies
View Related
Jun 8, 2006
I am looking to search a column of data (text) and have copy relevant cells to another spreadsheet.
Example:
Enter "Cat" in a userform, and the program would copy all of the following rows to a new spreadsheet:
Cat
cat
your cat
the cat
123 cat
cat123
catters
CAT
Think you guys may get the picture...if cat appears in any way in the cell, I would like that cells contents on a new spreadsheet.
View 3 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
May 30, 2014
I am trying to move some parts of a row (From G:AE) where text is found in G Column. It moves it back 1 column from G
[Code] .....
Attached File : ozeform.csv
View 4 Replies
View Related
Mar 28, 2014
I have some files on disk where I need to copy a part of the file name to make a search in our database. The files are PDF. They can have a long name of short. The only thing that does not change is the last part.
The last part ends like this:
1234_vw golf_Es_1234567_20140321.pdf
I'm interested in the part in red to be taken out and put in a cell to the right of the file name.
I used the below code that I found googling. Now I just to cut the part out in red to be able use it in my search in a easier way.
[Code] .....
View 4 Replies
View Related
Aug 3, 2009
I have a phrase in a listbox formated as such: "Company Name / Company ID # / City, State"
I need to be able to seperate the values out into seperate categories:
Company Name
Company ID #
City
State
Is there any way to do this within the code?
View 5 Replies
View Related
Dec 19, 2009
I'm making a project where there's a list of skills and next to each skill is a cell where the user can put how many skill points are in that particular skill. Now, on a separate worksheet is the place where it shows the consolidation of what skills they know, and how many points are in each. My question is, how can I copy over these skills and how many ranks are in each, without copying over the skills in which they put no points.
View 11 Replies
View Related
Jul 27, 2009
I have a list of dates in column A as follows:
11/1/2015
5/1/2012
8/8/2013
10/22/2015
4/1/2014
4/15/2014
In column B I have set of data as follows:
C 2010@101.0
C 2011
C 2011@101.0
C 2012@101.0
C 2013
C 2013
C 2014@101.0
I need to combine the day and month only in column A with the year (in positions 3-6) in column B
As an example I have "11/1/2015" in column A and "C 2010@101.0" in column B. The desired result in column C is "11/1/2010".
I have tried using the left function in column A with the mid function in column B but haven't had any luck so far.
View 2 Replies
View Related
Aug 15, 2007
I want to create a userform that has several parts to it.
1stly i want to copy information into the text boxes from a macro.
2ndly the number of text boxes could be infinate (in theory), i want 1 for each set of info
3rdly i want a little option tab box thingy for each box,
4thly the boxes and userform to adjust to fit the optimal size
View 9 Replies
View Related
Dec 20, 2008
I am going to use Excel sheets as computer exam forms. What I need to know is: Is there a way of protecting parts of an excel worksheet from alteration? I want a sheet that will accept answers in specific areas only, and will not accept entries or alterations in other areas.
View 9 Replies
View Related
Mar 1, 2010
Does anyone know of a way to select fragments of the following text?
The string is "toby.cameron1".
I need to be able to select just the "toby" and "cameron" parts.
Also this string is variable in that it might be "james.brown" or similar without the number at the end.
I can't use a Left or Right statement because of the varying length of names and the uncertainty of having a number at the end.
Is there a way I can copy the start of the string until the period. And do the same from the end but ignore the number whether it's present or not.
From that, is there anyway to copy the numbers off the end of a string?
i.e. my string is ASY-623 or DRGN-12 or WDSR-7
The string will always be letters a dash and then numbers.
How do I copy only the numbers?
View 9 Replies
View Related
Mar 1, 2007
I have to make a report which calculates hours worked by employees over a weekend.The hours are stored in variable ,part of code is as follows:
For j = 4 To 32
startday = Weekday(thisDate, 1)
If startday = 1 Or startday = 7 Then
dummy = 0
tempnd = Cells(i, j)
weekndsum = weekndsum + tempnd Else
dummy1 = 1
tempdys = Cells(i, j)
weekdysum = weekdysum + tempdys End If
thisDate = thisDate + 1
Next j
Windows("Report.xls").Activate......................
View 2 Replies
View Related
Mar 27, 2007
way to save just a work sheet insteed of the whole workbook.
it is because i have 9 sheets a main menu and 8 differant departments the idea of it is is for a stock take and i want to save them daily so i can goback over them at a later date.
View 6 Replies
View Related
Apr 2, 2007
I often come across a situation where I know a given total, and I know it comes from numbers within a given list, but I do not know which particular numbers they are. The onyl way to find out is to add every single combination of all the numbers in the list. I want to know if there is any formula within Excel which would help me to do that, given that the numbers of combinations are:
Number of items in list Number of combinations
1 1
2 3
3 7
4 15
5 31
6 63
7 127
8 255
9 511
10 1023
Obviously, I would like to be able to do this for any number of items.
View 4 Replies
View Related
Apr 13, 2007
I have a cell located in $X$1 that is always populated with a person's full name.
I need to display their email address, which is the first letter of their first name then their last name + '@company.com', in another cell on Sheet2
So for example 'Bob Smith' would be 'bsmith@company.com'
How can I go into cell X1 of Sheet1 and copy the first letter & the remaining letters after the space in between the names and paste them into Sheet2?
View 9 Replies
View Related
Nov 28, 2007
I've written a VBA add-in containing a couple of custom functions and a couple of right-click menu items. I read somewhere that the best approach is to keep them all in one add-in as this will reduce the load time. Need the best way (if there is a way) of adding a checkbox menu so that people can choose which functions/menu items to install (so that it's a sub-menu system of the main add-in menu)?
View 2 Replies
View Related
Sep 15, 2014
Dividing column in equal parts divide a column in groups with the same rows and the same total sum? For example, I have the column A as following:
8,942
2,807
2,568
5,818
5,818
596
8,942
4,390
1,607
890
8,772
1,103
The total number of rows is 12 and total amount is 52,254
I want to divide the column in three equal parts with the same total. So each group must contain 4 rows with the total sum 17,418
View 9 Replies
View Related
May 23, 2006
Have a list of information and would like to divide that list by a number that the user enters. Then from the total count of nonblank rows divide by the numeber entered by the user didive the list into equal parts and print out each group with a page break per groups.
Have attached an example.
View 6 Replies
View Related
Sep 1, 2007
i have a cell which contains data like this
in cell A1
12. John Smith (67)
There are hidden spaces in cell a1 as well which are not needed, which i can get rid of using TRIM so that may need taken into consideration ??
In Cell A2 i would just like John Smith
In Cell A3 i would just like the 67
the number and . at beginning is not needed just the name and number (no brackets)
View 9 Replies
View Related
Dec 1, 2008
First, ignore the colored portions. This is how I kept track of what I had completed in the form as I created it. Clients attend class once a week and would be marked present on the corresponding day of class. This increases column #3 "classes attended" to "1". What I would like is for my individual classes sheet to reset every Monday (as the date of the report on top) but for the "5groups" worksheet to keep count of the classes attended. Does that make sense? Please, any imput would REALLY be appreciated.
View 14 Replies
View Related
Jun 9, 2009
I have a list of Expense Codes in Column A. They look like this
0010-0020-8200-70.
Where
0010: Represents a Location
0020: Represnts the Business Type
8200-70: Represents Expense Type
I also have 3 tables on the spread sheet, which explains what these codes mean.
I need a macro that will look at the numbers in colum A and return the three types of expenses so they dont have to be looked up manually.
View 7 Replies
View Related
Jun 26, 2009
I have the following code used to fill a listbox control .. and I added some conditions to the code in order to give special authorities to specific users depending on their position and unit? Authority, UserPositon and UserUnit are functions give the user's position, unit and his authority. Can we summarize the red highlighted parts of the code because I am going to use these parts in many other forms of my project?
View 3 Replies
View Related
Apr 12, 2006
I'm trying to set up a spreadsheet that tracks total hours worked and total
units produced. Then I need to have a column that shows how many units per
hour were produced.
Currently, I have something like this:
Column A is in elapsed time [h]:mm
Column B is a Number with two decimal places
Column C divides Column B by Column A
However, I get strange results. For example:
Column A is 6:24:00
Column B is 13
Column C shows 120.00
13 parts in 6:24 hours should be something like 2.1666 parts per hour!
View 10 Replies
View Related
Nov 4, 2007
Is it possible to separate the parts of a mixed number? I have a cell in which is generated a decimal number. I can convert this to a mixed number. What I need to do from there is extract the whole number and the numerator.
View 11 Replies
View Related
Dec 8, 2011
I'm developing a fixture list (involving 26,000 individual fixtures) I'm trying to come up with a Macro which will enable me to delete part of each cell containing the two team reference numbers and the match number, and paste it in another column. I'd like to do this for all 26,000 fixtures.
In case you didn't understand that too well. For example, with the cell value of '1v2-54', I'd like to get rid of the '-54' and put it in another cell.
But the key thing is, using this principle, I'd like all 26,000 fixtures to be done this way. Obviously I'm not going to do it by hand.
As you can see from the screenshot, the pattern of how the column goes:
View 2 Replies
View Related
Jan 7, 2013
I have several cells with text as such:
cell A1: john doe (johndoe@email.com)
cell A2: jane smith (jane smith@email.com)
How can I extract just the name? I want the formula results to be john doe and jane smith
View 2 Replies
View Related