Hi,
Please refer attached sample data
I want to convert data in ORIGINAL to CONVERTED .
I have more than 10,000 addresses
Hi,
Please refer attached sample data
I want to convert data in ORIGINAL to CONVERTED .
I have more than 10,000 addresses
Formula
Mr.Formula:
=IFERROR(INDEX(ORIGINAL!A$1:A$1000;AGGREGATE(15;6;ROW($A$1:$A$10000)/(LEFT(ORIGINAL!$A$1:$A$10000;2)="Mr");ROWS(A$1:A1)));"")
andFormula:
=IFERROR(INDEX(ORIGINAL!$A$1:$A$10000;AGGREGATE(15;6;ROW($1:$10000)/(MATCH($A2;ORIGINAL!$A$1:$A$10000;0)-MATCH($A1;ORIGINAL!$A$1:$A$10000;0)-1>=COLUMNS($B:B));ROWS(B$1:B1)+COLUMNS($B:B))+MATCH($A1;ORIGINAL!$A$1:$A$10000;0)-ROWS(A$1:A1));"")
This works only if title is Mr, Mrs.
How to modify for "Dr", "Col", "Lt.Col" Etc
New formulas
1.Formula:
=IFERROR(INDEX(ORIGINAL!A$1:A$10000;AGGREGATE(15;6;ROW($A$1:$A$9999)/ISNUMBER(SEARCH({"Mr."\"Mrs."\"Ms."\"Dr."\"Col."};ORIGINAL!$A$1:$A$10000));ROWS(A$1:A1)));"")
2.Formula:
=IFERROR(IF(MATCH($A2;ORIGINAL!$A$1:$A$10000;0)-MATCH($A1;ORIGINAL!$A$1:$A$10000;0)-1>=COLUMNS($B:B);INDEX(ORIGINAL!$A$1:$A$10000;COLUMNS($B:B)+MATCH($A1;ORIGINAL!$A$1:$A$10000;0));"");"")
If you are willing to go down the Power Query Road, then the attached solves the problem. You do need to list your prefix titles in a separate table.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks