Show total on next column

rfletcher35

Active Member
Joined
Jul 20, 2011
Messages
300
Office Version
  1. 365
Platform
  1. Windows
I have put a section of data below, I don't know why it appears a bit skew but it should give you the gist.
The last 2 columns are L & V as there are hidden columns between. If you can see where the name is duplicated the last box in the last column (V) gives a total for that person from the data in column L.
On the next column I need a formula that will provide the total for the person, so if an individual has 1 entry the total will be there, if a person has more than on entry say 2,3 or 4 then it will just show this on the last line.

For example KS7536 Sarasa will only have the figure 27.25 on the next column where as KS7801 Malkit will only have 14.5 and KS8283 Tarlochan will still have 31.75 and so on.

Is there a formula to do this?

KS7801MalkitSinghSW - *******6.256.25
KS7801MalkitSinghSW - Packing8.2514.5
KS8283TarlochanSinghSW - Packing31.7531.75
KS7536SarasaSivasubramaniamSW - Cartoning12.512.5
KS7536SarasaSivasubramaniamSW - Packing416.5
KS7536SarasaSivasubramaniamSW - Packing7.7511.75
KS7536SarasaSivasubramaniamSW - Packing327.25
KS5904Blandino DeSousaSW - Packing35.7535.75
KS8084Kalbe HussainSyedSW - *******8.758.75
KS8084Kalbe HussainSyedSW - Cartoning412.75
<colgroup><col width="83" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2360;"> <col width="125" style="width: 94pt; mso-width-source: userset; mso-width-alt: 3555;" span="2"> <col width="80" style="width: 60pt;" span="3"> <tbody> </tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi, something like this maybe:


Excel 2013
ABCDEF
1Header 1Header 2Header 3Header 4AmountTotal
2KS7801MalkitSinghSW - *******6.25 
3KS7801MalkitSinghSW - Packing8.2514.5
4KS8283TarlochanSinghSW - Packing31.7531.75
5KS7536SarasaSivasubramaniamSW - Cartoning12.5
6KS7536SarasaSivasubramaniamSW - Packing4
7KS7536SarasaSivasubramaniamSW - Packing7.75
8KS7536SarasaSivasubramaniamSW - Packing327.25
9KS5904Blandino DeSousaSW - Packing35.7535.75
10KS8084Kalbe HussainSyedSW - *******8.75
11KS8084Kalbe HussainSyedSW - Cartoning412.75
Sheet1
Cell Formulas
RangeFormula
F2=IF(A2=A3,"",SUMIF($A$2:$A$11,A2,$E$2:$E$11))
 
Upvote 0
Thanks for that, I figured something out already but that for replying.

I used the formula below to look at the totals column and got rid of my other columns for working out

=IF((A2=A3),"",SUM(L$2:L2)-SUM(M$1:M1))
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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