The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Moz Tools
    4. Remove geographic modifiers from keyword list

    Remove geographic modifiers from keyword list

    Moz Tools
    4 2 340
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dsinger
      dsinger last edited by

      I just pulled a search term report for all of 2013 from my PPC account.  What I got was 673,000 rows of terms that have garnered at least 1 impression in 2013.  This is exactly what I was looking for.

      My issue is that the vast majority of terms are geo-modified to include the city, the city and state or the zip code.  I am trying to remove the geographic information to get to a list of root words people are interested in based on their search query patterns.

      Does anyone know how to remove all city, state and zip codes quickly without having to do a find and replace for each geo-modifier in excel?

      for example, if i could get a list of all city and state combinations in the US and a list of all zip codes, and put that list on a separate tab and then have a macro find and remove from the original tab any instances of anything from the second tab, that would probably do the trick.  Then I could remove duplicates and have my list of root words.

      1 Reply Last reply Reply Quote 0
      • Travis_Bailey
        Travis_Bailey last edited by

        This is going to be something of a hack, but likely a time saver. Apply conditional formatting based upon a partial match, likely city state zip. Enter chosen city state zip into column B. The link should walk you through the specifics.

        Next, show only conditional formatted cells. I'm pretty sure you can do this with a filter. I haven't used Excel in a while. I like Sheets now.

        Select all formatted cells, which should just be a shift+down input. Once you've copied and pasted it into another workbook, you can do a find and replace (with nothing) for the city state and zip. If it works like I remember, you should have your root keywords.

        dsinger 1 Reply Last reply Reply Quote 0
        • dsinger
          dsinger @Travis_Bailey last edited by

          I believe this will only solve half of my problem.  I would still have to do a find and replace (with nothing) one by one.  The only difference is that my working list would be smaller.  Right?

          What I need is a way to do a bulk find and replace for partial matches.  So, if my working list of exported search queries is in column A and my list of city and state and zip code combinations are in column C, I need some function that will take the full list of column C and find those as partial matches in column A.  If found, it should remove that part of the query.

          for example, if I have the query "hamburgers phoenix az" in column A and in column C i have "detroit michigan", "phoenix az", "des moines ia", because "phoenix az" is an option from column C and partial matches the query in column A, the net result should be "hamburgers"

          Hope this makes sense

          Travis_Bailey 1 Reply Last reply Reply Quote 0
          • Travis_Bailey
            Travis_Bailey @dsinger last edited by

            If you filter and show only cells that have been formatted a particular way, say red, all you should have to do is copy and paste the results into a new column. Then you should be able to find and replace the city state with nothing once. That should yield your root keyword list.

            Just make a copy and delete the other columns if they're presenting an issue.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Keyword Research: Page Authority and Keyword Difficulty
              rjonesx. 0
              rjonesx. 0
              0
              2
              161

            • MoZ vs SEMRush - Keyword Difficulty and Keyword With Low Competition.
              moz_support
              moz_support
              0
              6
              2.2k

            • Can I export data from Keyword Difficulty on several keywords?
              SamWeber
              SamWeber
              0
              2
              75

            • Can you highlight a list of keywords in reports?
              Level2Designs
              Level2Designs
              0
              5
              190

            • How can I tell what day I added my keywords to the keyword ranking tool?
              unitedairlines
              unitedairlines
              0
              3
              168

            • How do I delete my old keywords in the Keyword Difficulty Tool?
              KaneJamison
              KaneJamison
              0
              2
              430

            • Why have my rankings dropped on my keyword report but there is no change for the same keywords on google??
              Nick_Sayers
              Nick_Sayers
              0
              6
              847

            • How many keywords can I look at at once in keyword difficulty tool?
              insitegoogle
              insitegoogle
              0
              4
              804

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy