Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Excel Image

I need to add all column G values together for each Value in column C (ndc) and display them into another sheet listing just NDC and then Total next to it. How would I go about doing that? Thanks

share|improve this question
up vote 0 down vote accepted

I would use a pivot table for this.

Click anywhere in your table, select Insert -> Pivot Table. Create the pivot table in another sheet. When you are shown the new pivot table, you will see a window pop up on the right called "Field List". Drag NDC to the "Row Labels" and the TotalQty to the "Values" section (if it says "COUNT Of TotalQty", click it, choose Value Properties...and change it to SUM).

share|improve this answer
I tried messing with PivotTable and couldn't get it to do what I wanted. I didn't realize I had to click Value Properties and change it to sum. That worked perfect. Thanks – user143018 Dec 7 '12 at 21:02
Glad you got it working :) – joseph4tw Dec 7 '12 at 21:14

You must log in to answer this question.