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

277
Views
Add filter view hyperlinks and rearrange the column values

I have Sheet1 with existing filter view hyperlinks. I want to find any names that dont have filterviews, then create filterviews with hyperlinks to these names and add them in alphabetical order to the list that already has hyperlinks.

Example: In Sheet 1, Col C,E,G, new names: Tracy Jack,Maria Jose , Samuel Philips,Karan Tucker, Vincent Lee, Wes Lee do not have a filter view and hyperlink, I want to add filter view and hyperlink to these names and then add them alphabetically to the list of names with hyperlinks in the rows above

Before adding hyperlinks

After adding hyper link to

Tracy Jack (Col C),

Maria Jose , Samuel Philips (Col E),

Karan Tucker, Vincent Lee, Wes Lee(Col G),

I want to add insert these names with links in alphabetical order in the rows above. Please see pic below for final output

After adding and rearranging list

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

0

Here is the simply script that adds the custom menu 'Scripts' and add two commands: 'Sort column' and 'Sort columns C, E, G':

function onOpen() {
  SpreadsheetApp.getUi().createMenu('Scripts')
  .addItem('Sort current column', 'sort_active_col')
  .addItem('Sort columns C, E, G', 'sort_cols_CEG')
  .addToUi();
}

function sort_active_col() {
  var letter = SpreadsheetApp.getActiveRange().getA1Notation().replace(/^([A-Z]+).+/,'$1');
  sort_col(letter);
}

function sort_cols_CEG() {
  ['C', 'E', 'G'].forEach(letter => sort_col(letter));
}

function sort_col(letter) {
  var range = SpreadsheetApp.getActiveSheet().getRange(`${letter}5:${letter}`);
  range.sort(range.getColumn());
}

They sort a current column of columns 'C', 'E', 'G' respectively (start from row 5).

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!