+ Reply to Thread
Results 1 to 12 of 12

COUNTIFS Assistance

  1. #1
    Registered User
    Join Date
    07-24-2017
    Location
    Vancouver, BC
    MS-Off Ver
    2016 (365)
    Posts
    62

    Question COUNTIFS Assistance

    Ladies, Gentlemen, Gods:

    This is the current formula:
    =COUNTIFS(Tracking!$A$5:$A$105,"1-Jun-2017",Tracking!$C$5:$C$105,"OFSV 1",Tracking!$B$5:$B$105,"Loss Time",Tracking!$L$5:$L$105,"SOC 5")

    What we are trying to do is count the entries that meet the criteria for the whole month of June, not just June 1st. But not every day in June has an entry:
    Capture1.PNG

    Any help on how to rewrite this would be appreciated. We've been trying different things for a couple hours now and can't seem to get it to work.

    THANKS!!
    Last edited by Canadian911Guy; 08-14-2017 at 01:43 PM. Reason: Solved

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    =SUMPRODUCT((Month(Tracking!$A$5:$A$105)=6)*(Tracking!$C$5:$C$105="OFSV 1")*(Tracking!$B$5:$B$105="Loss Time")*(Tracking!$L$5:$L$105,"SOC 5"))

    BSB

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    You could use COUNTIFS for this also by using it with EOMONTH.

    BSB

  4. #4
    Registered User
    Join Date
    07-24-2017
    Location
    Vancouver, BC
    MS-Off Ver
    2016 (365)
    Posts
    62

    Re: COUNTIFS Assistance

    Thanks for the help.
    Excel is returning an error when I use that formula ... I am trying to attach the actual sheet, but this system doesn't seem to want to let me do that ...
    I am a newby with EOMONTH ... reading up on it right now.

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    I'm replying from my phone so couldn't test the formula.
    If you've had no luck I'll take another look as soon as I'm in front of my laptop.

    To attach a workbook click on "go advanced" under your reply then "manage attachments.

    BSB

  6. #6
    Registered User
    Join Date
    07-24-2017
    Location
    Vancouver, BC
    MS-Off Ver
    2016 (365)
    Posts
    62

    Angry Re: COUNTIFS Assistance

    I really am trying ... but this is what I get when I try to attach:

    Capture2.png

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    OK, don't click on that icon (it doesn't work at the moment) but instead scroll down a little and right underneath the box you type your reply in you'll see a button on the right that says "Go Advanced". Click that then "Manage Attachments". Should all be pain sailing from there.

    BSB

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    If you have the date (1st June 2017) in a cell, in the example below I've used X1, then this formula should work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This is what I meant earlier by using EOMONTH. Adjust X1 to suit.

    The SUMPRODUCT formula I proposed earlier had a slight error (I was commuting and replying from my phone, so apologies for getting it wrong!).
    This should also work though.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    BSB

  9. #9
    Registered User
    Join Date
    07-24-2017
    Location
    Vancouver, BC
    MS-Off Ver
    2016 (365)
    Posts
    62

    Cool Re: COUNTIFS Assistance

    Now it is attached....

  10. #10
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    Quote Originally Posted by Canadian911Guy View Post
    Now it is attached....
    Afraid not

    BSB

  11. #11
    Registered User
    Join Date
    07-24-2017
    Location
    Vancouver, BC
    MS-Off Ver
    2016 (365)
    Posts
    62

    Re: COUNTIFS Assistance

    Your SUMPRODUCT formula worked well! Thank you!
    If I have any additional problems I will try your other suggestion.
    Have a great day!

  12. #12
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,532

    Re: COUNTIFS Assistance

    Glad you've got it sorted now.

    Here to help so any further issues just shout.

    Don't forget to mark the thread as SOLVED if you're happy you have a working solution.
    "Thread Tools / Mark as Solved"

    Take care.

    BSB

+ 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. [SOLVED] Assistance with COUNTIFS when adding another cell in
    By AceForSale in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2016, 10:44 AM
  2. Assistance needed with the COUNTIF/COUNTIFS function.
    By BiomedRoss in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-15-2015, 08:30 AM
  3. COUNTIFS formula assistance
    By Glen- in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-18-2015, 10:11 AM
  4. [SOLVED] COUNTIFS Formula Assistance
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-21-2014, 06:26 AM
  5. Countifs Formula assistance
    By saiyawil in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-28-2013, 03:58 AM
  6. Need assistance with a COUNTIFS formula
    By ariehc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-02-2013, 02:14 PM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 AM

Tags for this Thread

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