Find Jobs
Hire Freelancers

Function To Aggregate Rows in Javascript / Google Sheets

$10-30 USD

In Progress
Posted over 4 years ago

$10-30 USD

Paid on delivery
I'd like to create a function to aggregate rows from a javascript array. To aggregate the rows, I'd like to be able to match up to 3 columns, or more if possible and then sum another column. So in other words, if the row {Apple, Green, South America, $50} appears and then {Apple, Green, South America, $25} the function should aggregate those rows to {Apple, Green, South America, $75}. The function should take as inputs the array, the columns to match rows on, and the column to sum up. There should be able to be more columns than matching on or summing up. For instance, the array I'm trying to handle has about 12 columns, but I don't need to match on all elements. Then the function should export a new array with aggregated rows based on the above. The method should be able to work in Google Sheets / Google Script. The script here is sort of what I'm looking for but doesn't seem to quite work for what I'm trying to do. Its a similar goal though: [login to view URL]
Project ID: 20408382

About the project

4 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $28 USD for this job
User Avatar
Hello! I am a web developer. I have checked your project description. I can help you I guarantee the good result. I will wait for your reply. Thank you.
$20 USD in 7 days
5.0 (13 reviews)
4.9
4.9
User Avatar
I have experience using JavaScript arrays & associated libraries. You won't regret picking me for the job
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I have a experience, development in google sheets, building reports and statistics. I am from colombia.
$35 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Boston, United States
4.9
22
Payment method verified
Member since Feb 14, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.