Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Subtotals in Excel

See attached spreadsheet.

We want totals of the cost by the task.

Note that I manually did the first one (br01).

Is there a way to do this automatically without manually entering the formula? Note that in many cases, there is only ONE part so obviously the total is just the one part.
Parts-N-Task-23.xls
0
Richard Korts
Asked:
Richard Korts
  • 5
  • 4
1 Solution
 
Patrick MatthewsCommented:
rkorts,

You can use either the Data / Outline / Subtotal feature, or Insert / Tables / PivotTable feature.

That said, I have a question about the methodology.  Consider br100.  Simply adding the values in B13 and B14 does not seem appropriate, as the quantities for both are not equal to one.

Do you actually need the sum of the products of the cost and quantity columns?

Patrick
0
 
Patrick MatthewsCommented:
Assuming my last sentence above is accurate...

Add a new column to your data, labeled "Amount", with formula:

=B2*D2

Copy down as needed.

Now, create a PivotTable, with Task as the row field, and (sum of) Amount as the data field.
0
 
Richard KortsAuthor Commented:
matthewspatrick

Yes, you are right, it is b2*d2 (per part).

I can;t understand how I do a pivot table. I tried, it makes no sense (does not give me row field / data field.

Can you explain?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Patrick MatthewsCommented:
I just made a quick video of how to do this:

http://www.screencast.com/t/pGGfKnPhuP
0
 
Richard KortsAuthor Commented:
Thanks for the video; it still took some doing.

I had the Amount column one more column to the right; doesn't work
0
 
Patrick MatthewsCommented:
When you use a range as the source for the PivotTable, you need to make sure that that range does not have blank columns or rows :)
0
 
Richard KortsAuthor Commented:
OK, I didn't know that.

Just for your future reference, the video was great but the images were SO small, I had a hard time seeing the details. I zoomed 3 or 4 times.

Thanks!
0
 
Patrick MatthewsCommented:
Thanks for that feedback.  First time using Camtasia :)
0
 
Richard KortsAuthor Commented:
Regarding Camtasia; is it simple to record technical instructions like you did? I have that need a lot myself.

Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now