{"id":13513185,"url":"https://github.com/dohliam/sum-columns","last_synced_at":"2025-08-21T08:17:04.776Z","repository":{"id":88992140,"uuid":"71776011","full_name":"dohliam/sum-columns","owner":"dohliam","description":"Quickly sum all values in column","archived":false,"fork":false,"pushed_at":"2020-07-08T22:02:12.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T09:06:34.505Z","etag":null,"topics":["calculate","calculator","javascript","sum-columns","sum-values","tiny-tools"],"latest_commit_sha":null,"homepage":"https://dohliam.github.io/tiny_tools/sum/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dohliam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-24T10:01:12.000Z","updated_at":"2020-07-08T22:02:15.000Z","dependencies_parsed_at":"2023-06-13T11:15:28.222Z","dependency_job_id":null,"html_url":"https://github.com/dohliam/sum-columns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dohliam/sum-columns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fsum-columns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fsum-columns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fsum-columns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fsum-columns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dohliam","download_url":"https://codeload.github.com/dohliam/sum-columns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dohliam%2Fsum-columns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271448405,"owners_count":24761441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculate","calculator","javascript","sum-columns","sum-values","tiny-tools"],"created_at":"2024-08-01T04:00:42.532Z","updated_at":"2025-08-21T08:17:04.753Z","avatar_url":"https://github.com/dohliam.png","language":"HTML","funding_links":[],"categories":["See also"],"sub_categories":[],"readme":"# Sum columns - Quickly sum all values in column\n\nThis is a small javascript tool that only does one simple thing: sum values in a given column of data.\n\nThere are an infinite number of ways to do this, of course, but I got tired of firing up calculators, command-lines, or spreadsheet software when I already have a browser window open.\n\n## Supported features\n\n* Live search (results update as you type)\n* Works offline (just clone or download this repository and open `index.html` in any browser)\n* [Online demo](https://dohliam.github.io/tiny_tools/sum/) available\n* Display total number of values summed (useful for calculating averages)\n* Advanced options: specify field separator and field to sum\n\n## Usage\n\nEnter data in the **Input** box. All non-numeric data is stripped and the values to be summed are shown in the **Sum values** column on the right.\n\n![screenshot](https://cloud.githubusercontent.com/assets/9295750/19641085/777f92d8-9994-11e6-8e77-24dc78380ab5.png)\n\nClick the **Calculate sum** button to update the result field at the bottom of the page.\n\n## Advanced options\n\nThe advanced options are revealed by clicking the corresponding checkbox below the result field.\n\nTwo options can be specified: **Field separator** and **Field to sum**.\n\nEntering a character or string in the _Field separator_ box identifies it as a delimiter, and the text in the _Input_ box will be split into columns wherever this delimiter occurs. For example, the _Field separator_ is initially set to `\\t` by default, which means that columns will be separated by tabs. Setting the _Field separator_ to `,` would split the input text at commas.\n\nThe value in the _Field to sum_ box should specify the number of the column to summed after the input data has been split by the string in the _Field separator_ box. So, for example, the initial value of `2` means that the values in the **second** column would be used. This can be useful if you have several columns of data and only want to sum one of them (as in a spreadsheet program).\n\n## See also\n\n\"Sum columns\" is part of the [**tiny tools**](https://dohliam.github.io/tiny_tools/) series.\n\nOther small tools for working with columns of data that might also be of interest:\n\n* [Compare columns](https://github.com/dohliam/compare-columns)\n* [Elements of _a_ in _b_](https://github.com/dohliam/elements-of-a-in-b)\n* [Sort columns](https://github.com/dohliam/sort-columns)\n\n## Credits\n\n* [milligram](https://github.com/milligram/milligram) CSS by @cjpatoilo, prototyped using [dropin-minimal-css](https://github.com/dohliam/dropin-minimal-css)\n* [github-corners](https://github.com/tholman/github-corners) by @tholman\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fsum-columns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdohliam%2Fsum-columns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdohliam%2Fsum-columns/lists"}