+ Reply to Thread
Results 1 to 5 of 5

Display thrid letter formula

  1. #1
    Registered User
    Join Date
    11-07-2005
    Posts
    45

    Display thrid letter formula

    Hi All

    I need a formula that displays an outcome. If the third letter of cell A1 has a ‘D’ then display OK, otherwise display BAD

    Please help

    Thanks
    Andrew

  2. #2
    Biff
    Guest

    Re: Display thrid letter formula

    Hi!

    Try this:

    =IF(MID(A1,3,1)="D","OK","Bad")

    Biff

    "koba" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hi All
    >
    > I need a formula that displays an outcome. If the third letter of cell
    > A1 has a 'D' then display OK, otherwise display BAD
    >
    > Please help
    >
    > Thanks
    > Andrew
    >
    >
    > --
    > koba
    > ------------------------------------------------------------------------
    > koba's Profile:
    > http://www.excelforum.com/member.php...o&userid=28639
    > View this thread: http://www.excelforum.com/showthread...hreadid=489315
    >




  3. #3
    Rowan Drummond
    Guest

    Re: Display thrid letter formula

    Try:

    =IF(MID(A1,3,1)="D","OK","BAD")

    Hope this helps
    Rowan

    koba wrote:
    > Hi All
    >
    > I need a formula that displays an outcome. If the third letter of cell
    > A1 has a ‘D’ then display OK, otherwise display BAD
    >
    > Please help
    >
    > Thanks
    > Andrew
    >
    >


  4. #4
    Roger Govier
    Guest

    Re: Display thrid letter formula

    Hi Andrew

    Try
    =IF(A1="","",IF(MID(A1,3,1)="D","OK","BAD"))

    Regards

    Roger Govier


    koba wrote:
    > Hi All
    >
    > I need a formula that displays an outcome. If the third letter of cell
    > A1 has a ‘D’ then display OK, otherwise display BAD
    >
    > Please help
    >
    > Thanks
    > Andrew
    >
    >


  5. #5
    Registered User
    Join Date
    11-07-2005
    Posts
    45
    Thanks worked a treat

+ 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