Returning a Text Value

  • Thread starter Thread starter bob
  • Start date Start date
B

bob

This is a array formula. If BN2:BN31 = 1, then display the corresponding
value from the same row in column A. Column A contains all text values

I have tried this without success: {IF($BN$2:$BN$31=1,$A$2:$A$31,))}

Can anyone help? Thanks.

Bob
 
Try this formula
=IF($BN$2:$BN$31=1,$A$2:$A$31,"")

'To apply to all cells in one stretch
--Copy the above formula as text to clipboard
--Select the range say BO2:BO31.
--Press F2. and paste teh formula to the active cell
--Press Ctrl+Shift+Enter

If this post helps click Yes
 
What if you copy the formula to the first cell say BO2 and copy down to row
31..not as an array formula ** enter normally**

=IF($BN$2:$BN$31=1,$A$2:$A$31,"")

--If you select all cells in the range BO2:BO31 then Ctrl+Enter

If this post helps click Yes
 
Sorry, but that returns the same result.

Jacob Skaria said:
What if you copy the formula to the first cell say BO2 and copy down to row
31..not as an array formula ** enter normally**

=IF($BN$2:$BN$31=1,$A$2:$A$31,"")

--If you select all cells in the range BO2:BO31 then Ctrl+Enter

If this post helps click Yes
 
What do you have in colA.Try entering dummy values to A1:A5 as in the below
table..and apply the formula to cell c1...the result should be as below...

=IF($B$1:$B$5=1,$A$1:$A$5,)

Col A Col B Col C
aa 1 aa
bb 2 0
cc 1 cc
dd 2 0
ee 1 ee



If this post helps click Yes
 
Back
Top