title: Google Sheets: Script to find duplicates in a column and add their corresponding values from another column
body: <p>I'm trying to accomplish a lot with little knowledge, but I have a spreedsheet with data that i want to convert into something readable that I can then display on my website. </p>
  
  <p>Anyways, in column A I have a list of dates, column B a list of names, and column c a list of contributions. What I would like to do is first total the amount of contributions in C, for a date range in A.</p>
  
  <p>I would then like to find all the duplicates in Column B(repeat donors), and total their contributions in C. </p>
  
  <p>There is a VBA, that I found on <a href="https://stackoverflow.com/questions/15414739/excel-vba-code-to-find-duplicates-in-a-column-and-add-their-corresponding-values">here</a> that would accomplish the second task, but ... I'm using Google Sheets. What I've been doing is sorting the sheet and totalling everything manually. </p>