Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

131
Views
Import coefficients from a tab

I really need your help for a google script project. I have a sheet with 2 tabs. One with parameters and associated coefficients. (columns 1, 2 and 3) --> TAB 1

I have another tab with other parameters (some parameters are in common) and associated coefficients --> TAB 2

I'd like to create a code that imports the coefficients from TAB 2 and places them next to the correct parameters on TAB 1. In other words, I would like to compare them so place them right next to the coefficients already filled in and opposite the correct parameter in TAB 1.

My code may need to start with something like:

var identifiers = []
  var database = []
  Base.getRange('A11:L' + Base.getLastRow()).getValues().forEach(r => {
    let id = r[0].toString()
    if (r[7] != '') {
      ids.push(id)
      dataBase.push([r[7], r[8]])
    }
    if (r[9] != '') {
      ids.push(id)
      dataBase.push([r[9], r[10]])
    }
    if (r[11] != '') {
      ids.push(id)
      dataBase.push([r[11], r[12]])
    }
  })`

I need your help, thank you in advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can check the simplified sheet: https://docs.google.com/spreadsheets/d/12zxuXmYpC8EGjKxiYH_LIqLQlEgPAZjNxwokvFTU294/edit?usp=sharing

The input are the A coefficient and the B coefficient in the first tab ("CR-MR") and those of the second tab ("Base"). The output must be a board (see picture) with the A coefficient and B coefficient of the first tab, and in the right the A coefficient and the B coefficient of the second tab.

Board (output)

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!