+ Reply to Thread
Results 1 to 3 of 3

Help! Extract country values from a list that contains address info?

  1. #1
    Registered User
    Join Date
    03-08-2022
    Location
    Portland, Oregon
    MS-Off Ver
    MS 365
    Posts
    2

    Exclamation Help! Extract country values from a list that contains address info?

    Hi Everyone! I am in desperate need for help. I need to extract only country names from a column (over 100,000 rows). I have provided an example screenshot below (and excel workbook with example data) and other formulas I have tried (they seem to only extract the country name if its the only thing present in the cell.


    ExcelQuestion.JPG

    I need to extract only the country names from Column A (Column A can contain a country name and all sorts of other random data, street addresses, zipcodes, states). These are the formulas I have tried to use without success:

    =IFERROR(VLOOKUP(C1,M:M,1,FALSE),"")
    =IFERROR(INDEX(D$2:D$250,MATCH(A2,D$2:D$29,0),1),"")
    Attached Files Attached Files
    Last edited by esimmons; 03-08-2022 at 07:02 PM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Help! Extract country values from a list that contains address info?

    B2=FILTER($F$2:$F$250,ISNUMBER(SEARCH($F$2:$F$250,A2)),"")

    Copy down

  3. #3
    Registered User
    Join Date
    03-08-2022
    Location
    Portland, Oregon
    MS-Off Ver
    MS 365
    Posts
    2

    Re: Help! Extract country values from a list that contains address info?

    OMG!!!! THANK YOU SO MUCH! This is exactly what i needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] code to only get info from outlook global address for emails in list
    By QIP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2019, 03:46 AM
  2. [SOLVED] Extract email address info to other columns
    By n3mcx1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-21-2013, 03:14 PM
  3. Replies: 12
    Last Post: 12-30-2011, 12:52 AM
  4. Replies: 1
    Last Post: 12-22-2011, 09:57 AM
  5. Replies: 1
    Last Post: 12-22-2011, 09:40 AM
  6. How to extract row and column info from .address
    By MrHockey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2009, 05:34 PM
  7. Add ‘country name’ column to worksheet from a list of country codes.
    By Ben Morton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2009, 09:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1