MorphineChild
Senior member
I am sure I am missing something stupid but here goes:
I want to make an statement that if a cell = B than it returns a 1 and if the cell equals G than the cell returns a 0. I wrote the if statement to work kind of the opposite of this, but it will not use letters to go to numbers, anyone know what I am doing wrong? Here is what I have written that does not work.
=IF(D8=B, 1, IF(D8=G, 0))
Edit: Easy fix, I needed to put quotes around the "B" and "G"... I knew it was something stupid
I want to make an statement that if a cell = B than it returns a 1 and if the cell equals G than the cell returns a 0. I wrote the if statement to work kind of the opposite of this, but it will not use letters to go to numbers, anyone know what I am doing wrong? Here is what I have written that does not work.
=IF(D8=B, 1, IF(D8=G, 0))
Edit: Easy fix, I needed to put quotes around the "B" and "G"... I knew it was something stupid