Add to Chrome

Log In

Sign Up

Try Gigabrain PRO

Supercharge your access to the collective wisdom of reddit, youtube, and more.
Learn More
Refine result by
Most Relevant
Most Recent
Most Upvotes
Filter by subreddit
r/sheets
r/excel
r/googlesheets

How to Find Broken Links in Excel

GigaBrain scanned 50 comments to find you 44 relevant comments from 9 relevant discussions.
Sort
Filter

Sources

What's a good way to test for broken links?
r/sheets • 1
best way to check a lot of hyperlinks
r/excel • 2
Help with breaking links
r/excel • 3
View All
6 more

TLDR

Summary

New

Chat with GigaBrain

What Redditors are Saying

How to Find Broken Links in Excel

Using Formulas and Scripts

One effective method for checking broken links in Excel is by using formulas or scripts. A user shared a script that checks the status code of URLs, returning 200 for valid links [1:1]. This can be implemented using Google Apps Script with a function like getStatusCode(url). You can then use conditional formatting to highlight errors or valid links based on the response codes.

Power Automate and Power Query

For those who prefer not to delve into scripting, Power Automate or Power Query can be useful tools. These applications allow you to automate the process of checking hyperlinks and identifying broken ones [2:1]. While these tools might require some setup, they can save significant time when dealing with large datasets.

Excel Functions and Conditional Formatting

Another approach involves using Excel functions such as TEXTAFTER and TEXTBEFORE combined with WEBSERVICE to extract information from URLs and check their validity [2:3]. Conditional formatting can also be applied to visually indicate which links are broken or working correctly.

Macro Solutions

Macros can be employed to automate the process of checking URLs. One user provided a macro script that processes each URL and marks those that return error codes like 404 [5:1]. This approach is particularly useful for handling large volumes of data efficiently.

Troubleshooting Broken Links

If you're encountering issues with broken links due to file location changes, ensure that all related files are stored in the same directory or drive [4:2]. Network permissions can also affect link accessibility, so verify that both the workbook and linked files have the necessary access rights [4:3].

These methods offer a range of solutions for finding and fixing broken links in Excel, catering to different levels of technical expertise and dataset sizes.

See less

Helpful

Not helpful

You have reached the maximum number of searches allowed today.

Get faster answers with our extension.

The Gigabrain extension dives deep into billions of discussions, bringing you the most relevant and informative answers on the spot.

Add to Chrome

Source Threads

POST SUMMARY • [1]

Summarize

What's a good way to test for broken links?

Posted by AnonAppliedPhysicist · in r/sheets · 5 years ago
2 upvotes on reddit
1 replies
Helpful
Not helpful
View Source
ORIGINAL POST

Hi all,

I have about 8k rows of dropbox image links and want to find if any of them result in download errors, or if they are bad links.

I tried running the following formula;

The dropbox links are in column A;

