DungeonMaster
New Member
- Joined
- Oct 21, 2015
- Messages
- 4
Hello everyone, this is my first post here.
I am using Excel 2013 on Windows 8.1.
I have posted my issues on Reddit before, without results unfortunately.
I am currently manipulating a very large dataset (500k rows approximatly) that I need to reorder before analyzing the data.
This picture shows what I want to do with my data :
Columns A, B and C contain indicators (US county number, Year and age group). What I want to do is to sum, for each county, year and age group, values present in columns D to I To new columns (N and onwards in the picture I attached). In other words, I want to sum Values in Column D if their indicators in A, B and C are identical, and then transfer the result to another column.
I already had to do the same task last year (with a way smaller datafile), and found that the SUMIFS function worked perfectly for this kind of task (by creating some "helping columns", in K and L on the image I provided, and then using SUMIFS).
The issue is that using SUMIFS to fill the entire table is a daunting task for my computer (even with a 8-core processor). It takes ages to simply fill one column when it doesn't simply crash.
I was then wondering if anyone could guide me with a workaround that would be less calculation-heavy. I absolutely don't know how to code in VBA (except for copying/pasting macros), but I figure that the macro wouldn't be that hard to write. What I need would be :
- Sum D2 to D4
- Paste result in N2
- Sum D21 to D23
- Paste result in N3
etc
Thank you very much for your help!
I am using Excel 2013 on Windows 8.1.
I have posted my issues on Reddit before, without results unfortunately.
I am currently manipulating a very large dataset (500k rows approximatly) that I need to reorder before analyzing the data.
This picture shows what I want to do with my data :
Columns A, B and C contain indicators (US county number, Year and age group). What I want to do is to sum, for each county, year and age group, values present in columns D to I To new columns (N and onwards in the picture I attached). In other words, I want to sum Values in Column D if their indicators in A, B and C are identical, and then transfer the result to another column.
I already had to do the same task last year (with a way smaller datafile), and found that the SUMIFS function worked perfectly for this kind of task (by creating some "helping columns", in K and L on the image I provided, and then using SUMIFS).
The issue is that using SUMIFS to fill the entire table is a daunting task for my computer (even with a 8-core processor). It takes ages to simply fill one column when it doesn't simply crash.
I was then wondering if anyone could guide me with a workaround that would be less calculation-heavy. I absolutely don't know how to code in VBA (except for copying/pasting macros), but I figure that the macro wouldn't be that hard to write. What I need would be :
- Sum D2 to D4
- Paste result in N2
- Sum D21 to D23
- Paste result in N3
etc
Thank you very much for your help!