# Need help with subtotals

#### DRStein

##### New Member
 RO Number Cost Subtotal 12345 50 0 12345 75 0 12345 25 150 67890 100 0 67890 50 0 67890 50 0 67890 200 400

<tbody>
</tbody>

I would like to know if there is a formula to total by RO Number. I have multiple RO numbers some only contain one line with one unique RO Number and as you can see there are multiple costs for the same RO Number. Is there a way to calculate the subtotal in an Excel table?
Thanks!

### Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
This would do it:

=SUMIF(\$A\$1:\$A\$100,\$A\$1:\$A\$100,\$C\$1:\$C\$100)

Thanks that worked!

Replies
4
Views
520
Replies
1
Views
210
Replies
3
Views
165
Replies
5
Views
212
Replies
0
Views
260

1,207,402
Messages
6,078,267
Members
446,324
Latest member
JKamlet

### 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.

### Which adblocker are you using?

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

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