View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe User[_2_] Joe User[_2_] is offline
external usenet poster
 
Posts: 905
Default IF Statement Help - Not seeing whole cell

"stumped" wrote:
I'm trying to create an IF statement. whe
=IF(B3=GCVW-00001,"D3=X,"D3=O")
I keep getting an error with my formula


At a minimum, I presume you want:

=IF(B3="GCVW-00001","D3=X,"D3=O")

Note the quotes around around GCVW-00001. Without them, Excel is treating
GCVW-00001 as a named reference.

But I suspect want you truly want is the following in D3:

=IF(B3="GCVW-00001","X,"O")


----- original message -----

"stumped" wrote:
I'm trying to create an IF statement. whe

=IF(B3=GCVW-00001,"D3=X,"D3=O")

I keep getting an error with my formula - now when i take out the GCVW
portion and just leave the 1, the formula works fine and does what it should.
But the cells i'm looking at contain more than just a single digit.

Help, please. I need it to search the cell and return an X if it find a
certain value, all the values i'm looking for contain GCVW-0000*

thanks