+ Reply to Thread
Results 1 to 3 of 3

Count cell with multiple value

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Count cell with multiple value

    Dear all,

    I have a worksheet with a column contains with the following status code

    Status - the status is 04 or 05 or 11 or 12 or 1 number from (either 04 or 05 or 11 or 12) along with 01 or 02 or 03. or 09 or 10 e.g. "02,01" or "01,11"

    Is it possible to write a formula to count the "status" column for cell = "11" inculding the number from (either 04 or 05 or 11 or 12) along with 01 or 02 or 03. or 09 or 10 e.g. "02,11" or "01,11" or "10,11"

    Thanks & regards

    Pjlau



    I

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Count cell with multiple value

    pjlau,

    Hard to say without an example, but I think what you're looking for is the Countif() formula.

    So, to count the number of 11's after the comma, it would be:
    =COUNTIF(A1:A10,"*,11")


    And, to count the number of 02's before the comma it would be:
    =COUNTIF(A1:A10,"02,*")
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-13-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Count cell with multiple value

    Tigeravator,

    yeah, this is what I want..

    Many thx for your quick rsponse.

    pjlau

+ 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