Sum up rows, based on same name or ID

harcsakutya

New Member
Joined
Aug 30, 2015
Messages
7
Hello,
In table 0020 I’ve several values which has same name of (Anyag) but different amount(Szab.felhasz). So anytime the value "anyag" is equal, has to be to sum up based on "Anyag" (material) these. For eg.: 21+224=245. What formula or technic required?

0020
Anyag
RakH
Sarzs
Szab# felhaszn#
21-130-0354
0020
4020469
21
21-130-0354
0020
4020560
224

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





https://drive.google.com/file/d/0B9KaCF56CJ3Qell6X0RaTnVuN2c/view?usp=sharing

Thanks, in advance
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Create a query and use the totals icon, then select to group on the Anyag field and Sum on the Szab.felhasz
 
Upvote 0
Create a query and use the totals icon, then select to group on the Anyag field and Sum on the Szab.felhasz

I tried nothing changed. This is one single table. Yes I made a query and marked the checkbox under Szab.felh. all of the rest of three column marked as a Group by which I think no make sense....
 
Upvote 0
1. Remove columns RakH & Sarzs from the Query.
2. Group By Anyag column and put Sum under Szab.felhazs column

 
Upvote 0
This is what is meant by the discussion above

SELECT [0020].Anyag, Sum([0020].[Szab# felhaszn#]) AS [SumOfSzab# felhaszn#]
FROM 0020
GROUP BY [0020].Anyag;
 
Upvote 0

Forum statistics

Threads
1,221,842
Messages
6,162,333
Members
451,760
Latest member
samue Thon Ajaladin

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