Pages

miercuri, 12 noiembrie 2025

News : Different Types of Rig Controllers and Posing | Mocap Cleanup Course in Cascadeur

News : Unreal Engine 5.7 Feature Highlights

News : Space Explorers Ultimate Edition | Launch Trailer | Meta Quest 3 + 3S

News : Sanatorium Official Launch Trailer

Google Apps Script : how to filter data by the value in a cell and reset the filter.

If you look at this blog, you will find examples of the results of running GAScript scripts in Excel. Today, I will show you how to filter the entire table based on a value from a cell and how to reset it to the original result without filtering.
function reseteazaFiltrarea() {
  const sheet = SpreadsheetApp.getActiveSheet();
  const ultimaLinie = sheet.getLastRow();
  sheet.showRows(1, ultimaLinie);
  SpreadsheetApp.getUi().alert("Toate rândurile au fost afișate.");
}

function filtreazaRanduriDupaCelulaSelectata() {
  const sheet = SpreadsheetApp.getActiveSheet();
  const cell = sheet.getActiveCell();
  const valoare = cell.getValue();
  const coloanaDeFiltrare = cell.getColumn();

  const ultimaLinie = sheet.getLastRow();

  for (let i = 1; i <= ultimaLinie; i++) {
    const valoareRand = sheet.getRange(i, coloanaDeFiltrare).getValue();
    sheet.showRows(i); // asigură-te că rândul e vizibil
    if (valoareRand !== valoare && i !== cell.getRow()) {
      sheet.hideRows(i);
    }
  }

  SpreadsheetApp.getUi().alert(`Filtrare aplicată pentru: ${valoare}`);
}

News : Falconeer Remaster Release Trailer

News : BlizzCon 2026 | Ticket Sale Announcement Trailer

News : How religion, politics, and housing shape society - design by ChrWr.

... another good design on graphics ! one video from the Chris Were .

News : ... another programming youtube channel by rajcodes .

Let's see one video from this youtube channel named “How C Code Becomes a Binary: A Raspberry Pi Walkthrough”.

News : Blender with Stable Diffusion XL Tutorial - 2D abstract art