+ Reply to Thread
Results 1 to 6 of 6

Letters In A Word

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

    Letters In A Word

    I use referance numbers alot and would like to count the referances that apply to a specfic type of asset, example 21MKS123, is there a way that i could count the MKS part and not the numbers either side?

    Thanks

    FBF

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Do all the numbers have the same format ie 2numbers + 3 alpha + 3 numbers?

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

    AS
    21MKS
    22MKS
    01GG
    1GE
    11HFC
    05MBC
    01SY

    All can have 1 to 6 numbers after the letters

    Also im using 2003

  4. #4
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Hi,

    Presuming your reference numbers are in A1:A20 the below formula should work:

    =COUNTIF(A1:A20,"*"&"MKS"&"*")

    HTH,

    SamuelT

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    ....or like this.....

    =COUNTIF(A1:A20,"*MKS*")

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

    Thumbs up

    Your a star, Cheers

    FBF

+ 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