Simple subtotal

kumarnarain

New Member
Joined
Jan 26, 2005
Messages
3
Hai
I have 3 columns..Itemcode,Amount and subtotals.(say column a ,column b, & column c)I want to havet he subtotals coulmn reflect the sum of all rows with the same item code value.I am a beginner and it might be a real naive question.


Regards

Kumar
:rolleyes:
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
kumarnarain said:
Hai
I have 3 columns..Itemcode,Amount and subtotals.(say column a ,column b, & column c)I want to havet he subtotals coulmn reflect the sum of all rows with the same item code value.I am a beginner and it might be a real naive question.


Regards

Kumar
:rolleyes:

=SUMIF(ItemCodeRange,ItemCode,SubtotalRange)
 

kumarnarain

New Member
Joined
Jan 26, 2005
Messages
3
Hai

I am still not able t crack the problem..I am attaching the xl sheet for ref

Regards

Kumar
Book1
EFGHIJK
10itemcodeamountsubtotalofcsubtotalofbsubtotalofa
11a5400
12a454
13c789
14a454
15a545
16b44
17b5454
18b5454
19c121
20a345
21c4
22c645
23c56464
24b3456
25c5649
26c54
Sheet1
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
In fact, you were given all you need...
Book5
EFGHI
9Subtotalof
10itemcodeamountcba
11a540063726144087198
12a454
13c789
14a454
15a545
16b44
17b5454
18b5454
19c121
20a345
21c4
22c645
23c56464
24b3456
25c5649
26c54
Sheet1


G11, copied across:

=SUMIF($E$11:$E$26,G$10,$F$11:$F$26)
 

Forum statistics

Threads
1,148,224
Messages
5,745,472
Members
423,953
Latest member
MrC54

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