IF-MID Function
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!
|
Quote:
Does the below formula do what you mean? =IF(OR(MID(A25,11,2)="EA",MID(A25,11,2)="E6"),MID( A25,11,2),"") |
Quote:
|
Quote:
Glad to help! But yes, I do ROCK! :) |
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 |
All times are GMT +1. The time now is 08:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com