Formula If duplicate do division sum - Excel 2010

cferart

New Member
Joined
May 26, 2010
Messages
28
Hi everyone
I can do this with a Pivot table but would like a formula for Col D the "Loans per copy" that does a calculation eg looks at Col B works out how many copies then adds Col C for that and then puts Loans per copy against ALL copies. Help appreciated, thanks

Excel 2010
A - TitleB - Copy no.C - LoansD- Loans per copy
Guide to English1118
Guide to English258
Maths for beginners124
Maths for beginners294
Maths for beginners304

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

bbott

Well-known Member
Joined
Feb 5, 2010
Messages
2,350
Assuming your table starts in A1, try this in D2 and copy down:

=ROUNDUP(SUMIF($A$2:$A$6,A2,$C$2:$C$6)/COUNTIF($A$2:$A$6,A2),0)
 

Watch MrExcel Video

Forum statistics

Threads
1,123,337
Messages
5,601,026
Members
414,422
Latest member
acegreen

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
Top