+ Reply to Thread
Results 1 to 5 of 5

COUNTIF Help?

  1. #1
    Registered User
    Join Date
    10-22-2018
    Location
    North Leeds
    MS-Off Ver
    2010
    Posts
    21

    COUNTIF Help?

    Hi all,

    Trying to find a formula count the total number of hours in column A for all Work Types equal to RM or PM etc? =COUNTIF(G2:K5,"*RM*") will only count the number of times RM appears, however how can I count the total number of hours for all instances of RM? Any help would be greatly appreciated.

    Time Work Type
    07:38:00 RM
    05:02:33 QUOTE
    04:34:00 RM
    04:26:49 RM
    01:10:00 PM
    00:45:10 RM
    00:39:47 PMSTA
    00:27:22 PM
    00:22:10 PM
    00:14:25 PM

  2. #2
    Registered User
    Join Date
    10-22-2018
    Location
    North Leeds
    MS-Off Ver
    2010
    Posts
    21

    Re: COUNTIF Help?

    Any ideas anyone?

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: COUNTIF Help?

    So what column has the “RM” in it, your formula is covering 5 columns. Posting a sample workbook could be helpful.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    10-22-2018
    Location
    North Leeds
    MS-Off Ver
    2010
    Posts
    21

    Re: COUNTIF Help?

    Sorted with SUMIF

  5. #5
    Registered User
    Join Date
    05-29-2019
    Location
    Minnesota
    MS-Off Ver
    2010
    Posts
    10

    Re: COUNTIF Help?

    It seems to me that you are looking more for a sum than a count. Try SUMIF rather than COUNTIF.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding a COUNTIF function to an existing IF AND COUNTIF Formula...
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2018, 10:09 AM
  2. Replies: 8
    Last Post: 05-27-2017, 07:04 AM
  3. Faster if/countif formula for flagging uniques - countif too slow
    By Speshul in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2015, 01:44 PM
  4. Combining a Date Range COUNTIF and a general COUNTIF
    By jacobtom in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 05:06 PM
  5. Adding a CountIF to a formula that is already Countif
    By Cmorgan in forum Excel General
    Replies: 4
    Last Post: 06-01-2011, 09:34 AM
  6. COUNTIF or not to COUNTIF on a range in another sheet
    By Ellie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2005, 05:06 PM
  7. Countif w/ Multiple Criteria-How do I use countif
    By Patrick_KC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2005, 05:05 PM

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