<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vikas Mishra on Medium]]></title>
        <description><![CDATA[Stories by Vikas Mishra on Medium]]></description>
        <link>https://medium.com/@vikasmishra1?source=rss-09045ced9bac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8B3pwUWwYjaUZNZl</url>
            <title>Stories by Vikas Mishra on Medium</title>
            <link>https://medium.com/@vikasmishra1?source=rss-09045ced9bac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:14:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vikasmishra1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Extract URLs to Separate Cells in Excel]]></title>
            <link>https://medium.com/@vikasmishra1/how-to-extract-urls-to-separate-cells-in-excel-d1bc5316f773?source=rss-09045ced9bac------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1bc5316f773</guid>
            <category><![CDATA[excel-training]]></category>
            <category><![CDATA[excel-for-business]]></category>
            <category><![CDATA[excel-tutorial]]></category>
            <category><![CDATA[how-to-extract]]></category>
            <category><![CDATA[excel-formula]]></category>
            <dc:creator><![CDATA[Vikas Mishra]]></dc:creator>
            <pubDate>Wed, 27 Mar 2024 11:07:14 GMT</pubDate>
            <atom:updated>2024-03-27T11:07:14.132Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever dealt with a spreadsheet overflowing with URLs? Do you need to quickly identify the websites behind those long links? Look no further! This guide will equip you with the magic of Excel formulas to effortlessly extract domain names from URLs and populate them into a separate column.</p><p><strong>Why Extract Domain Names?</strong></p><p>There are numerous reasons why you might want to separate domain names from URLs in your spreadsheets:</p><ul><li>Data Analysis: Isolating domain names allows you to analyze website traffic sources or identify trends in website usage.</li><li>Email Marketing: Extract domain names from a list of customer email addresses to personalize marketing campaigns based on their companies.</li><li>Lead Generation: Identify potential leads by extracting domain names from website backlinks.</li></ul><p><strong>The Formulaic Approach: Unveiling the Magic</strong></p><p>Excel provides a treasure trove of formulas to manipulate text data. Here are two popular options to extract domain names from URLs:</p><p><strong>1. The MID, FIND, and SUBSTITUTE Trio (For URLs with “http://” or “https://” )</strong></p><p>This formula breaks down into smaller, more manageable parts:</p><ol><li>MID(text, start_num, num_chars): This extracts a specific number of characters from a text string.</li><li>FIND(text1, text2, start_num): This finds the position of a specific text (text1) within another text (text2), starting from a specified position (start_num).</li><li>SUBSTITUTE(text, old_text, new_text): This replaces occurrences of old_text with new_text within a text string.</li></ol><p><strong>Here’s the formula in action:</strong></p><p>Excel</p><p>=MID(A2, FIND(“://”, A2, 3)+3, FIND(“/”, A2, FIND(“://”, A2, 3)+3) — FIND(“://”, A2, 3) — 3)</p><p>Explanation:</p><ul><li>FIND(“://”, A2, 3): Finds the position of “://” within cell A2, starting from the third character (to avoid capturing “http://” or “https://”).</li><li>+3: Adds 3 to the position to move beyond “://”.</li><li>MID(A2, …, …): Extracts characters from cell A2 starting at the calculated position and ending…</li><li>FIND(“/”, A2, FIND(“://”, A2, 3)+3): Finds the position of the first slash “/” after “://”, again starting from the calculated position.</li><li>- FIND(“://”, A2, 3) — 3: Subtracts the starting position of “://” and 3 to get the number of characters to extract.</li></ul><p><strong>2. The SUBSTITUTE and RIGHT Combo (For Simpler URLs)</strong></p><p>This formula streamlines the process for URLs without the “http://” or “https://” prefix:</p><p>Excel</p><p>=SUBSTITUTE(SUBSTITUTE(RIGHT(A2, LEN(A2)-FIND(“/”, A2)+1), “.”, “”), “/”, “”)</p><p>Explanation:</p><ul><li>RIGHT(A2, LEN(A2)-FIND(“/”, A2)+1): Extracts everything from cell A2 to the right of the first slash “/”, including the slash.</li><li>SUBSTITUTE(…, “.”, “”): Removes any periods “.” from the extracted text.</li><li>SUBSTITUTE(…, “/”, “”): Removes the final slash “/” to obtain the clean domain name.</li></ul><p><strong>Bonus Tip: Applying the Formula Across Cells</strong></p><p>Once you’ve entered the formula in a cell (e.g., B2), simply drag the formula’s corner (the small square) down to apply it to the entire range where you want domain names extracted. Excel will automatically adjust cell references within the formula.</p><p><strong>Embrace the Power of Automation!</strong></p><p>Extracting domain names in Excel is a breeze with these formulas. Now you can conquer those URL-laden spreadsheets with ease, unlocking valuable insights and streamlining your workflow. So, go forth and unleash the power of domain name extraction!</p><p><strong><em>For shortcut and shortest ways to find the domain just paste the below formula to the right side of your URL cell:</em></strong></p><p><strong><em>=SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(REPLACE(REPLACE(A2, 1, IFERROR(FIND(“//”, A2)+1, 0), “”)&amp;”/”, FIND(“/”, REPLACE(A2, 1, IFERROR(FIND(“//”, A2)+1, 0), “”)&amp;”/”), LEN(A2), “”), “.”, REPT(“ “, LEN(A2))), IF(LEN(A2)-LEN(SUBSTITUTE(A2,”.”,””))=2,LEN(A2)*2,LEN(A2)*3))), “ “, “.”)</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1bc5316f773" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>