IF Question

C

carl

Can I modify this:

=IF(MID(N3;6;3)="OLA";MID(N3;6;3)&LEFT(N3;3);Y3&MID(N3;6;1))

to include this:

If AP3="PA-OUT" then ("PA" & LEFT(n3;3))

Thank you in advance.
 
B

Bob Phillips

More info needed. What is the requirement in English?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
P

Pete_UK

Here's one way:

IF(AP3="PA-OUT";"PA"&LEFT(n3;3);IF(MID(N3;6;3)="OLA";MID(N3;6;3)&LEFT(N3;3);Y3&MID(N3;6;1)))

This will look at AP3 first.

Hope this helps.

Pete
 
Top