|
12-09-2018, 10:24 AM | #46 |
Politically Incorrect
Join Date: Feb 2009
Location: Scottsdale, AZ
Casino cash: $2791110
|
There are some pretty cool plug ins you can find for Excel if you search hard enough.
I used a plug in tool from Able Bits called duplicate finder that helped me clean up data tables in Salesforce from massive duplication of leads/contacts and other data issues. Worked great. Now there are so many videos on Youtube and teaching series, it's pretty easy to resolve your issues or learn new tricks.
__________________
"The only difference between sex for free and sex for money is that sex for free costs you a WHOLE LOT more!" ~Redd Foxx~ "The men who drafted Patrick Mahomes" |
Posts: 50,477
|
12-09-2018, 10:31 AM | #47 |
In Search of a Life
Join Date: Dec 2005
Casino cash: $1997391
|
I'm just here for the formulas
|
Posts: 30,809
|
12-09-2018, 11:08 AM | #48 | |
Supporter
Join Date: Apr 2007
Location: Scott City KS
Casino cash: $2334734
|
Quote:
|
|
Posts: 56,777
|
12-09-2018, 12:00 PM | #49 | |
Starter
Join Date: Feb 2009
Casino cash: $1981445
|
Quote:
|
|
Posts: 879
|
12-09-2018, 12:04 PM | #50 |
Veteran
Join Date: Sep 2000
Location: Davis, CA
Casino cash: $4521711
|
I would set up a third table, ideally on it's own tab , that would have one row for each spelling that appears in either of the two lists you are trying to match. That row would have at least two columns, one with the spelling and the other with a unique code for the person the spelling belongs to. (You might want to use separate columns for first and last names.) This would be a many- to-one mapping, of course. The code could be numeric, text or both, as long as it is unique. Then, matching the two lists is easy
You just use the third table to resolve each spelling to a unique code that can be used for matching, perhaps via VLOOKUP(). You may want to learn about SOUNDEX, which is one way to help get many-to-one mappings of names. The "third table" will need to be updated with new spellings, but that can be done as a matter of maintenance. Last edited by DanT; 12-09-2018 at 12:17 PM.. |
Posts: 4,225
|
12-20-2018, 07:17 PM | #51 |
Champs!
Join Date: Mar 2004
Location: Kansas City
Casino cash: $5968476
|
@kccrow
Okay, so I modified some of the ideas/suggestions you provided, and it's a good start. However, I am still running into some issues. So as you can see, Column C is the Verification. It's still showing individuals who are on the roster, even though some of them on the left is not on the right as evidenced on the conditional formatting for duplicates (yellow). I'm using the conditional formatting on Column A and Column E to easily identify the correct name layout. No issues there. I'm also using conditional formatting on Column B and Column F to identify a match of shortened names, which will just require a quick manual verification to see if it's the same individual based off of the long name. No issues there. The issue I'm having is the Column C. The last 4 (Column A & B, rows 8 to 11) are definitely not on the roster on Column D and/or E, yet it's showing they're on the roster. Why is that? I attached the photo with the formatting showing. Additionally, if I were to change the $F$2:$F$17 format to $F:$F (to capture all of column F as it will grow in over time), how can that work? Thanks
__________________
Super Bowl IV, LIV, LVII & LVIII Champions 2020, 2021, 2023, & 2024 AFC Champions 1985 & 2015 Major League Baseball World Series Champions 1980, 1985, 2014, & 2015 Major League Baseball American League Champions 2015 American League Central Division Champs Last edited by Coach; 12-20-2018 at 07:44 PM.. |
Posts: 53,200
|
12-20-2018, 08:40 PM | #52 | |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
Quote:
As for your last statement, growing is usually done by a statement starting in the first row as $F$2:$F2. As you copy down, that formula will grow by row to $F$2:$F3, $F$2:$F4, and so on. Edit: And yes, you can capture an entire column with the formula you stated but it will always be all inclusive. It's great for counting things but not so great for some other things, such as depreciating values of some kind. For instance, I have a spreadsheet that will calculate dead cap space on contracts remaining by year. I set it as an opposite of what I stated above, as SUM(F2:$F$5) for instance. As I fill down, it will sum less and less of the column. Last edited by kccrow; 12-20-2018 at 09:50 PM.. |
|
Posts: 12,623
|
12-20-2018, 09:13 PM | #53 |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
Put this in Column C and see if it does what you want:
=IF(IFERROR(MATCH(IFERROR(CONCATENATE(TEXT(LEFT(A2,FIND(",",A2)-1),""),", ",TEXT(LEFT(MID(A2,FIND(" ",A2)+1,256),1),"")),""),INDIRECT(CONCATENATE("$E$2:",ADDRESS(COUNTA($E:$E),5))),0),0)<>0,"On Roster","Not On Roster") Basically, I substituted the $E$2:$E16 portion of the original formula with INDIRECT(CONCATENATE("$E$2:",ADDRESS(COUNTA($E:$E),5))) What that is doing is counting the total number of non-blank cells in column E, then using that # as a row reference in the ADDRESS function along with Column 5 (which is E) to return an address relative to the number of entries in column E, such as $E$16 when there are 15 entries. I then CONCATENATE that with $E$2 to arrive at a RANGE reference of $E$2:$E$16 which the INDIRECT function uses to return the value at the location originally referenced. |
Posts: 12,623
|
12-20-2018, 09:17 PM | #54 |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
If you want it a tad cleaner, and to show a blank in C when A is blank, use this:
=IF(IFERROR(MATCH(IFERROR(CONCATENATE(TEXT(LEFT(A11,FIND(",",A11)-1),""),", ",TEXT(LEFT(MID(A11,FIND(" ",A11)+1,256),1),"")),""),INDIRECT(CONCATENATE("$E$2:",ADDRESS(COUNTA($E:$E),5))),0),0)<>0,"On Roster",IF(A11="","","Not On Roster")) |
Posts: 12,623
|
12-20-2018, 09:20 PM | #55 |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
Also, keep in mind that if you move things around you have to pay attention to the reference cells in that formula because my entire substitution will not change with inserts of columns... It's basically a hard code. If you change the location from column E to something else, not only do you have to change the letter E to whatever column, but you have to change the #5 in the address portion to whatever column number that is.
|
Posts: 12,623
|
12-20-2018, 09:29 PM | #56 |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
If you want to get all funky... and serious...
Insert a new column D and label it Roster Reference In column C change the formula to: =IF(IFERROR(MATCH(IFERROR(CONCATENATE(TEXT(LEFT(A2,FIND(",",A2)-1),""),", ",TEXT(LEFT(MID(A2,FIND(" ",A2)+1,256),1),"")),""),INDIRECT(CONCATENATE("$F$2:",ADDRESS(COUNTA($F:$F),6))),0),0)<>0,"On Roster",IF(A2="","","Not On Roster")) In column D put a formula as: =IFERROR(ADDRESS(MATCH($B2,$F:$F,0),5),"No Reference") This will give you a sheet that not only verifies that they are on the roster, but will tell you exactly where on the sheet. It would look like this: |
Posts: 12,623
|
12-20-2018, 10:01 PM | #57 | |
MVP
Join Date: Aug 2017
Casino cash: $10000400
|
Quote:
__________________
|
|
Posts: 13,669
|
12-20-2018, 10:08 PM | #58 | |
Champs!
Join Date: Mar 2004
Location: Kansas City
Casino cash: $5968476
|
Quote:
I must be missing something, obviously, so it's on my end.
__________________
Super Bowl IV, LIV, LVII & LVIII Champions 2020, 2021, 2023, & 2024 AFC Champions 1985 & 2015 Major League Baseball World Series Champions 1980, 1985, 2014, & 2015 Major League Baseball American League Champions 2015 American League Central Division Champs |
|
Posts: 53,200
|
12-20-2018, 10:16 PM | #59 |
Champs!
Join Date: Mar 2004
Location: Kansas City
Casino cash: $5968476
|
kccrow,
I'm wondering if it might be easier to email you this document and let you figure it? Obviously, you're only able to see just a portion of it and not the whole puzzle.
__________________
Super Bowl IV, LIV, LVII & LVIII Champions 2020, 2021, 2023, & 2024 AFC Champions 1985 & 2015 Major League Baseball World Series Champions 1980, 1985, 2014, & 2015 Major League Baseball American League Champions 2015 American League Central Division Champs |
Posts: 53,200
|
12-20-2018, 10:22 PM | #60 |
MVP
Join Date: Oct 2011
Location: Michigan
Casino cash: $3257078
|
Let me see if I can put something together that will explain all the formulas. Also, I think you did not alter the formula when you inserted column D as I had outlined, which is why you're getting that particular outcome.
|
Posts: 12,623
|
1 0 |
|
|