This is a sample Google Apps Script for running the specific function when the specific sheet is edited.
Please copy and paste the following script to the container-bound script of Spreadsheet and set sheets
object.
// When the cells are edited, this function is run by the fire of event trigger.