---
title: "Merging two 2D arrays/datasets/tables with Google Apps Script &#8211; Andrew Roberts"
author: "Sourabh Choraria"
date: 2020-03-31T07:15:49+00:00
canonical_url: https://pulse.appsscript.info/p/2020/03/merging-two-2d-arrays-datasets-tables-with-google-apps-script-andrew-roberts/
markdown_url: https://pulse.appsscript.info/p/2020/03/merging-two-2d-arrays-datasets-tables-with-google-apps-script-andrew-roberts.md
categories:
  - "Sheets"
  - "Solutions"
tags:
  - "@andrewroberts6"
  - "andrewroberts.net"
featured_image: https://pulse.appsscript.info/files/2020/03/Screenshot-2020-03-30-at-15.33.46.png
description: "Ever needed to merge two similar datasets and automatically get rid of any duplicates? This article describes how to do that using the SsObjects Google Apps Script library. Source: Merging two 2D arrays/datasets/tables with Google..."
---

# Merging two 2D arrays/datasets/tables with Google Apps Script &#8211; Andrew Roberts

![Merging two 2D arrays/datasets/tables with Google Apps Script &#8211; Andrew Roberts](https://pulse.appsscript.info/files/2020/03/Screenshot-2020-03-30-at-15.33.46.png)

[![](https://pulse.appsscript.info/files/2020/03/Screenshot-2020-03-30-at-15.33.46.png)](http://www.andrewroberts.net/2020/03/merging-two-2d-arrays-datasets-tables-google-apps-script/)

> Ever needed to merge two similar datasets and automatically get rid of any duplicates?

This article describes how to do that using the [SsObjects Google Apps Script library**](https://script.google.com/a/script.gs/d/1DT5SFzl-QLOINuA-Gg2FL9SbqNDE30HA5z4Rn9yeSbpKxMMq8uPhqZQi/edit?usp=drive_web).

Source: *[Merging two 2D arrays/datasets/tables with Google Apps Script – Andrew Roberts*](http://www.andrewroberts.net/2020/03/merging-two-2d-arrays-datasets-tables-google-apps-script/)

---

*Published by [Sourabh Choraria](https://pulse.appsscript.info/p/author/scriptgs/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2020/03/merging-two-2d-arrays-datasets-tables-with-google-apps-script-andrew-roberts/](https://pulse.appsscript.info/p/2020/03/merging-two-2d-arrays-datasets-tables-with-google-apps-script-andrew-roberts/)*
