This tutorial will show you how to create a new Google Sheets function called GOOGLEMAPS which will calculate the distance or duration between 2 addresses or zipcodes using Google Maps data. The function will be built using Apps Script Maps object and JavaScript programming language.