Using IF Statement

C

ClaytonS

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS
 
C

cisse_5

Try

=IF(B15="*","X","")

In my equation I had a real number to specify and it worked but if you
specify if B15 equals anything then the answer may always be X or Nothing.
 
R

Ron Rosenfeld

I have to columns and basically want to say IF B15= any cell in Column A, put
an "X" in this cell. If it does not equal a number in columan, leave it
blank. I am not sure how to write this statement. I'm trying to verify
Journal entry numbers that are posted when i pull them into a spreadsheet
from Oracle.

Any help would be greatly appreciated.

thanks - ClaytonS

=IF(COUNTIF(A:A,B15)>0,"X","")


--ron
 
C

ClaytonS

Thanks!

cisse_5 said:
Try

=IF(B15="*","X","")

In my equation I had a real number to specify and it worked but if you
specify if B15 equals anything then the answer may always be X or Nothing.
 
Top