Skip to content
Grid & Formula
  • Home
  • About Us
  • Error Fixes
  • Excel Formulas
  • Google Sheets
  • Notion Blueprints
  • Contact Us

Google Apps Script to auto sort rows by date on edit

June 2, 2026 by Grid and Formula
Abstract illustration of Auto Sort Rows by Date on Edit with Google Apps Script

Navigate to Extensions > Apps Script. Clear the editor and paste the code below. Save the script. It triggers automatically when you edit a date in Column A (assuming your data has 1

Categories Google Sheets

Google Sheets QUERY Function: Filter by Date Range Fast

June 1, 2026 by Grid and Formula
Abstract illustration of Google Sheets QUERY function filter by date range

To filter a dataset by a date range using the Google Sheets QUERY function, you must explicitly declare the data as a date and format it as YYYY-MM-DD. Assuming your source data is

Categories Google Sheets

Master XLOOKUP With Multiple Criteria Exact Match Now

May 31, 2026 by Grid and Formula
Abstract illustration of Master XLOOKUP With Multiple Criteria Exact Match Now

To perform an XLOOKUP with multiple criteria exact match, skip brittle helper columns and use boolean array logic. Multiply your criteria ranges together to generate an array of 1s and 0s, and lookup

Categories Excel Formulas

How to Highlight Expired Inventory Dates in Excel Fast

May 30, 2026 by Grid and Formula
Abstract illustration of How to Highlight Expired Inventory Dates in Excel Fast

Select your date column. Navigate to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Assuming your first date is in cell C2, paste this

Categories Excel Formulas

The Best Excel Formula for Tiered Sales Commission

May 29, 2026 by Grid and Formula
Abstract illustration of an Excel formula for tiered sales commission

To calculate progressive tiered commissions, abandon brittle nested IF statements. The most efficient, error-free method is using SUMPRODUCT with differential rates. Assuming total sales are in cell B2, tier thresholds in E2:E4, and

Categories Excel Formulas

Recent Posts

  • Google Apps Script to auto sort rows by date on edit
  • Google Sheets QUERY Function: Filter by Date Range Fast
  • Master XLOOKUP With Multiple Criteria Exact Match Now
  • How to Highlight Expired Inventory Dates in Excel Fast
  • The Best Excel Formula for Tiered Sales Commission

Categories

  • Excel Formulas
  • Google Sheets
  • Privacy Policy
  • Do Not Sell My Personal Information
  • Terms and Conditions
  • Contact Us
© 2026 Grid & Formula