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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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)
 
Upvote 0
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
 
Upvote 0
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)
 
Upvote 0

Forum statistics

Threads
1,213,567
Messages
6,114,342
Members
448,570
Latest member
rik81h

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