Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 658

Return Column Headers for non-zero row values

$
0
0

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 all articles
Browse latest Browse all 658

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>