+ Reply to Thread
Results 1 to 6 of 6

separating and counting text

  1. #1
    Registered User
    Join Date
    07-08-2009
    Location
    sydney, australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    separating and counting text

    Hi all
    I have attached a sample worksheet. I now need to count in column 'C' all COLES but not COLES EXPRESS or COLES EXP. + I need to count all COLES only with total engineer codes that have 3 numbers (456) not number/alpha (24E) (Column F) Can I somehow use the LEFT function to exclude Coles Express ?? or is there a better way.

    Any thoughts would be appreciated
    Sample.xlsx
    snowee01
    Last edited by snowee01; 07-15-2009 at 06:18 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: seperating and counting text

    Try perhaps:

    Please Login or Register  to view this content.
    adjust ranges to suit your data.
    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 Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: seperating and counting text

    I went with a helper column, which apparently isn't necessary, but is easy to update your conditions on if they change.

    See attached.

    You forgot to mention the numbers not being numeric. I used:

    Please Login or Register  to view this content.
    as my helper column, and

    Please Login or Register  to view this content.
    to count the results.
    Attached Files Attached Files
    Last edited by mewingkitty; 07-15-2009 at 10:29 AM.
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

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

    Re: seperating and counting text

    You forgot to mention the numbers not being numeric, might cause NBVC's formula to need some tweaking
    My formula does accomodate for that by adding the +0 in the Isnumber() condition.

  5. #5
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: seperating and counting text

    Yeah I saw that after and edited my post.

  6. #6
    Registered User
    Join Date
    07-08-2009
    Location
    sydney, australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: separating and counting text

    thankyou, the help you have given me is invaluable
    snowee01

+ 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