Excel formula help

Discussion in 'Bulletin Board ARCHIVE' started by Dyson, Aug 13, 2008.

  1. Dys

    Dyson Well-Known Member

    Joined:
    Jul 13, 2005
    Messages:
    14,448
    Likes Received:
    4,702
    Trophy Points:
    113
    Location:
    Tarn centre
    Home Page:
    Style:
    Barnsley (full width)
    I need to be able to count the occurance of a certain character IE

    5
    N
    10
    10
    Y
    10
    Y
    Y
    5
    10
    5
    5
    Y
    10
    10
    10
    10

    I need to auto-generate how many times 'N' appears in that sequence and do so across the sheet. Anyone any idea? I've searched online and all I can find is how to count the number of certain characters in one word/cell.

    Oh, Davey out.
     
  2. SuperTyke

    SuperTyke Well-Known Member

    Joined:
    Oct 12, 2005
    Messages:
    55,754
    Likes Received:
    29,893
    Trophy Points:
    113
    Style:
    Barnsley (full width)
    No idea really

    But would you be able to have some hidden cells that are counting how many times N appears in individual cells (like you say you can do) and then have a cell that adds up the sum of the others?
     
  3. Gud

    GudjonFan Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    4,615
    Likes Received:
    405
    Trophy Points:
    83
    Location:
    The Sanctuary of the 18 Yard Line
    Home Page:
    Style:
    Barnsley (full width)
  4. Dys

    Dyson Well-Known Member

    Joined:
    Jul 13, 2005
    Messages:
    14,448
    Likes Received:
    4,702
    Trophy Points:
    113
    Location:
    Tarn centre
    Home Page:
    Style:
    Barnsley (full width)
    I'm not sure. What I've found kind of hints to how many characters in a cell, not to count how many times a certain character appears in a sequence. If that makes any sense what so ever.

    I wish you could =SUM for characters and not only numbers.
     
  5. Gue

    Guest Guest

    One solution is the following formula, substituting the range of cells you want to check:

    =COUNTIF(range,"=N")
     
  6. Dys

    Dyson Well-Known Member

    Joined:
    Jul 13, 2005
    Messages:
    14,448
    Likes Received:
    4,702
    Trophy Points:
    113
    Location:
    Tarn centre
    Home Page:
    Style:
    Barnsley (full width)
    Cheers mate.

    Sorted.
     
  7. Dys

    Dyson Well-Known Member

    Joined:
    Jul 13, 2005
    Messages:
    14,448
    Likes Received:
    4,702
    Trophy Points:
    113
    Location:
    Tarn centre
    Home Page:
    Style:
    Barnsley (full width)
    Thanks mate. Got there.
     
  8. Gud

    GudjonFan Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    4,615
    Likes Received:
    405
    Trophy Points:
    83
    Location:
    The Sanctuary of the 18 Yard Line
    Home Page:
    Style:
    Barnsley (full width)
    Pleased to be of service nt
     

Share This Page