Thread: IF-MID Function
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.newusers
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default IF-MID Function

Hi Robert,

Am Wed, 18 Jul 2012 16:08:55 +0000 schrieb ROBERT0803:

I need a formula that copies the text into my cell when my
=MID(A25,11,2) position is "EA" or "E6" as the value. I need that EA or
E6 to copy into the cell. So the formula would look at the MID
position...if its EA or E6 then copy, if not then leave it blank. PLease
help!


try:
=IF(OR(MID(A25,11,2)={"EA","E6"}),MID(A25,11,2),"" )


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2