ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data subtotals with Text (https://www.excelbanter.com/excel-discussion-misc-queries/229965-data-subtotals-text.html)

Kevins

Data subtotals with Text
 
Before you call me nuts - hear me out:
I have a list for vehicle gas usage by date. i would like to sort the
vehicle column and then get a subtotal by money spent for gas.

When I use Dat the subtotal and SUM I get zero because it is a text field.
I want to SUM on the cost spent per vehicle.

Any suggestions?
--
Is it the times or the Zeitgiest?

Luke M

Data subtotals with Text
 
Select both your Car type column, AND the cost column.
Now go to Data - Subtotal.
It will give you the option to give a subtotal at each change in Car type,
and then sum the costs.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"KevinS" wrote:

Before you call me nuts - hear me out:
I have a list for vehicle gas usage by date. i would like to sort the
vehicle column and then get a subtotal by money spent for gas.

When I use Dat the subtotal and SUM I get zero because it is a text field.
I want to SUM on the cost spent per vehicle.

Any suggestions?
--
Is it the times or the Zeitgiest?



All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com