Non Profit needs help with donor categories

Hucbald

New Member
Joined
Jan 18, 2017
Messages
4
Hi--I need help with writing thank you letters for donors. As a donation comes in, we enter the amount next to the persons name. What I need is a formula that totals up all the donations--sometimes it's just one per name, sometimes two or three--and then sorts the totals into ranges--$100-$249 $250-$499 above $500.
The names would then, ideally, be sorted into these categories in alphabetical order by last name--
is it possible to do this in excel? It sure would save us a lot of time, tx.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Welcome to the forum.

You could do something like this:

ABCDEFGHIJKLMNOPQ
1Donor Amount AAATotal<$100$100-$249$250-$499>$499
2Doe, John $ 50.00 Andrews, Julie $ 750.00 Mouse, Mickey $ 50.00 Doe, John $ 150.00 Cugat, Xavier $ 250.00 Andrews, Julie $ 750.00
3Smith, Jane $ 240.00 Cugat, Xavier $ 250.00 Klein, Calvin $ 150.00 Simpson, Homer $ 1,000.00
4Andrews, Julie $ 350.00 Doe, John $ 150.00 Smith, Jane $ 240.00
5Doe, John $ 100.00 Klein, Calvin $ 150.00
6Klein, Calvin $ 150.00 Mouse, Mickey $ 50.00
7Andrews, Julie $ 400.00 Simpson, Homer $ 1,000.00
8Mouse, Mickey $ 50.00 Smith, Jane $ 240.00
9Cugat, Xavier $ 125.00
10Cugat, Xavier $ 125.00
11Simpson, Homer $ 1,000.00

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
E2=IF(D2="","",SUMIF($A:$A,D2,$B:$B))
K2=IF(J2="","",SUMIF($A:$A,J2,$B:$B))
N2=IF(M2="","",SUMIF($A:$A,M2,$B:$B))
Q2=IF(P2="","",SUMIF($A:$A,P2,$B:$B))
H2=IF(G2="","",SUMIF($A:$A,G2,$B:$B))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
D2{=IFERROR(INDEX($A$2:$A$100,MATCH(0,COUNTIF($A$2:$A$100,"<"&$A$2:$A$100)-SUM(COUNTIF($A$2:$A$100,"="&D$1:D1)),0)),"")}
J2{=IFERROR(INDEX($D:$D,SMALL(IF(($D$2:$D$100<>"")*($E$2:$E$100>=100)*($E$2:$E$100<250),ROW($E$2:$E$100)),ROWS(J$2:J2))),"")}
M2{=IFERROR(INDEX($D:$D,SMALL(IF(($D$2:$D$100<>"")*($E$2:$E$100>=250)*($E$2:$E$100<500),ROW($E$2:$E$100)),ROWS(M$2:M2))),"")}
P2{=IFERROR(INDEX($D:$D,SMALL(IF(($D$2:$D$100<>"")*($E$2:$E$100>=500),ROW($E$2:$E$100)),ROWS(P$2:P2))),"")}
G2{=IFERROR(INDEX($D:$D,SMALL(IF(($D$2:$D$100<>"")*($E$2:$E$100<100),ROW($E$2:$E$100)),ROWS(G$2:G2))),"")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>



The donor list is in column A, amounts in column B. Put the headers in columns D:P.

Then put the formula in D2, change the bottom row from 100 to the maximum you think you'll need, then confirm the formula with Control+Shift+Enter. Then put the formula in E2, with enter only. Then drag D2:E2 down the column. This generates a unique sorted list with the total amount per person.

Next, put in the G2 formula with Control+Shift+Enter, and the H2 formula with enter, then drag those down as far as needed. Repeat with J2:K2, M2:N2, and P2:Q2.

Your list should automatically update as you enter names in column A.

Let me know if this works for you.
 
Upvote 0
Thank you so much for this information, I will dive in over the weekend! It looks over my head but I think if I just follow your examples I can figure it out, thanks again.
 
Upvote 0
Array formulas can be tricky, just keep track of the ranges in the formulas, and adjust to work with your sheet. Let us know if you need additional help.

Good luck!
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,290
Members
449,498
Latest member
Lee_ray

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top