Skip to content

A Google Sheets script to allow performing a smart diff comparison on two cells

License

Notifications You must be signed in to change notification settings

richkuz/google-sheets-diff-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

google-sheets-diff-tool

A Google Sheets Apps Script to allow performing a smart diff comparison on two cells

To add this capability to your Google Sheet:

  1. Open your Google Sheet and click Extensions->Apps Script.
  2. Create an HTML file and paste the DiffSidebar.html code. Save it.
  3. Create a Code file and paste the DiffSidebarcode.gs code. Save it. Click the "Run" button and accept permissions.

From the Google Sheet, highlight any two cells and click the "Diff Two Cells" menu option.

image

image

This uses Google's diff-match-patch JavaScript implementation to perform a diff using levenshtein distance. https://github.com/google/diff-match-patch

About

A Google Sheets script to allow performing a smart diff comparison on two cells

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published