Thread: OR statements
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] britwiz@hotmail.com is offline
external usenet poster
 
Posts: 27
Default OR statements



Snake Plissken wrote:
Użytkownik "bhalooneel"
napisał w
wiadomości ....

I have the following formula in a cell:
=IF(MID(S1,16,1)="6","OK","RECHECK")

But I would like to include the possibility that the cell may be empty,
in which case, this would also be OK. But I'm having trouble
incorporating an OR statement to say OR = blank, or something along
those lines.



=IF(S1<"";(IF(MID(S1,16,1)="6","OK","RECHECK");"O K")


Or...

=IF(OR(MID(S1,16,1)="6",S1=""),"OK","RECHECK")