+ Reply to Thread
Results 1 to 2 of 2

Add up total amount of occurrences of zero per month

  1. #1
    Registered User
    Join Date
    09-06-2016
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Add up total amount of occurrences of zero per month

    excelexample.png

    Hi,

    I've asked a couple of question recently and this forum has been so helpful, thanks so much.

    I'm having another problem, I've got a table of data, in the first column I have the dates 1st January 2015 all the way up to 31st August 2016 and on the top row I have the USER ID numbers of some customers and in the table each cell represents the power usage of each customers on that day. I've added a final column on the right which works out the average data usage of the users that day excluding users that didn't use any power

    My first problem is that I want to create a function that can work out the total amount of zeros that appear in each month (January 2015 being different to January 2016) so in this example for April 2015 the result would be 2.

    My second problem is that if possible I would like the function to ignore days that contain zeros for all users (in the average column they have the value #DIV/0!). So for January 2015 I'd get the result 2 as well. If somebody could help me with this it would be fantastic.

    Thanks in advance

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Add up total amount of occurrences of zero per month

    Try array formula similar to:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    see attachment
    Attached Files Attached Files
    Best Regards,

    Kaper

+ 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] Add up the total amount of cash depending on the month?
    By mattfen44 in forum Excel General
    Replies: 7
    Last Post: 04-20-2016, 10:29 AM
  2. [SOLVED] Using COUNTIF to total occurrences in a month
    By trickyvic in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-12-2016, 02:47 PM
  3. Summarize total amount with different month
    By umininnel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2015, 08:28 PM
  4. Total amount if month is januari
    By Octonet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2015, 11:09 AM
  5. Total amount is month is januari
    By Octonet in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2015, 07:53 PM
  6. I am trying to get total amount by month
    By amm_manaz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-06-2014, 11:54 AM
  7. [SOLVED] Returning total amount earned in a month by day of the week
    By klowned in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2012, 01:03 AM

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