ATXNickTaylor / Honor-Sheets-Formatting

The following repository was created to add functions (formulas) to Google Sheets with specific returns that aid in easing the process of creating texts to be mass communicated to CarePros.
0 stars 0 forks source link

Enhancement: Automated Max Rankings in Template #3

Open ATXNickTaylor opened 9 months ago

ATXNickTaylor commented 9 months ago

Description:

The user has requested an enhancement for the Template to automatically calculate and apply max rankings when populating assistance levels in steps 2-4, eliminating the need for manual intervention through blue button scripts in steps 5-7.

Details:

Currently, after running the initial assistance levels script (steps 2-4), the user must manually trigger three additional scripts (steps 5-7) to apply max rankings. This request aims to streamline the process by integrating the max ranking calculations into the initial script run, enhancing user efficiency and reducing manual steps.

Expected Outcome:

Upon executing the assistance levels script for the initial run, the Template should automatically identify and apply the highest assistance level rankings without the need for further user action. This enhancement should seamlessly integrate into the existing workflow, ensuring a smooth transition and maintaining data integrity.

Benefits:

ATXNickTaylor commented 9 months ago

Added the following script update to each of the “populateAssistanceLevels” scripts:

try { copyCABdata(); applyMaxRankings(); updateLTInitialMatches(); SpreadsheetApp.getUi().alert("All scripts executed successfully."); } catch (e) { Logger.log(e.toString()); SpreadsheetApp.getUi().alert("An error occurred: " + e.toString()); }

The script enhancement above takes what was originally 3 additional executions and calls them within the populateAssistanceLevels script. This saves the user from having to click 3 additional buttons and will ultimately shorten the entire process from 8 steps to 5 steps with only 3 mandatory.

ATXNickTaylor commented 9 months ago

Script enhancement in Testing as of 2024-02-19 at 5:25 PM CST.