Cell Formulas | ||
---|---|---|
Range | Formula | |
T4 | T4 | =SUM(E4:S4*(--ISODD(COLUMN(E4:S4)))) |
U4 | U4 | =SUM(E4:S4*({1,0,1,0,1,0,1,0,1,0,1,0,1,0,1})) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
T7 | T7 | =SUM(IF(CELL("width",OFFSET(E7:S7,,SEQUENCE(,COLUMNS(E7:S7),0))),E7:S7)) |
U7 | U7 | =SumNotHiddenColumn(E7:S7) |
Lambda Functions | ||
---|---|---|
Name | Formula | |
SumNotHiddenColumn | =LAMBDA(rColsHidden,LET(rH,rColsHidden,SUM(IF(CELL("width",OFFSET(rH,,SEQUENCE(,COLUMNS(rH),0))),rH)))) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
T4 | T4 | =SUMPRODUCT(E4:S4,--ISODD(COLUMN(E4:S4))) |
U4 | U4 | =SUMPRODUCT(E4:S4*({1,0,1,0,1,0,1,0,1,0,1,0,1,0,1})) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
T4 | T4 | =SUMPRODUCT(E4:S4,--ISODD(COLUMN(E4:S4))) |
U4 | U4 | =SUMPRODUCT(E4:S4*({1,0,1,0,1,0,1,0,1,0,1,0,1,0,1})) |
V4 | V4 | =LET(rng,E4:S4,SUM(--(CELL("width",OFFSET(rng,,SEQUENCE(,COLUMNS(rng),0)))>0)*rng)) |
W4 | W4 | =SumNot(E4:S4) |
Lambda Functions | ||
---|---|---|
Name | Formula | |
SumNot | =LAMBDA(rngColumns,LET(rCols,rngColumns,SUM(--(CELL("width",OFFSET(rCols,,SEQUENCE(,COLUMNS(rCols),0)))>0)*rCols))) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
T4 | T4 | =SUMPRODUCT(E4:S4,--ISODD(COLUMN(E4:S4))) |
U4 | U4 | =SUMPRODUCT(E4:S4*({1,0,1,0,1,0,1,0,1,0,1,0,1,0,1})) |
V4 | V4 | =LET(rng,E4:S4,SUM(--(CELL("width",OFFSET(rng,,SEQUENCE(,COLUMNS(rng),0)))>0)*rng)) |
W4 | W4 | =SumNot(E4:S4) |
Lambda Functions | ||
---|---|---|
Name | Formula | |
SumNot | =LAMBDA(rngColumns,LET(rCols,rngColumns,SUM(--(CELL("width",OFFSET(rCols,,SEQUENCE(,COLUMNS(rCols),0)))>0)*rCols))) |