Skip to content

Instantly share code, notes, and snippets.

@Arqentum
Created June 4, 2024 18:48
Show Gist options
  • Select an option

  • Save Arqentum/879ba3af048708f599a7fdfc82cedff0 to your computer and use it in GitHub Desktop.

Select an option

Save Arqentum/879ba3af048708f599a7fdfc82cedff0 to your computer and use it in GitHub Desktop.
Google #Sheet alternating range based on cell value
# Example for 'banding' value in column A2+
# Format, Conditional formatting:
Custom Formula
Apply to range: A2:U50
Formula: =ISODD(MATCH($A2, UNIQUE($A$2:$A2),0))
# ArrayFormula:
={"gg";ARRAYFORMULA(
ISODD(MATCH($A2:$A100
, UNIQUE($A2:$A100)
,0) )
)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment