+ Reply to Thread
Results 1 to 11 of 11

How to separate months and seasons from daily data

  1. #1
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Question How to separate months and seasons from daily data

    Hi guys,

    I'm wondering if there a method to separate months and seasons from daily data when the data is huge (Daily data for 150 years and maybe more for more than 50 parameters) ...

    I have attached an example of the data below ...

    Thanks in advance ...
    Attached Files Attached Files
    Last edited by mostafa.elnazer; 06-10-2021 at 03:21 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: How to separate months and seasons from daily data

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Re: How to separate months and seasons from daily data

    Quote Originally Posted by alansidman View Post
    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    I have attached the example file now with the original post ... Thanks
    Last edited by mostafa.elnazer; 06-10-2021 at 09:12 AM.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: How to separate months and seasons from daily data

    What is the expected result. Manually type them in separate sheet and upload file.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Re: How to separate months and seasons from daily data

    Quote Originally Posted by kvsrinivasamurthy View Post
    What is the expected result. Manually type them in a separate sheet and upload the file.
    Ok, attached is the expected results format worksheet ... With Thanks ...
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: How to separate months and seasons from daily data

    Deleted by Jt

  7. #7
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Re: How to separate months and seasons from daily data

    Quote Originally Posted by JohnTopley View Post
    Deleted by Jt
    what do you mean ?

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: How to separate months and seasons from daily data

    What are the dates defining the seasons?

  9. #9
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Re: How to separate months and seasons from daily data

    Quote Originally Posted by JohnTopley View Post
    What are the dates defining the seasons?
    Winter (12,1,2)
    Spring (3,4,5)
    Summer (6,7,8)
    Autumn (9,10,11)
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: How to separate months and seasons from daily data

    I have added helper columns in "ALL" columns U:W which have Year, Month, Season

    Named range MS has Mont/Season

    in AK3 of "Expected Results"

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$F:$F,">"&$J$2)


    In AL3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$F:$F,">"&$J$3)

    in AM3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$G:$G,">"&$J$4)

    in AN3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$G:$G,">"&$J$5)

    copy/paste to other months

    For seasons change test for MONTH to SEASON

    in S3

    =COUNTIFS(all!$U:$U,$AJ3,all!$W:$W,S1,all!$F:$F,">"&$J$2)
    Attached Files Attached Files
    Last edited by JohnTopley; 06-10-2021 at 03:35 PM.

  11. #11
    Registered User
    Join Date
    07-23-2018
    Location
    Cairo, Egypt
    MS-Off Ver
    2016
    Posts
    25

    Re: How to separate months and seasons from daily data

    Quote Originally Posted by JohnTopley View Post
    I have added helper columns in "ALL" columns U:W which have Year, Month, Season

    Named range MS has Mont/Season

    in AK3 of "Expected Results"

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$F:$F,">"&$J$2)


    In AL3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$F:$F,">"&$J$3)

    in AM3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$G:$G,">"&$J$4)

    in AN3

    =COUNTIFS(all!$U:$U,$AJ3,all!$V:$V,MONTH(AK1&0),all!$G:$G,">"&$J$5)

    copy/paste to other months

    For seasons change test for MONTH to SEASON

    in S3

    =COUNTIFS(all!$U:$U,$AJ3,all!$W:$W,S1,all!$F:$F,">"&$J$2)

    Thanks a lot ... that's great ... I appreciate it Bro.

+ 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. separate daily data into monthly data
    By ACrossley1 in forum Excel Charting & Pivots
    Replies: 13
    Last Post: 03-05-2019, 05:59 AM
  2. Replies: 14
    Last Post: 04-21-2017, 12:43 PM
  3. How to separate Months and Years with multiple months
    By jenpen77 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2017, 01:25 PM
  4. Need to consolidate Daily Data into a separate workbook
    By Excelearner3 in forum Excel General
    Replies: 18
    Last Post: 11-18-2016, 02:50 PM
  5. Replies: 3
    Last Post: 05-11-2016, 04:04 PM
  6. Replies: 8
    Last Post: 02-20-2014, 05:46 PM
  7. [SOLVED] VBA which separates monthly data to daily data in separate worksheets of the same workbook
    By wyldjokre69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2013, 06:26 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