Quantcast
Viewing latest article 30
Browse Latest Browse All 644

Return Column Headers for non-zero row values

I used the following (thx) to get Column Headers for non-zero row values, but it only returned the first occurrence. Is there one that will return all occurrences?

.but * won't work with numeric values try =IF(COUNTA($B2:$D2)=0,"",INDEX($B$1:$D$1,MATCH(TRUE,INDEX($B2:$D2<>"",0),0))) to accommodate 1s as per example...or any text or number values –barry houdini - CommentedFeb 25, 2013 at 21:20@barryhoudini: thanks for pointing this out. I update it (using your INDEX trick)... –Peter Albert - CommentedFeb 25, 2013 at 22:26


Viewing latest article 30
Browse Latest Browse All 644

Trending Articles