Quick one (hopefully)
I have a column in excel 2010 that has either the value TRUE or FALSE in the cell
I want to copy the value of another cell if the value is TRUE
Here’s what I have:
A1 some value
B1 TRUE
C1 =IF(B1=TRUE,A1,"")
I have tried the following (none of which work):
=IF(B1=TRUE,...
=IF(B1="TRUE",...
=IF(B1,...
I have also tried column B as General and as Text
I have noticed that if I type the word TRUE or FALSE into the B column it left aligns it instead of being centred which may give some clues.
What is the way to do this?
Normally if you type TRUE or FALSE into a cell they default to “Boolean values” (not text) so you don’t use quotes, in which case your first formula should work, i.e.
=IF(B1=TRUE,A1,"")….however, if the column is formatted as text you would need quotes like
=IF(B1="TRUE",A1,"")If neither work then perhaps there are some leading or trailing spaces in B1?