+ Reply to Thread
Results 1 to 3 of 3

IF Question

  1. #1
    carl
    Guest

    IF Question



    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.

  2. #2
    Bob Phillips
    Guest

    Re: IF Question

    More info needed. What is the requirement in English?

    --
    HTH

    Bob Phillips

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

    "carl" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    > 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.




  3. #3
    Pete_UK
    Guest

    Re: IF Question

    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

    carl wrote:
    > 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.



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1