Feb 24 2024 07:29 PM
Use GROUPBY in Excel to add Blank Rows/Cols After Each Group
to add blank Rows:
=LET(
a, GROUPBY(B4:D13, E4:F13, SUM, , 2),
DROP(IF(BYROW(--(a = ""), SUM), "", a), -2)
)
to add blank Cols:
=TRANSPOSE(
LET(
a, GROUPBY(B4:D13, E4:F13, SUM, , 2),
DROP(IF(BYROW(--(a = ""), SUM), "", a), -2)
)
)
Feb 25 2024 08:47 AM
Nice idea. If to use logic directly
=LET(
a, GROUPBY(B4:D13, E4:F13, SUM, , 2),
DROP( IF( BYROW( a = "", OR ), "", a), -2)
)
Feb 28 2024 12:13 AM