+ Reply to Thread
Results 1 to 2 of 2

COUNT # of months with values (like pivot did), then only average off months with values

  1. #1
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    178

    COUNT # of months with values (like pivot did), then only average off months with values

    I am trying to get rid of this formula that is reading from a pivot sum table and hardcode this formula in the raw data so I do not have to use the pivot.

    formula reading from 12 month count is (pivot screenshot below)

    Please Login or Register  to view this content.
    Capture.PNG

    On the spreadsheets, I essentially want to use the same logic as the sumifs in column (H) where I only care about the values in column (H). so if it has a value I need to roll that up into the year and month (and also keep same criteria as sumifs), then count the months within the year. So it one entire month has no values from column (H) then it is blank, but if there are values, need to total that all as 1 for the month so I can run a count function off the blank values month and then months with values. Then I can use the average if formula if the count of months with values is >4 or whatever number I need. Could be 6 depending.

    Capture.PNG

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: COUNT # of months with values (like pivot did), then only average off months with valu

    column I
    ="QUARTER "&ROUNDUP(A2/3,)

+ 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. Count months between date values using YEAR as criteria
    By Shallabee in forum Excel General
    Replies: 13
    Last Post: 02-08-2018, 03:16 AM
  2. SUMIFS with months, names, values Multiple Criteria Based on Months and Names
    By Aaron R Bauer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-25-2016, 12:07 PM
  3. SUMIFS with months, names, values Multiple Criteria Based on Months and Names
    By Aaron R Bauer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2016, 06:51 PM
  4. Trying to count values for rows with dates within 3 months of today
    By designergav in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2015, 07:28 AM
  5. [SOLVED] how to get the max,min,average values months wise from 1 year data
    By sathiyamoorthy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2013, 01:43 AM
  6. [SOLVED] Average hourly values of the same day (one column with six months of data)
    By Exorbit in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-30-2013, 06:42 AM
  7. [SOLVED] Average - 3 months / 6 months trend line ( array formula? )
    By ccernat in forum Excel General
    Replies: 3
    Last Post: 04-04-2012, 06:24 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