Find last cell that contains a specific text in a row

datawiz

New Member
Joined
Feb 14, 2014
Messages
6
Hi,

I am using =IFERROR(INDEX($B$1:$S$1,MATCH("TRUE",B34:S34,1)), "-") formula for Excel to find the last cell containing "TRUE" in a row, returning the values corresponding on row #1. If TRUE does not exist, simply return "-".

When "TRUE" is continuous, I get correct values. However, when there is a break, I get wrong values.

For example, for A24 (row# 25), I get 10 (col K) instead of 14 (col O) and A34 (row# 35), I get 4 (col E) instead of 8 (col I).

Is there a work around with that problem or can someone suggest a better formula?

Thank you for any help!

[TABLE="width: 1235"]
<!--StartFragment--> <colgroup><col width="65" span="19" style="width:65pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 65"][/TD]
[TD="class: xl66, width: 65"]1[/TD]
[TD="class: xl66, width: 65"]2[/TD]
[TD="class: xl66, width: 65"]3[/TD]
[TD="class: xl66, width: 65"]4[/TD]
[TD="class: xl66, width: 65"]5[/TD]
[TD="class: xl66, width: 65"]6[/TD]
[TD="class: xl66, width: 65"]7[/TD]
[TD="class: xl66, width: 65"]8[/TD]
[TD="class: xl66, width: 65"]9[/TD]
[TD="class: xl66, width: 65"]10[/TD]
[TD="class: xl66, width: 65"]11[/TD]
[TD="class: xl66, width: 65"]12[/TD]
[TD="class: xl66, width: 65"]13[/TD]
[TD="class: xl66, width: 65"]14[/TD]
[TD="class: xl66, width: 65"]15[/TD]
[TD="class: xl66, width: 65"]16[/TD]
[TD="class: xl66, width: 65"]17[/TD]
[TD="class: xl66, width: 65"]18[/TD]
[/TR]
[TR]
[TD="class: xl64"]A1[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A2[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A3[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A4[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A5[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A6[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A7[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A8[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A9[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A10[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="class: xl64"]A11[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A12[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A13[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A14[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A15[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="class: xl64"]A16[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="class: xl64"]A17[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A18[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A19[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A20[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A21[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A22[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A23[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A24[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A25[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A26[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="class: xl64"]A27[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A28[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A29[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A30[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A31[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[/TR]
[TR]
[TD="class: xl64"]A32[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A33[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
[TR]
[TD="class: xl64"]A34[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65, align: center"]TRUE[/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[TD="class: xl65"][/TD]
[/TR]
<!--EndFragment--></tbody>[/TABLE]
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Either:

=IFERROR(LOOKUP(9.99999999999999E+307,1/B34:S34,COLUMN($B$1:$S$1)),"-")

Or:

=IFERROR(LOOKUP(9.99999999999999E+307,1/B34:S34,$B$1:$S$1),"-")

Note. A1, A2, etc, is confusing. Guess why?



 
Upvote 0
Thank you for your response! I made the B34:S34 = "TRUE" in 1/B34:S34 and it worked perfectly! I also read your other threads where you explained about BigNum, so now I truly have a good idea what it going on.

Sorry I defined my rows as A1, A2.. where I have unique numbers in my original excel sheet. Next time, I will define them better.

Thank you again! You saved my day!
 
Upvote 0
Thank you for your response! I made the B34:S34 = "TRUE" in 1/B34:S34 and it worked perfectly! I also read your other threads where you explained about BigNum, so now I truly have a good idea what it going on.

Sorry I defined my rows as A1, A2.. where I have unique numbers in my original excel sheet. Next time, I will define them better.

Thank you again! You saved my day!

You are welcome. If the range houses only native TRUE and FALSE values (and text values, but not (text) numbers)...

1/B34:S34

will suffice.

Otherwise: Either...

1/(B34:S24=TRUE)

Or...

1/(B34:S24="TRUE")

would be necessary. (Note. a textual TRUE does not convert to 1 under coercion.)
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top