+ Reply to Thread
Results 1 to 4 of 4

Number of E or M

Hybrid View

  1. #1
    Registered User
    Join Date
    08-29-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    27

    Number of E or M

    Hi all,

    I have a large spreadsheet, some of which is pasted below. Is there a quick way of asking Excel to count the amount of Es or Ms. Thanks in advance, Chloe

    382.28 -0.003998654 0.043583676 E
    382.79 0.127618747 -0.017511963 M
    282.97 -0.041508925 0.00081561 E
    509.37 0.028965229 -0.024942022 M
    276.02 0.196268411 0.003089925 M
    294.2 -0.070725397 -0.03672733 E
    355.97 0.243191277 -0.079294611 M
    277.47 0.329220942 0.011823612 M
    214.62 0.088598516 0.050877612 M
    356.74 -0.055381814 0.048420042 E
    361.18 -0.006314667 -0.003770365 E
    355.66 0.350524407 0.050753324 M
    383.31 -0.013849518 -0.050669779 M
    176.19 0.043487687 0.070857861 E
    379.4 0.086808741 -0.047409162 M
    302.6 -0.025062648 -0.00022119 E
    352.94 0.034382588 0.060521813 E
    75.33 -0.078179353 -0.034497374 E
    338.21 0.208783788 0.000700681 M
    201.94 -0.019126972 0.021797725 E
    378.08 -0.061332361 0.007438332 E
    351.11 -0.103889052 -0.099674429 E
    82.02 0.034929699 0.057590112 E
    354.44 0.082738289 0.04893627 M
    289.72 0.178966373 -0.006937598 M
    337.34 0.064946737 0.006116573 M
    145.64 -0.05182706 0.096398479 E
    337.09 0.199066677 0.02869099 M
    77.32 0.021218967 -0.085889534 M
    356.75 0.17388481 0.005006121 M
    Last edited by chloe88; 09-21-2011 at 05:04 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,290

    Re: Number of E or M

    Maybe:

    =COUNTIF(D:D,"E")+=COUNTIF(D:D,"M")

    assuming I've counted the columns correctly.

    In the example, that would be 30.


    Regard
    Last edited by TMS; 09-21-2011 at 05:02 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-29-2011
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Number of E or M

    Thank you very much that worked a treat.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,290

    Re: Number of E or M

    You're welcome. Thanks for the rep.

+ 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