Skip to content

MiguelAngelHorta/Google-Sheets-Assessment

Repository files navigation

Google Sheets Assessment

This automation project facilitates the creation of a consolidated summary view by extracting and organizing responses from designated cells across multiple tabs. It is particularly valuable for structuring the responses generated from questionnaire templates within a Google Sheets file.

updateExportAndOwnersTab file

This script updates an export and owners tab in a Google Sheets document. It reads data from multiple sheets and specific cells within those sheets, and populates a new sheet with the data in a specific format and vlookups with rating category data. Additionally, it pulls column B from the export tab containing the concatenated 'Owners' email data and then splits the data into separate rows using semicolons as a delimeter. Finally, it displays a notification that the export is complete.

  • Export Tab generation: template 3

  • Owners Tab generation: template 5

sortTabsAndSetC4Values file

This script that sets the value of cell C4 on all sheets in the active spreadsheet to the respective sheet name, except for the sheet named "Dashboard". Further, This script sorts the sheets in a Google Sheets spreadsheet based on the last 4 digits of the tab name in a specific format ("XXX-0001"). It first sorts the sheets based on the tab name and then reorders the sheets based on the sorted array.

resetTabs file

This script resets the status of all sheets by updating Cell C58 to 'Not started'. This is useful for resetting each sheet at the end of the assessment

AutomationButton file

Creates custom menu button in google sheets titled 'Automation' which allows user to run appscripts with the click of a button. template 4

Dashboard file

This script navigates to the "Dashboard" tab of the active Google Sheet and displays a toast notification with the message "Going to Dashboard". This is assigned to the dashboard image on the top right corner of each assessment.

Excel Functions in assessment template:

Used to calculate scores based on reference: =IF(C12="Null","-",SUM(IFERROR(VALUE(VLOOKUP(C12,Reference!$G$3:$H$17,3,0)),0), IFERROR(VALUE(VLOOKUP(C18,Reference!$G$3:$H$17,3,0)),0), IFERROR(VALUE(VLOOKUP(C34,Reference!$G$3:$H$17,3,0)),0), IFERROR(VALUE(VLOOKUP(C47,Reference!$G$3:$H$17,3,0)),0)))

Used to pull Owner's department from by using an array textjoin fucntion to concatenate the respective owner to each control. =ARRAY_CONSTRAIN(ARRAYFORMULA(TEXTJOIN("; ", TRUE, IF(IFERROR(MATCH(Owners!$F:$F, IF(C4=Owners!$A:$A, Owners!$F:$F, ""), 0),"")=MATCH(ROW(Owners!$F:$F), ROW(Owners!$F:$F)), Owners!$F:$F, ""))), 1, 1)

Used to pull the domain name and control description =VLOOKUP(REGEXREPLACE(C4, "\s*(.*)", ""), Controls!A:C, 3, FALSE)

Template

template1 template2

About

Automation used to manage an assessment in google sheets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published