Skip to content

Google Sheets addon for replacing phone numbers with corresponding names.

License

Notifications You must be signed in to change notification settings

A-Bak/Google-Sheets-Phonebook-Add-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Sheets Phonebook Add-on


This add-on allows the users to more easily substitute phone numbers with corresponding names in a Google Sheets document. Its main purpouse is to allow users to receive a readable form of a phone subpoena utilizing a pre-existent set of phone numbers and names.

Installation


The add-on is currently under review in the Google Marketplace and it will most likely be under review for the foreseeable future. Therefore, it is not possible to install it through the marketplace

Add-on is under review

Alternative installation:

  1. Open Google Sheets
  2. Open Google Apps Scripts (located in the Extensions menu on the toolbar)
  3. (Optional) Download Phonebook.gs from one of the releases
  4. Copy the entire contents of Phonebook.gs
  5. Replace the function myFunction() in Code.gs with the contents of Phonebook.gs
  6. Reload Google Sheets (it might take more than one try)
  7. Done

Note: The script will only work for the one specific Google Sheet. You will have to repeat this process for different sheets.

Step 4 Step 5-1 Step 5-2 Step 6

Authorization


The add-on is not a verified Google app. Google Sheets will ask for permissions to run the script on the attached Google Sheets document the first time you try to use the add-on. You will have to sign in with a Google account and give the add-on permissions to see, edit, create, delete Google Sheet documents. The add-on only sees (reads) and edits Google Sheet documents, but the permissions are grouped together.

Authorization steps:

  1. Attempt to use the add-on (e.g. try to select a phonebook)
  2. Authorization Required - Google Sheets will ask for permission to run the script
  3. Sign in with a Google account
  4. Click Advanced
  5. Click Go to Untitled project (unsafe)
  6. Click Allow
  7. Done

Step 1 Step 2 Step 3 Step 4 Step 5 Step 6

Usage


In order to use this add-on you need to create a separate sheet containing pairs of phone numbers and names that will act as a 'phonebook'. This sheet will be used by the add-on as a reference to know which phone numbers need to be replaced in a subpoena. The pairs of [Number, Name] must be located in the first two columns of this sheet without any empty rows.

Screenshot_1

To replace phone numbers in a subpoena you need to first read a phonebook by using the Select Phonebook button. After you have selected a phonebook you can use the Replace Phone Numbers button to select a sheet in which you want to replace phone numbers with corresponding names.

Screenshot_1

When selecting a sheets to be used as phonebook, type in the sheet name exactly as it appears in the tabs at the bottom.

Screenshot_1

Similarly, you need to input the sheet name correctly when choosing a target sheet where the phone numbers will be replaced.

Screenshot_1

Afterwards, each number that appears in the selected phonebook should be replaced with a corresponding name in the target sheet which containing the information from a subpoena.

Screenshot_1