Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Script function to copy and clean data with date updates #491

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AlfredNwolisa
Copy link
Collaborator

feat: Add Script function to copy and clean data with date updates for "" sheet

  • Implemented combinedScript function to streamline data handling.
  • Added copyDataToCleanedTab function to allow users to copy specified rows from the "Raw data" sheet to the "[CLEANED] For import" sheet. The function allows for user input of the row range and supports copying of selected columns.
  • Added validation to ensure source and destination column arrays have matching lengths.
  • Implemented updateDatesBasedOnColumnC function to automatically update dates in column B based on non-empty cells in column C.

@emmambd emmambd linked an issue Aug 13, 2024 that may be closed by this pull request
@AlfredNwolisa AlfredNwolisa removed the request for review from emmambd August 13, 2024 17:42
@AlfredNwolisa
Copy link
Collaborator Author

This script is to test the functionality to be integrated in the new form sheet alenssandro is working on. For now its being tested on the current form sheet here https://docs.google.com/spreadsheets/d/1Q96KDppKsn2khdrkraZCQ7T_qRSfwj7WsvqXvuMt4Bc/edit?gid=2061813733#gid=2061813733

@@ -0,0 +1,95 @@
function combinedScript() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a section documenting how this script is used, expected inputs, outputs, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically format raw data into import spreadsheet
3 participants