Solved

summing groups of fields....like totaling an invoice

Posted on 2014-03-18
4
147 Views
Last Modified: 2014-03-22
I have an excel table which expresses invoices generated. Rows are used one by one to display each item on that invoice. Column “D” displays the part number.  Column “C”  lists the invoice number,.
So if invoice 2110 has two items on it, there will be two rows representing this invoice. Each having a identical value in column C.

Column R shows the extended value of each row. I would like to accumulate the sum column of R for a group of rows pertaining to the same invoice number, as shown in column c,   and display that answer in column S.
Therefor if done properly… S will have only one value for each invoice ( which may be represented by 2 or more rows ).
I have up loaded a sample file.....
Can u help.
Starlight-Invoices-test.xlsx
0
Comment
Question by:intelogent
  • 2
4 Comments
 
LVL 39

Assisted Solution

by:nutsch
nutsch earned 334 total points
ID: 39938542
In cell S3:

=IF(C4<>C3,SUMPRODUCT((C$3:C3=C3)*E$3:E3*F$3:F3),"")

and copy down.

Thomas
0
 

Author Comment

by:intelogent
ID: 39938662
not so fast...

firstly   it works... but it is spookey.....

how is it totaling "R"  when "R" is not mentioned in your formulas?

its not a perfect answer until I understand... :) :)
0
 
LVL 39

Accepted Solution

by:
nutsch earned 334 total points
ID: 39938707
I'm actually recalculating R based on qty and price columns in the sumproduct. Using column R, it would be:

=IF(C4<>C3,SUMif(C$3:C3,C3,R$3:r3),"")
0
 
LVL 33

Assisted Solution

by:Rob Henson
Rob Henson earned 166 total points
ID: 39939433
Alternative to get a summary table would be to use a pivot table with Invoice number as a row header.

Thanks
Rob H
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question