=ARRAYFORMULA(IFERROR(IMAGE(A2:A)), in column B

and

=ARRAYFORMULA(IF(ISBLANK(B2:B),"LINK ERROR",)) in column C

I also tried to do a conditional formatting in Column B for "turn red if cell in column B is empty" , but it shows as if all the cells are full even though some images arent loading and DO result in errors.

​

What's a good way to test for broken links?

1 replies
6
6745408 · 5 years ago

This is something I've used in the past. If the link is good, it'll return 200.

function getStatusCode(url){
   var response = UrlFetchApp.fetch(url);
   return response.getResponseCode();
}

You may have to give it access -- but I'm not sure. Use =IFERROR(IF(ISBLANK(A1),,getStatusCode(A1))) and drag fill it down. If you have thousands, maybe to 100 at a time -- then 200 at a time.

Then to do some conditional formatting...

Highlight error'd ones

=AND(LEN($A1),NOT(LEN($B1)))

Highlight good ones

=AND(LEN($A1),LEN($B1))

If you're using Linux or MacOS or even WSL, check this script

Good URLs with this will return 301 and bad ones, 000.

5 upvotes on reddit
See 1 replies
r/excel • [2]

Summarize

best way to check a lot of hyperlinks

Posted by Lamps2020 · in r/excel · 6 months ago

Hello! Excel newbie here.

I am working with sheets and sheets of this

I built this spreadsheet with a TON of hyperlinks and now I would like to go through and double check each link. What is the most efficient way to do this? I tried using the "hyperlink" style thinking that would allow me to just click on the link but that didn't work.

I searched the sub and found some formulas that say they make the links clickable or if you hover over them it shows a preview of the web page (would love this option) but I am not exactly sure how to use the formulas on a larger scale.

TIA!

1 upvotes on reddit
8 replies
Helpful
Not helpful
View Source
8 replies
C
caribou16 · 6 months ago

What do you mean by "check each link" ? Check them for what?

3 upvotes on reddit
Lamps2020 · OP · 6 months ago

To make sure it goes to the correct web page. They all have crazy names so I can't tell based on the url

1 upvotes on reddit
ampersandoperator · 6 months ago

Seems like a lot of links to check... how many do you have? Above some number of links, it might make sense to get your computer to do the hard work for you. Doing this manually in Excel seems too 1993 to me... Maybe a different tool is better for this job, like the command line tool curl. Not difficult, but involves learning some command line stuff (and harder if you use Windows).

Otherwise, here's a solution if the pages you're checking the URLs for don't contain too much HTML content:

=TEXTAFTER(TEXTBEFORE(WEBSERVICE(A1),"</title>"),"<title>")

https://preview.redd.it/j5jbe0onj2me1.png?width=1019&format=png&auto=webp&s=056d7518316d9d07b33faae3c58051469f9a7041

WEBSERVICE downloads the page from the URL listed in A1. TEXTBEFORE and TEXTAFTER will find the text between the title tags in the HTML. Size of the HTML is limited to 32767 characters, and WEBSERVICE doesn't work on Mac, as far as I know.

1 upvotes on reddit
D
Decronym · 6 months ago

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

|Fewer Letters|More Letters| |-------|---------|---| |TEXTAFTER|Office 365+: Returns text that occurs after given character or string| |TEXTBEFORE|Office 365+: Returns text that occurs before a given character or string| |WEBSERVICE|Excel 2013+: Returns data from a web service.|

Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.


^(Beep-boop, I am a helper bot. Please do not verify me as a solution.)
^(3 acronyms in this thread; )^(the most compressed thread commented on today)^( has 15 acronyms.)
^([Thread #41308 for this sub, first seen 1st Mar 2025, 12:11]) ^[FAQ] ^([Full list]) ^[Contact] ^([Source code])

1 upvotes on reddit
TheBleeter · 6 months ago

Power automate can be used. Or power query. You can find out the error for a broken link and see the output and return broken for a broken link or whatever you want for a link that works

1 upvotes on reddit
Lamps2020 · OP · 6 months ago

I need to make sure it's a specific link like it goes to the correct web page. Sorry I'm explaining this poorly. The urls are all long crazy names so I can't tell based on the name of the link

1 upvotes on reddit
TheBleeter · 6 months ago

If you want I can do it it won’t take too long provided you give me the sites

1 upvotes on reddit
A
AutoModerator · 6 months ago

/u/Lamps2020 - Your post was submitted successfully.

  • Once your problem is solved, reply to the answer(s) saying Solution Verified to close the thread.
  • Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
  • Include your Excel version and all other relevant information

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
See 8 replies
r/excel • [3]

Summarize

Help with breaking links

Posted by Derekh72 · in r/excel · 5 years ago

Hi all

When I open a file there are a lot of startup prompts about files that are linked but cannot be updated. I want to not get these prompts anymore but I cannot find the links anywhere.

I have used F5 and deleted objects, a lot of objects had the EMBED function not sure what that does

I've searched for all .Xl

Updated all data validation (however my file itself uses a lot of lists)

But there are still links and I can't find where they're linking to in the file to delete them, and the break links button doesn't seem to work.

Any tips?

2 upvotes on reddit
7 replies
Helpful
Not helpful
View Source
7 replies
Havvkeye16 · 5 years ago

I can usually clear all links in either Data > Edit Links or Formulas > Name Manager

The Name Manager ones are the ones that are usually impossible to find.

2 upvotes on reddit
Derekh72 · OP · 5 years ago

Already cleared

2 upvotes on reddit
B
BigLan2 · 5 years ago

Do you have any charts in the file? That's usually where I find unbreakable links.

You might also have some hidden named ranges, you can use vba to list them all out.

1 upvotes on reddit
fuzzius_navus · 5 years ago

Following code is from KuTools and will list all link references in a new sheet with the location. Perhaps it will help:

Sub ListLinks()
Dim xSheet As Worksheet
Dim xRg As Range
Dim xCell As Range
Dim xCount As Long
Dim xLinkArr() As String
On Error Resume Next
For Each xSheet In Worksheets
    Set xRg = xSheet.UsedRange.SpecialCells(xlCellTypeFormulas)
    If xRg Is Nothing Then GoTo LblNext
    For Each xCell In xRg
        If InStr(1, xCell.Formula, "[") > 0 Then
            xCount = xCount + 1
            ReDim Preserve xLinkArr(1 To 2, 1 To xCount)
            xLinkArr(1, xCount) = xCell.Address(, , , True)
            xLinkArr(2, xCount) = "'" & xCell.Formula
       End If
    Next
LblNext:
Next
If xCount > 0 Then
    Sheets.Add(Sheets(1)).Name = "Link Sheet"
    Range("A1").Resize(, 2).Value = Array("Location", "Reference")
    Range("A2").Resize(UBound(xLinkArr, 2), UBound(xLinkArr, 1)).Value = 
Application.Transpose(xLinkArr)
    Columns("A:B").AutoFit
Else
    MsgBox "No links were found within the active workbook.", 
vbInformation, "KuTools for Excel"
End If
End Sub
2 upvotes on reddit
DrMonkeyhead · 5 years ago

Use this: https://www.microsoft.com/en-us/p/xlstylestool/9wzdncrfjptg?activetab=pivot:overviewtab

1 upvotes on reddit
G
Gregregious · 5 years ago

Go to Data → Existing Connections. That should show you everything going on.

You can also disable the prompts.

https://docs.microsoft.com/en-us/office/troubleshoot/excel/control-startup-message

2 upvotes on reddit
Derekh72 · OP · 5 years ago

Did that, links still there.

2 upvotes on reddit
See 7 replies
r/excel • [4]

Summarize

How Can I Repair All Broken Links Within a Workbook?

Posted by personofsecrets · in r/excel · 5 years ago

Hello,

I've been working an a workbook that contains hyperlinks to SDS sheets found on a local drive. What people see is a hyperlink labeled "SDS" next to a chemical name.

Today, I found when clicking on a link, the message "Cannot open the specified file."

So I remade that hyperlink by getting the address from the folder that the document is in and editing the address with the edit hyperlink window.

Then I found that every single hyper link in the excel workbook has this problem.

What I identified is that in broken hyperlinks, the starting portion of the address was somehow replaced with the following.

"......"

On a working link that part of the address looks more like this.

"\server1\Public\Departments"

Additionally, I found that all blank spaces in between words of the document name were replaced with the following.

"%20"

So when my link addresses have the full address and regular spaces, the are clickable and open up a window displaying SDS information from the file that they point to.

How can I restore the functionality of my links? I wanted to use the replace function, because that could change all of them (hundreds) at the same time, but I found that the replace function does not see address information stored to a hyperlink.

Please advise me of the fasts way that I can convert my links to the formatting that I found to work and thank you very much. I'm using Excel 2010.

Update:

I opened up a version of the excel sheet found on another drive and found that those links are working in that workbook.

What is interesting is that the links within the workbook that do open up a stored PDF seem to be identical to the links within the workbook that only open the "cannot open the specified file" message.

I now have absolutely no idea why the links are broken... Will set this post to solved when someone tells me why this discrepancy between workbooks despite same addresses happens.

2 upvotes on reddit
3 replies
Helpful
Not helpful
View Source
3 replies
personofsecrets · OP · 5 years ago

Update:

I opened up a version of the excel sheet found on another drive and found that those links are working in that workbook.

What is interesting is that the links within the workbook that do open up a stored PDF seem to be identical to the links within the workbook that only open the "cannot open the specified file" message.

I now have absolutely no idea why the links are broken... Will set this post to solved when someone tells me why this discrepancy between workbooks despite same addresses happens.

1 upvotes on reddit
_
_jandrewc_ · 5 years ago

I find that the original relationship bt the Excel book and the linked files will not survive if either component is budged around. Try to keep all project files together in the same project folder on the same drive to minimize this. I don't have a bulletproof explanation for why Excel isn't smarter on this front.

2 upvotes on reddit
Juxtavarious · 5 years ago

If only one can access it, I'd imagine it has to do with where the workbook is stored. Something from one file is blocked from reaching the other file because of something on the network telling it not to. Without access to the files or network, it's hard to say.

2 upvotes on reddit
See 3 replies
r/googlesheets • [5]

Summarize

Macro to check URLs?

Posted by lkvee · in r/googlesheets · 2 months ago

I downloaded a CSV file of the URLs I saved with Pocket before it shut down. There are almost 2000 rows. Column A has the title. Column B has the YRL. The last Column in C has a date sramp.

How do I set something up to check and ensure each URL is still good, and marking those that are 404 or unreachable (due to domain shutting down)?

1 upvotes on reddit
2 replies
Helpful
Not helpful
View Source
2 replies
A
AutoModerator · 2 months ago

/u/lkvee Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
One_Organization_810 · 2 months ago

Try this script:

//@OnlyCurrentDoc

function getRange(functionName, rangeAddressString) {
    const RANGE_RE = '(?i:' + functionName + ')\\s*\\(\\s*(((\'.+?\'|[^\\s]+?)!)?(?:[A-Z][A-Z]?[0-9]*:(?:[A-Z][A-Z]?[0-9]*|[0-9]+)|[A-Z][A-Z]?[0-9]*|[0-9]+:[0-9]+))\\s*(?:\\)|,)';

    let re = new RegExp(RANGE_RE).exec(SpreadsheetApp.getActiveRange().getFormula());
    let rangeAddr = (re != null ? re[1] : rangeAddressString).toUpperCase();

    let range = rangeAddr.indexOf('!') == -1 ? SpreadsheetApp.getActiveSheet().getRange(rangeAddr) : SpreadsheetApp.getActiveSpreadsheet().getRange(rangeAddr);
    if( range == null )
        throw new Error('Argument must be a range.')

    return range;
}

function CHECK_URL(urlRange) {
    let range = getRange('CHECK_URL', urlRange);

    let rows = range.getNumRows();
    let cols = range.getNumColumns();

    if( rows != 1 && cols != 1 )
        throw new Error('Range must be either a single row or a single column (or a single cell).');

    let result = range.getValues().flat().map(url => {
        if( url === undefined || url === null || url === '' )
            return undefined;

        let response = UrlFetchApp.fetch(url);
        return response.getResponseCode();
    });

    return rows >= cols ? result : [result];
}

Then put this in D2 - or where ever you want the results to be:

=check_url(B2:B)

Feel free to build something around this if you find it useful.

1 upvotes on reddit
See 2 replies
r/excel • [6]

Summarize

How do I find an external link?

Posted by KJ6BWB · in r/excel · 4 years ago

It seems like there isn't something that just checks "everything", right? I have a spreadsheet that warns me (every time I open it) that "This workbook contains links to one or more external sources that could be unsafe. If you trust the links, update them to get the latest data. Otherwise, you can keep working with the data you have."

If I try to update the links then I get a popup that tells me that they can't be found and if I click to edit then I get another popup that tells me that it's looking for "Book 4". It won't tell me where it thinks Book 4 is located and I see no way to find where the thing is that's trying to do something with Book 4.

I did find https://support.microsoft.com/en-us/office/find-links-external-references-in-a-workbook-fcbf4576-3aab-4029-ba25-54313a532ff1 but "Press Ctrl+F to launch the Find and Replace dialog" didn't find anything and it's a somewhat complex workbooks with a number of tabs that all do complex things.

I never created a Book 4 though so I have no idea where this is coming from. How can I just find the spot/object?

1 upvotes on reddit
4 replies
Helpful
Not helpful
View Source
4 replies
F
fuzzy_mic · 4 years ago

Try using GOTO Special Formulas to find the formulas and see if any of them have external links.

1 upvotes on reddit
K
KJ6BWB · OP · 4 years ago

It's a very big workbook with a lot of formulas.

1 upvotes on reddit
A
AutoModerator · 4 years ago

/u/KJ6BWB - please read this comment in its entirety.

Once your problem is solved, please reply to the answer(s) saying Solution Verified to close the thread.

Please ensure you have read the rules -- particularly 1 and 2 -- in order to ensure your post is not removed.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
M
MightiestDuck · 4 years ago

GoTo Special Formulas may help. But it could also be in something other than a cell. Data validation lists, etc.

The trickiest one of these that I've encountered ended up being in a conditional format. Check the conditional formatting for each sheet (and make sure to set the drop-down to the entire worksheet, not just the selection).

But unfortunately I haven't found a way to definitively get Excel to tell you where broken link issues are. :/

2 upvotes on reddit
See 4 replies
r/excel • [7]

Summarize

Removing the repeated ending of multiple cells

Posted by Single-Doubt1794 · in r/excel · 2 months ago

I have a list of file paths 1000's of cells long that all end in (*BROKEN LINK*) that I am trying to delete from every one. For example \\example\test\info (*BROKEN LINK*) and I need it to just be \\example\test\info. Is there an efficient way of removing this from every cell in the column without having to go cell by cell and deleting it?

3 upvotes on reddit
7 replies
Helpful
Not helpful
View Source
7 replies
H
HappierThan · 2 months ago

Ctrl+H Find [space](*BROKEN LINK*) Replace with [just select and Enter] Replace All

EDIT: Don't forget the leading space!

https://preview.redd.it/h0va4bzd5q8f1.jpeg?width=537&format=pjpg&auto=webp&s=55c7970dc88bfef4b0420877c913e56d816b5ae8

6 upvotes on reddit
Single-Doubt1794 · OP · 2 months ago

SOLUTION VERIFIED

2 upvotes on reddit
reputatorbot · 2 months ago

You have awarded 1 point to HappierThan.


^(I am a bot - please contact the mods with any questions)

1 upvotes on reddit
Single-Doubt1794 · OP · 2 months ago

AHH the space first was the key!

1 upvotes on reddit
H
HappierThan · 2 months ago

Protocol would have you select correct answer(s), hit their Reply and type Solution Verified to award point(s) as per Rule 6. OPs can (and SHOULD) reply to all solutions with SOLUTION VERIFIED thanks.

5 upvotes on reddit
A
AutoModerator · 2 months ago

/u/Single-Doubt1794 - Your post was submitted successfully.

  • Once your problem is solved, reply to the answer(s) saying Solution Verified to close the thread.
  • Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
  • Include your Excel version and all other relevant information

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
ProfessionThin3558 · 2 months ago

>=TEXTBEFORE(A1," (*BROKEN LINK*)")

That will only return the text before what is in the quotes.

3 upvotes on reddit
See 7 replies
r/excel • [8]

Summarize

How to find hidden link in massive file?

Posted by Possible_Value_801 · in r/excel · 3 years ago

Just inherited a 200mb+ excel file with one of our financial models on it, and one of the things it keeps referring to upon startup is 'data source not found on local drive'.

The thing is, there's nothing in how the model operates that depends on another file for data, it's all self-referent, only referencing sheets in the same file.

I'd like to find these links and get rid of them or find some way to sever the connections so it potentially speeds up the file (?)

Any help would be appreciated.

​

EDIT: Thanks everyone, seems like there's no connected external data or anything else as far as I can tell. Just going to turn off autorecalculate for now and handle the doc that way.

38 upvotes on reddit
8 replies
Helpful
Not helpful
View Source
8 replies
O
Orion14159 · 3 years ago

Go to find and type in .xls, check the advanced options so it's searching in formulas, and that it's searching the whole workbook, then use "find all"

If there's another workbook connected from an errant paste of a formula or something it'll find it.

Additionally going to file - external links, and then break all of the links if there are any to be broken

12 upvotes on reddit
B
Badboy4live · 3 years ago

There might be a named range that's causing the problem

Check

Formulas > Defined Names > Name Manager

  1. Maybe check

Data > Queries & Connections

For any connections to other sheets

27 upvotes on reddit
C
Cedosg · 3 years ago

here's the kicker.

sometimes it's a hidden name and there are macros to unhide them and delete them. i use the following.

Sub Show_All_Named_Ranges()

Row = 1

For Each n In ActiveWorkbook.Names

n.Visible = True

Next n

End Sub

sometimes, it's part of a graph or chart.

sometimes it's part of a conditional format formula.

6 upvotes on reddit
thedeepdark · 3 years ago

I’ve also found that sometimes if there are also hidden tabs, first you have to unhide those for this vba to work.

2 upvotes on reddit
Real_garden_stl · 3 years ago

Don’t forget about temporary names either which I don’t think show up with just “names”

1 upvotes on reddit
A
AutoModerator · 3 years ago

I have detected VBA code in plain text. Please edit to put your code into a code block to make sure everything displays correctly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0 upvotes on reddit
B
basejester · 3 years ago

Data->Edit Links

23 upvotes on reddit
SledgeHog · 3 years ago

I usually search for [ in cell values when I'm looking for a stray link. Usually gets the ones that aren't defined.

11 upvotes on reddit
See 8 replies
r/excel • [9]

Summarize

Comparing 2 excel files to identify duplicates

Posted by J_sandy1 · in r/excel · 14 days ago

I am comparing two excel files and need to confirm if there are duplicates to remove. What’s the best formula to do this and how? TIA!

2 upvotes on reddit
4 replies
Helpful
Not helpful
View Source
4 replies
paladin21aa · 14 days ago

If you're using two different files, you'd better use Power Query for it. It might clean both tables and export a results table with clean data even with the files closed.

However, if you really need a formula, you can run an XLOOKUP or a FILTER on one file to locate the records that appear on the other file, but you're likely to need both workbooks open for it to work seamlessly.

1 upvotes on reddit
Match_Data_Pro · 13 days ago

I think you need to first determine what defines a duplicate? Is it just 1 column? Several columns? Exact matches or approximate.

Sometimes data quality changes how we define a duplicate. If you do exact only matches, you might miss some similar records.

Matching and deduplication can seem easy at first, but the devil is in the details when it comes to data. Feel free to ask me any questions, happy to help if I can.

1 upvotes on reddit
A
AutoModerator · 14 days ago

/u/J_sandy1 - Your post was submitted successfully.

  • Once your problem is solved, reply to the answer(s) saying Solution Verified to close the thread.
  • Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
  • Include your Excel version and all other relevant information

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
masterjv81 · 14 days ago

https://support.microsoft.com/en-us/office/how-to-compare-data-in-two-columns-to-find-duplicates-in-excel-fbeab47c-dd7a-4cf2-8aaf-50fc19d85dcc

1 upvotes on reddit
See 4 replies

Top People to Talk to

These are some of the top contributors related to
sheets
excel
googlesheets
A

AutoModerator

No bio available
2000
Karma
10000
Posts
10000
Comments
View Profile
Chat w/ Profile AI
6

6745408

No bio available
124327
Karma
2039
Posts
10000
Comments
View Profile
Chat w/ Profile AI
C

caribou16

No bio available
208710
Karma
42
Posts
7820
Comments
View Profile
Chat w/ Profile AI
G

Gregregious

No bio available
72090
Karma
39
Posts
4755
Comments
View Profile
Chat w/ Profile AI
H

Havvkeye16

No bio available
5987
Karma
7
Posts
1251
Comments
View Profile
Chat w/ Profile AI
F

fuzzius_navus

No bio available
10500
Karma
51
Posts
2855
Comments
View Profile
Chat w/ Profile AI
_

_jandrewc_

No bio available
4002
Karma
20
Posts
1213
Comments
View Profile
Chat w/ Profile AI
J

Juxtavarious

No bio available
16224
Karma
199
Posts
2424
Comments
View Profile
Chat w/ Profile AI

Related

How to fix broken links in Excel

how to update links in excel

how to remove external links in excel

how to manage data connections in excel

how to troubleshoot excel formulas

how to use excel's link manager

AI Answer

🤖

how to find broken links in excel

Here are some key considerations for finding broken links in Excel:

  1. Use the "Edit Links" Feature:

    • Go to the Data tab.
    • Click on Edit Links (if it's available). This will show you a list of all linked workbooks and their status. Look for any links marked as "Error" or "Not Found."
  2. Check for Formulas:

    • Use the Find feature (Ctrl + F) to search for #REF! errors, which indicate broken links in formulas.
    • You can also look for formulas that reference external workbooks (e.g., [WorkbookName.xlsx]SheetName!CellReference).
  3. Use VBA for Advanced Checking:

    • If you're comfortable with VBA, you can create a macro to loop through all the links and check their status. This is useful for larger workbooks.
    Sub FindBrokenLinks()
        Dim Link As Variant
        For Each Link In ThisWorkbook.LinkSources(xlExcelLinks)
            If Dir(Link) = "" Then
                Debug.Print "Broken link: " & Link
            End If
        Next Link
    End Sub
    
  4. Check Named Ranges:

    • Sometimes, named ranges can also contain links to external files. Check the Name Manager (Formulas > Name Manager) for any references that may be broken.
  5. Manual Inspection:

    • If the workbook is not too large, manually inspect cells that you suspect might contain links, especially those that pull data from other sources.

Recommendation: Start with the "Edit Links" feature for a quick overview. If you find broken links, you can then decide whether to update or remove them based on your needs. Using VBA is a great option for larger datasets or frequent checks.

Still looking for a better answer?

Get more comprehensive results summarized by our most cutting edge AI model. Plus deep Youtube search.

Try Gigabrain Pro for Free
gigaGigaBrain Logo
Support

Who are we?

Get API access

Leave us feedback

Contact us

Legal

Terms of Use

Privacy Policy

Shopping Tools

Product Comparisons

2023 GigaBrain Corporation
As an Amazon Associate, GigaBrain may earn a commission from qualifying purchases.