Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Break Total (SUM question)

Dear all,

I what to sum up some value regarding different subjects, as below. Could anyone give solutions please?

Original:
Invoice No. Item Code Amount
I0001 A3823 $100
I0001 A4144 $100
I0001 A5344 $150
I0002 R6534 $200
I0002 R7521 $60
I0003 A8641 $70
I0004 A1130 $340
I0004 R8942 $600
I0004 R2135 $70
I0004 A4556 $70
I0004 A6683 $60
I0005 R4421 $210
I0005 R4462 $100

Expected:
Invoice No. Item Code Amount Total
I0001 A3823 $100 $350
I0001 A4144 $100
I0001 A5344 $150
I0002 R6534 $200 $260
I0002 R7521 $60
I0003 A8641 $70 $70
I0004 A1130 $340 $1140
I0004 R8942 $600
I0004 R2135 $70
I0004 A4556 $70
I0004 A6683 $60
I0005 R4421 $210 $310
I0005 R4462 $100

  #3   Report Post  
Junior Member
 
Posts: 19
Default

You could also try using SUMIFS for your solution.
E.G =SUMIFS(C2:C13,A2:A13,A2)
The above formula is assuming that Range A2:A13 is your Invoice Number. Range C2:C13 is values.

Last edited by SalientAnimal : October 27th 14 at 11:23 AM Reason: Adjusting Formula
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,514
Default Complex Filtering Formula

I'm curious why you wouldn't do this with your data (or recordset)
*before* dumping it into a worksheet!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
page break with auto sub total Sudipta Sen[_2_] Excel Worksheet Functions 0 September 5th 09 12:12 PM
Calculate time with a break and total hours Anita Excel Worksheet Functions 5 March 12th 09 04:12 PM
How do I insert a Sub total at every page break? Sharon Excel Discussion (Misc queries) 1 February 20th 07 03:37 PM
want a formula give total quanitity break up frm other sheet Aristotle Excel Worksheet Functions 1 June 23rd 06 09:01 AM
How to subtract a lunch break from total hrs worked in timesheet ZoeMarshall Excel Programming 2 October 28th 04 03:46 PM


All times are GMT +1. The time now is 07:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"