+ Reply to Thread
Results 1 to 6 of 6

Find Letters In a Reference Number

  1. #1
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Find Letters In a Reference Number

    Hi All

    I need to find a formula that will find letters in a referance, for example i have referances like - MNE DJM & ZZPAR i need to find a formula that will find me the ZZPAR looking for "ZZ" i then want this to tell me what tpYe of referance number it is and put this into column Z

    Normal referance number like DJM and MNE i want this to show as "BROMLEY"

    aND ZZPAR as "Chester"

    I have tried something like the following but this is not working

    Please Login or Register  to view this content.
    But all i get is bromley for all referances.

    Thanks in advance

    DJ
    Last edited by djfatboyfats; 05-15-2009 at 02:20 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Find Letters In a Reference Number

    Try:

    =if(isnumber(Search("zz",A1)),"Chester","Bromley")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    re: Find Letters In a Reference Number

    Perhaps you want:

    =IF(ISNUMBER(SEARCH("zz",A1)),"Chester","Bromley")

  4. #4
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    re: Find Letters In a Reference Number

    They are both want i want thankyou.

    The only thing i would like to change is if there is no referance then i would like nothing to show not "Bromley"

    something like if(a1<>,"","","")

    Thanks

    DJ

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    re: Find Letters In a Reference Number

    =If(A1="","",if(isnumber(Search("zz",A1)),"Chester","Bromley"))

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Find Letters In a Reference Number

    oi !always include
    Bromley , i live there!. centre of southern u.k.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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