+ Reply to Thread
Results 1 to 14 of 14

Sorting large amount of hourly data into monthly data

  1. #1
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Sorting large amount of hourly data into monthly data

    Dear Friends,

    I have a large amount of data as follows. I want to sort them into another column as follows. The sum of each mother should appear together with the respective day and month. Could you kindly help me on this pls

    Kind regards

    Said


    Month Day Value
    4 8 207
    4 8 180
    4 8 152
    4 8 162
    4 8 171
    4 8 219
    4 8 86
    4 8 63
    4 8 61
    4 9 64
    4 9 64
    4 9 69
    4 9 80
    4 9 71
    4 9 73
    4 9 69
    4 9 69
    4 9 64
    4 9 69
    4 9 70
    4 9 69
    4 9 56
    4 9 52
    4 9 54
    4 9 50
    4 9 57
    4 9 71
    4 9 118
    4 9 128
    4 9 130
    4 9 138
    4 9 142
    4 9 115
    4 10 112
    summary
    4 8 1301
    4 9 1942
    Last edited by Saidsuch; 12-12-2017 at 09:17 AM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sorting large amount of hourly data into monthly data

    Hello and welcome to the forum.

    With 4 and 8 in E2 and F2 respectively, try this in G2:

    =SUMIFS(C:C,A:A,E2,B:B,F2)

    Drag the formula down.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sorting large amount of hourly data into monthly data

    If you have Excel 2003, as your profile suggests, try this in G2:

    =SUMPRODUCT((A$2:A$35=E2)*(B$2:B$35=F2)*(C$2:C$35))

    Excel 2003 does not have the SUMIFS function.

  4. #4
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    working.xlsxworking.xlsx

    Hi all

    Thank you very much for your response but it does not list day and month as appear in the attached Excel sheet. All values sum up to o.

    My requirement is I need to get a summary as when the formula is dragged down.

    summary
    4 8 1301
    4 9 1942

    Kind regards

    Said
    Last edited by Saidsuch; 12-13-2017 at 02:43 AM.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sorting large amount of hourly data into monthly data

    In your upload try this.

    (By the way, you've uploaded and *.xlsx file. Your profile shows Excel 2003 as noted. Please update your profile to reflect the version(s) you use. It's important. Members tailor responses with those kind of things in mind. Thanks.)

    A
    B
    C
    D
    E
    F
    G
    H
    1
    Month
    Day
    Value
    2
    4
    8
    207
    4
    8
    1301
    In G2: =SUMIFS(C:C,A:A,E2,B:B,F2)
    3
    4
    8
    180
    4
    9
    1942
    4
    4
    8
    152
    4
    10
    113
    5
    4
    8
    162
    6
    4
    8
    171
    7
    4
    8
    219
    8
    4
    8
    86
    9
    4
    8
    63
    10
    4
    8
    61
    11
    4
    9
    64
    12
    4
    9
    64
    13
    4
    9
    69
    14
    4
    9
    80
    15
    4
    9
    71
    16
    4
    9
    73
    17
    4
    9
    69
    18
    4
    9
    69
    19
    4
    9
    64
    20
    4
    9
    69
    21
    4
    9
    70
    22
    4
    9
    69
    23
    4
    9
    56
    24
    4
    9
    52
    25
    4
    9
    54
    26
    4
    9
    50
    27
    4
    9
    57
    28
    4
    9
    71
    29
    4
    9
    118
    30
    4
    9
    128
    31
    4
    9
    130
    32
    4
    9
    138
    33
    4
    9
    142
    34
    4
    9
    115
    35
    4
    10
    113
    Last edited by FlameRetired; 12-13-2017 at 04:31 AM.
    Dave

  6. #6
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    Thank you all these. You are real gurus. All three members must be thanked

  7. #7
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    Thanks but I am not allowed to add any reputation by the system. It says 10 reached

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sorting large amount of hourly data into monthly data

    Glad we could help. Thanks for the rep!

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

  9. #9
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    Dear Friends,

    One more additional help before closing this, is it possible for me to get the average of that particular (to the column H) as totals have been generated under the same conditions. I tried it myself several times but failed.

    Thanks

    Said

  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,206

    Re: Sorting large amount of hourly data into monthly data

    Change SUMIFS to AVERAGEIFS ???

  11. #11
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    Thanks for your quick response but It says you have entered too few arguments for this function

  12. #12
    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,206

    Re: Sorting large amount of hourly data into monthly data

    What did you enter ???


    Changing to this ..

    =AVERAGEIFS(C:C,A:A,E2,B:B,F2)

    from this

    =SUMIFS(C:C,A:A,E2,B:B,F2)

    works OK.

  13. #13
    Registered User
    Join Date
    12-12-2017
    Location
    china
    MS-Off Ver
    2003
    Posts
    7

    Re: Sorting large amount of hourly data into monthly data

    Thank you so much

  14. #14
    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,206

    Re: Sorting large amount of hourly data into monthly data

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

+ 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. Calculating simple data for large amount of unorganized data
    By eliasc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2016, 01:59 PM
  2. Pasting large amount of data
    By fredrbcc in forum Excel General
    Replies: 1
    Last Post: 02-13-2015, 09:38 PM
  3. Help for calculating monthly average from hourly data
    By udaslelmi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2013, 12:59 PM
  4. Sorting a large amount of input data
    By Helo0931 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 01:31 PM
  5. Replies: 10
    Last Post: 04-10-2012, 11:04 AM
  6. Sorting hourly data
    By killakella in forum Excel General
    Replies: 4
    Last Post: 09-07-2011, 06:51 PM
  7. [SOLVED] $ large amount of Data.
    By confused man in forum Excel General
    Replies: 5
    Last Post: 02-08-2005, 09:06 PM

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