IF-MID Function

R

ROBERT0803

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

Claus Busch

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
 
Top