I've been trying to create a file to track potential repeat customers without them having membership/serial numbers. If Names in Column A is a match or partial match with names in Column C.
I've managed to get it work when I insert this formula but it is only if the spelling and order of the name is an exact match.
=SUMPRODUCT(ISNUMBER(SEARCH(A32,$C$2:$C$15))*1)>0
What I am trying to achieve but cannot figure out, is how to write the formula so that:
(1) It can also identify in Column B as YES, if the order of the name in Column A is not the same as Column C.
(2) If at least 2 words in a cell within Column A matches Column C.
[
Related
I have a column of strings, representing names, where there can be more than one name per cell and each is separated by a semicolon. There is a column next to it that has a single character which represents a category. To illustrate:
My desired outcome is shown in the second box. What I need is a formula that, for each name in column B, counts up how many instances of the categories in column C were assigned to it.
I'm having difficulty reconciling the fact that there may be multiple names in each cell in column B. Can anyone think of an easy approach here?
Just use COUNTIFS and wildcards:
=COUNTIFS($B$2:$B$5,"*"&$G3&"*",$C$2:$C$5,H$2)
Have 2 columns A and B both contain file names. There are duplicates so there might be more records in column A as compared to column B. I want to create a third column which states there is no match for the same file name in column B Please find the attached excel. Right now I am doing this manually. Is it possible to do this using a ifcountif or a vlookup?
Use
=IFERROR(MATCH(A1,B$1:B$3,0),"No Match")
If there is a match, then the match returns the position number of the match.
Just drag down, edit the array for B as needed.
I will try and keep this as simple as possible. I have a list of names (first, last) in one column (A), then I get a second list which is usually about a quarter of the list in column A.
I want the cells in column B (the short list) to automatically rearrange so that the names are next to the name that matches in column A.
If there is anyone nice enough to tell me, if this match happens how I would go about getting the word present to be entered in the very next column corresponding to the name on another sheet in the same workbook.
As Glitch_Doctor said, you could use vlookup, but put the vlookup in col B using column A as the reference value and the short list as the array. This would only populate when there is a match - excepting typo's ...
I have a list of data "instances" within one column within an excel sheet.
Each instance can have numerous copies. Here is an example:
abcsingleinstanceblah0001
cdemultipleinstanceexample0001
cdemultipleinstanceexample0002
cdemultipleinstanceexample0003
cdemultipleinstanceexample0004
....
Unfortunately the numbering scheme was not preserved across all of this data. So in some cases copies will have randomized numbers. However, the root instance name is always the same.
QUESTION: What would be a good strategy for creating a function that will parse a list of these instances and, in a new column, list all duplicates past the second copy? In relation to the example above, the new column would list:
cdemultipleinstanceexample0003
cdemultipleinstanceexample0004
I need to have the two duplicates with the lowest integer values preserved out of each set of duplicates, which is why in the example above 3 and 4 would have to go. So in the case of randomized numbers, the two instances with the lowest integer values.
What I have thought of
I was thinking to first organize the column by alphabetical order, which should automatically put duplicates in ascending order. I could then basically strip the number value from all instances, and find where there are more than 2 exact duplicates from the core instance name, which would give me the instances with more than 2 duplicates so that I could perform a function on the original data set... but I don't know if there is a better way of doing this or where to go from here.
I'm looking for formula-based solutions.
Assuming your sorted list is in Column A and that you have a row of headers you could use the following formulas in the neighboring columns.
In B:
=LEFT(A2,LEN(A2)-4)
In C (although not really necessary):
=RIGHT(A2,4)
In D starting with row 3:
=IF(AND(B3=B2,COUNTIF(B1:B3,B3)>2),"Del","Keep")
This formula doesn't work in row 2, but you can hard code the first result.
Then filter the list on Column D for "Del" and delete all the rows.
How's that?
Sort your list in column A. You'll want column headings for later so put those in row 1 (or leave it blank. In B2, type =left(A2,len(A2)-4) and drag the formula down to strip the integers. In C3 type =vlookup(B3,$B$2:$B2,1,0). Populate the formula in C3 right one cell and then down the length of the data. Now in D3 you'll have a list that has errors for any entry that only 2 or fewer instances and will have the name for any that have 2 or more. Sorting this list with a filter on row D for #NA will allow you to delete all the rows with less than two entries.
Remove your filter. Then resort the list in column A in reverse order so the high numbers are first. Replace the contents of C2 and D2 with #N/A. Refilter the list on column D for everything but #N/A and delete all the entries that have an instance listed.
I have a list of names and instances in Excel in one sheet, and a list names and of user ID's in another. I want to make a column that references name and user ID on the instance sheet, however some of the user's have identical names. For a 1:1 matching I use a vlookup to get the corresponding ID, but this doesn't work for multiple instances. What can I do to make a column that displays every possible ID associated with that name in the case of a Many:1 relationship? Example:
User Name: User ID:
Rusty McShackleford 1234560
Rusty McShackleford 1234570
Rusty McShackleford 1234580
Rusty McShackleford 1230110
Zap Brannigan 0000001
In the example above, I can match Zap to a user ID because there is only one instance, how would I match Rusty (or all the Rusty's) to an instance. Thanks for your help
Spreadsheet layout:
A2:A15 Names
B2:B15 IDs
D2 {=INDEX($A$2:$A$15;MATCH(0;COUNTIF($D$1:D1;$A$2:$A$15);0))}
Array formula, Ctrl-Shift-Enter in formula window to enter, curled brackets are inserted by Excel, not by a user.
Lists unique names in A2:A15, should be copied down. The column can be hidden.
E2: Cell with a dropdown list, entry is selected from a list of names in column D
F3: =F2+MATCH($E$2;OFFSET($A$1;F2+1;0):$A$15;0), copied down. F2 is an empty cell.
Finds the row(s) of matched name(s) in column A. Column F can be hidden.
E3: =OFFSET($A$1;F3;1)
Selects ID's for the certain name. The formula will be copied down.
Example spreadsheet: http://www.bumpclub.ee/~jyri_r/Excel/All_IDs_for_a_name.xls
A vlookup() requires a unique set of values. In your specific case, I would consider running the vlookup() on the user_id as it seems this a is a unique value that identifies each user.
In that regard:
Create a new tab (sheet)
In column A, copy and paste all "user_id" 's. Make sure to remove duplicates.
Column B -> "instance" use a vlookup()
Column C -> "name" use a vlookup()
Now to get a list of columns with all "Rusty" simply sort column c (Name) from A-Z. Rearrange columns if necessary.
Few reminders with vlookup(). Specifiy range lookup to FALSE. Make sure to use absolute references or better yet - use a table as a reference.