+ Reply to Thread
Results 1 to 7 of 7

Excel formular to get monthly statistic

  1. #1
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    103

    Excel formular to get monthly statistic

    Hi
    Please can you help me .
    My spreadsheet is like this (please see the attached):

    1. Column A : Dates (Every day's Date):
    2. Column B : Data numbers (daily value)
    3. Column C : is month in numerical manner
    3. Column G-S: Is where I want the formula to be: Determine monthly values according to different categories (Min, Percentiles, Max)



    The formula must look at every in-Column C and the corresponding data in column B and generate the outputs (Monthly basic) as indicated from column G-T.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Excel formular to get monthly statistic

    Please fill in expected results for two of the twelve months - do this manually.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Excel formular to get monthly statistic

    Guesses:

    Min: =LET(m,MONTH(DATEVALUE(H$8&" 1")),MINIFS($B$2:$B$915,$C$2:$C$915,m,$B$2:$B$915,">"&0))
    Max: =LET(m,MONTH(DATEVALUE(H$8&" 1")),MAXIFS($B$2:$B$915,$C$2:$C$915,m,$B$2:$B$915,">"&0))
    Average: =LET(m,MONTH(DATEVALUE(H$8&" 1")),AVERAGEIFS($B$2:$B$915,$C$2:$C$915,m,$B$2:$B$915,">"&0))

    Copy across.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Excel formular to get monthly statistic

    Try:

    =LET(m,MONTH(DATEVALUE(H$8&" 1")),PERCENTILE(IF($C$2:$C$915=m,IF($B$2:$B$915>0,$B$2:$B$915)),0.25))

    etc.

    And in C2 copied down:

    =--MID(A2,4,2)
    Attached Files Attached Files
    Last edited by AliGW; 02-28-2024 at 02:42 AM.

  5. #5
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    103

    Re: Excel formular to get monthly statistic

    Thanks i will review it when i get home

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Excel formular to get monthly statistic

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, remember that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Excel formular to get monthly statistic

    Thanks for the rep and for marking this as solved.

+ 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. excel 2007 workbook statistic
    By sheet007 in forum Excel General
    Replies: 1
    Last Post: 01-30-2024, 06:02 AM
  2. [SOLVED] a lookup formular in convert my daily data into monthly data
    By uqls in forum Excel General
    Replies: 6
    Last Post: 04-30-2023, 05:23 AM
  3. Need your help, plz. How could I make a statistic excel file from html database???
    By catloc.pham in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-06-2013, 08:55 AM
  4. Statistic and Excel Question on Standard Deviation
    By rajivvyas in forum Excel General
    Replies: 0
    Last Post: 11-19-2011, 11:15 PM
  5. [SOLVED] Correlation statistic in Excel
    By jh4748 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 03-21-2006, 04:00 PM
  6. Does Excel Statistic Feature comes as a COM component or a library
    By Asif in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2006, 02:25 PM
  7. Replies: 1
    Last Post: 05-07-2005, 10:06 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