B
Bob Phillips
Look at http://www.xldynamic.com/source/xld.ColourCounter.html and use
something like
=SUM(TRANSPOSE(OFFSET(A6,0,LARGE(IF(ColorIndex(A6:L6)=3,COLUMN(A6:L6)),{1,2,
3,4,5})-1)))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
If the data is columnar, use
=SUM(TRANSPOSE(OFFSET(A1,LARGE(IF(ColorIndex(A1:A100)=3,ROW(A1:A100)),{1,2,3
,4,5})-1,0)))
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
something like
=SUM(TRANSPOSE(OFFSET(A6,0,LARGE(IF(ColorIndex(A6:L6)=3,COLUMN(A6:L6)),{1,2,
3,4,5})-1)))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
If the data is columnar, use
=SUM(TRANSPOSE(OFFSET(A1,LARGE(IF(ColorIndex(A1:A100)=3,ROW(A1:A100)),{1,2,3
,4,5})-1,0)))
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)