SOLVED

Amount divided by how many time the ID repeats

Copper Contributor

Hello, I am looking for a formula that will divide the total amount by as many time as the gift ID is present. For instance, donor 1 is present three times, so the $900 should be divided by 3 and return $300 for each row. For donor 2, the $500 would be divided by 2 as it is present twice for a return of $250 in each row. Etc. The spreadsheet wont' be sorted by ID like below though.  Thanks!

 

Gift IDNameReal AmountTotal
984Donor 1  $ 900.00
984Donor 1  $ 900.00
984Donor 1  $ 900.00
123Donor 2  $ 500.00
123Donor 2  $ 500.00
2 Replies
best response confirmed by Elva_Tanguerre (Copper Contributor)
Solution

@Elva_Tanguerre Perhaps like this? (Used good old VLOOKUP as I don't know if you have access to newer functions like XLOOKUP).

Screenshot 2021-06-15 at 18.23.55.png

Thanks. Makes sense, I did not even need the vlookup - I just selected the Total amount cell.
1 best response

Accepted Solutions
best response confirmed by Elva_Tanguerre (Copper Contributor)
Solution

@Elva_Tanguerre Perhaps like this? (Used good old VLOOKUP as I don't know if you have access to newer functions like XLOOKUP).

Screenshot 2021-06-15 at 18.23.55.png

View solution in original post