{"id":31621,"date":"2023-10-25T22:07:58","date_gmt":"2023-10-25T20:07:58","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=31621"},"modified":"2024-04-06T19:47:47","modified_gmt":"2024-04-06T17:47:47","slug":"extract-data-from-hyperlinks-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/extract-data-from-hyperlinks-in-excel\/","title":{"rendered":"The Easiest Ways to Extract Data from Hyperlinks in Excel"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31642\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098-1024x576.png\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098-1024x576.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098-768x432.png 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/2F42AFA2-8DEB-4CA8-BA09-09956B86F098.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Sometimes, you might have URLs or hyperlinks within your Excel <a class=\"wpil_keyword_link\" title=\"spreadsheet\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-excel-templates-and-spreadsheets\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">spreadsheet<\/a> and need to extract the link data for accessibility. In this article, we&#8217;ll explore five methods to extract <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/find-external-links-in-excel\/\" target=\"_blank\" rel=\"noopener\">data from Hyperlinks in Excel<\/a>, including plain text URLs &#8211;<\/p>\n<p>Click <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/inserting-a-hyperlink-in-excel\/\" target=\"_blank\" rel=\"noopener\">here<\/a> to learn more about Hyperlinks in Excel!<\/p>\n<p>Let\u2019s explore these methods!<\/p>\n<h4>Download the Excel Workbook below to follow along and understand how to use The Easiest Ways to Extract Data from Hyperlinks in Excel \u2013<\/h4>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/GetURLfromHyperlink.xlsm\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">GetURLfromHyperlink.xlsm<\/span><\/a><\/p>\n<p><strong><span id=\"1\" style=\"color: #ff0000\">Method 1: Manual Copy<\/span><\/strong><br \/>\nOne of the most straightforward ways to extract a URL from a cell in Excel is through a manual copy-and-paste method.<\/p>\n<p>Open your Excel file.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-31663 size-large\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM-1024x356.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"356\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM-1024x356.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM-300x104.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM-768x267.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM-1536x534.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.00.21-PM.jpeg 1563w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Click on the <strong>cell containing the hyperlink<\/strong> that you want to extract.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-31664 size-large\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM-1024x327.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"327\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM-1024x327.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM-300x96.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM-768x245.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-8.01.09-PM.jpeg 1464w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Upon clicking the hyperlink, the linked webpage or resource will open in your default web browser.<\/p>\n<p><strong>Copy the URL<\/strong> from your browser&#8217;s address bar.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31625\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3-1024x494.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"494\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3-1024x494.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3-300x145.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3-768x371.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/A53B007F-3E87-4328-8168-29AB55B847E3.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>This method is simple and ideal for occasional use, especially if you only need to extract a few URLs.<\/p>\n<p><strong><span id=\"2\" style=\"color: #ff0000\">Method 2: Extracting Hyperlink Data<\/span><\/strong><br \/>\nExcel allows you to insert hyperlinks into cells, and you can easily extract the link data from these hyperlinks. Here&#8217;s how:<\/p>\n<p>Start by <strong>selecting the cell<\/strong> that contains the hyperlink.<\/p>\n<p>Look at the <strong><a class=\"wpil_keyword_link\" title=\"Formula\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">Formula<\/a> Bar<\/strong>. You will see the hyperlink&#8217;s address displayed there. You can copy the link from the Formula Bar by highlighting the link and pressing <strong>CTRL + C<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-31666 size-large\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8-1024x364.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"364\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8-1024x364.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8-300x107.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8-768x273.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/0E4EC000-B6E9-4EA2-B03E-196DBA2D78A8.jpeg 1098w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"3\" style=\"color: #ff0000\">Method 3: Right-Click<\/span><\/strong><br \/>\nAnother way to extract the hyperlink URL from a cell is by using the right-click method. Here&#8217;s how you can do it:<\/p>\n<p>Open your Excel spreadsheet.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31627\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM-1024x521.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"521\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM-1024x521.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM-300x153.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM-768x390.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM-1536x781.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.44.59-AM.jpeg 1717w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Locate the cell that contains the hyperlink you want to extract the URL from.<\/p>\n<p><strong>Right-click<\/strong> on the cell that contains the hyperlink.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31628\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM-1024x716.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"716\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM-1024x716.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM-300x210.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM-768x537.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM-1536x1074.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.45.34-AM.jpeg 1713w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>In the context menu, choose:<\/p>\n<p><strong>Open Hyperlink<\/strong>, if you want to open the hyperlink in a web browser, choose<\/p>\n<p><strong>Edit Hyperlink<\/strong>, if you want to edit the hyperlink. From there, you can see and copy the URL.<\/p>\n<p>If you want to copy the hyperlink URL without opening it, highlight the URL, right-click, and choose <strong>Copy Hyperlink<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31629\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-1024x441.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"441\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-1024x441.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-300x129.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-768x331.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-1536x661.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.46.49-AM-2048x882.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>You can paste the copied URL wherever you need it (e.g., in another cell, in a text document, or in your web browser&#8217;s address bar) using the standard paste command (Ctrl+V or Command+V).<\/p>\n<p><strong><span id=\"4\" style=\"color: #ff0000\">Method 4: Extracting Plain Text URLs<\/span><\/strong><br \/>\nIf the link is a plain text URL within a cell, you can use Excel&#8217;s text functions to extract it. Here&#8217;s an example:<\/p>\n<p>Let\u2019s say the plain text URL is in <strong>cell A7<\/strong>.<\/p>\n<p>To extract the URL as is, you can use the formula:<\/p>\n<p><strong>=A7<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31630\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM-1024x676.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"676\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM-1024x676.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM-300x198.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM-768x507.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.50.37-AM.jpeg 1537w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-scaled.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31631\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-1024x372.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"372\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-1024x372.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-300x109.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-768x279.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-1536x558.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-1.51.08-AM-2048x744.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong><span id=\"5\" style=\"color: #ff0000\">Method 5: Using VBA Macros<\/span><\/strong><br \/>\nIf you need to extract link data from multiple cells, you can automate the process using <a class=\"wpil_keyword_link\" title=\"VBA\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-macros-examples\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">VBA<\/a> (Visual Basic for Applications).<\/p>\n<p>Click <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/mastering-vba-loop-in-excel\/\" target=\"_blank\" rel=\"noopener\">here<\/a> to learn more about how to Master VBA Loop in Excel!<\/p>\n<p>Here&#8217;s a simple VBA <a class=\"wpil_keyword_link\" title=\"macro\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-macros-examples\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">macro<\/a> to extract hyperlinks from a range of cells:<\/p>\n<p>Go to the VBA Menu or press <strong>Alt+F11<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31632\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM-1024x852.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"852\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM-1024x852.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM-300x250.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM-768x639.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM-1536x1278.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.02.48-AM.jpeg 1588w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Insert a new module by going to <strong>Insert<\/strong> then <strong>Module<\/strong>.<\/p>\n<p><strong>Copy and Paste<\/strong> this function:<\/p>\n<p><strong><em>Sub ExtractHL()\u2028<\/em><\/strong><\/p>\n<p><strong><em>Dim HL As Hyperlink\u2028<\/em><\/strong><\/p>\n<p><strong><em>For Each HL In ActiveSheet.Hyperlinks\u2028<\/em><\/strong><\/p>\n<p><strong><em>HL.Range.Offset(0, 1).Value = HL.Address\u2028<\/em><\/strong><\/p>\n<p><strong><em>Next\u2028<\/em><\/strong><\/p>\n<p><strong><em>End Sub<\/em><\/strong><\/p>\n<p><strong>Press F5<\/strong> and click <strong>Run<\/strong>.<br \/>\nExit the VBA by pressing <strong>Alt+Q<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31633\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-1024x295.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"295\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-1024x295.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-300x86.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-768x221.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-1536x443.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.11.05-AM-2048x590.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong>Option 2<\/strong>: If you plan to add more hyperlinks to the spreadsheet and need to store the formula on the sheet<\/p>\n<p>Get into VBA (Press <strong>Alt+F11<\/strong>)<\/p>\n<p>Go to the VBA Menu or press <strong>Alt+F11<\/strong>.<\/p>\n<p>Insert a new module by going to <strong>Insert<\/strong> then <strong>Module<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31634\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM-973x1024.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"973\" height=\"1024\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM-973x1024.jpeg 973w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM-285x300.jpeg 285w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM-768x808.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.23.01-AM.jpeg 1191w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/a><\/p>\n<p>Use this syntax for this custom Excel function: <strong>=URL(cell)<\/strong><\/p>\n<p><strong>Copy and Paste<\/strong> this function:<\/p>\n<p><strong><em>Function URL(Hyperlink As Range)<\/em><\/strong><br \/>\n<strong><em>URL = Hyperlink.Hyperlinks(1) .Address<\/em><\/strong><br \/>\n<strong><em>End Function<\/em><\/strong><\/p>\n<p>Press <strong>F5<\/strong> and click <strong>Run<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31635\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-1024x490.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"490\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-1024x490.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-300x143.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-768x367.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-1536x734.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.26.20-AM-2048x979.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><br \/>\nExit the VBA by pressing <strong>Alt+Q<\/strong>.<\/p>\n<p>Now you can use the custom formula <strong>=URL(A2)<\/strong> to extract the url from the hyperlink.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31636\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM-1024x307.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"307\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM-1024x307.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM-300x90.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM-768x230.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM-1536x460.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.29.43-AM.jpeg 1743w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong>Drag the formula down<\/strong> to apply it to the rest of the links.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31637\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM-1024x310.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"310\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM-1024x310.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM-300x91.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM-768x232.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM-1536x465.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.30.20-AM.jpeg 1910w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Extract and transform the data as needed.<\/p>\n<p><strong><em>Note: VBA codes cannot be saved in the the default file type .xls. You must use the .xlsm format if you want to save the workbook along with the VBA code.<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM.jpeg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-31638\" title=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-1024x437.jpeg\" alt=\"The Easiest Ways to Extract Data from Hyperlinks in Excel\" width=\"1024\" height=\"437\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-1024x437.jpeg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-300x128.jpeg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-768x328.jpeg 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-1536x656.jpeg 1536w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-17-at-2.38.59-AM-2048x874.jpeg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><strong>Conclusion<\/strong>:<br \/>\nUtilizing hyperlink data in Excel can serve as a valuable asset for data management and process automation. Be it through the native HYPERLINK function or VBA scripting, Excel offers a seamless way to extract hyperlink details from your <a class=\"wpil_keyword_link\" title=\"spreadsheets\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-excel-templates-and-spreadsheets\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">spreadsheets<\/a>. Make sure to use these methods the next time you need to extract data from <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/insert-hyperlink-in-excel\/\" target=\"_blank\" rel=\"noopener\">hyperlinks in Excel<\/a>!<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-au\/office\/hyperlink-function-333c7ce6-c5ae-4164-9c47-7de9b76f577f\" target=\"_blank\" rel=\"nofollow noopener\">Click here<\/a> to access Microsoft\u2019s tutorial on How to Use the HYPERLINK Function!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, you might have URLs or hyperlinks within your Excel spreadsheet and need to extract the link data for accessibility. In this article, we&#8217;ll explore five methods to extract data from Hyperlinks in Excel, including plain text URLs &#8211; Click here to learn more about Hyperlinks in Excel! Let\u2019s explore these methods! Download the Excel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":31642,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"The Easiest Ways to Extract Data from Hyperlinks in Excel","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[56,495],"tags":[1419,64,1421,1420],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/31621"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=31621"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/31621\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/31642"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=31621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=31621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=31621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}