#1   Report Post  
Posted to microsoft.public.excel.misc
expicitd
 
Posts: n/a
Default Sum by like data

Question how can I use the SUM command to have it list the grand total for a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Sum by like data

Use either pivot table or datasubtotal


--

Regards,

Peo Sjoblom


"expicitd" wrote in message
...
Question how can I use the SUM command to have it list the grand total for

a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96



  #3   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Sum by like data

If your data is sorted so that all like WTNs are continuous, use Data
Subtotals. Select your data, then Data Subtotals. Use the drop-downs to
apply Sum to BillAmt on changes of WTN. Note that this will use function 9
(sum) of the subtotal function.
(You could also create a pivot table, dropping WTN into the rows field and
BillAmt in the data field).
--Bruce

"expicitd" wrote:

Question how can I use the SUM command to have it list the grand total for a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96

  #4   Report Post  
Posted to microsoft.public.excel.misc
David Billigmeier
 
Posts: n/a
Default Sum by like data

If WTN is in column A and BillAMt is in column B, use:

=SUMIF(A1:A100,"111111",B1:B100)
=SUMIF(A1:A100,"222222",B2:B100)

--
Regards,
Dave


"expicitd" wrote:

Question how can I use the SUM command to have it list the grand total for a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96

  #5   Report Post  
Posted to microsoft.public.excel.misc
expicitd
 
Posts: n/a
Default Sum by like data

The problem with Data Subtotal is copying the end result to a txt file is
all the the data is copy over not just the subtotals (end result)

"bpeltzer" wrote:

If your data is sorted so that all like WTNs are continuous, use Data
Subtotals. Select your data, then Data Subtotals. Use the drop-downs to
apply Sum to BillAmt on changes of WTN. Note that this will use function 9
(sum) of the subtotal function.
(You could also create a pivot table, dropping WTN into the rows field and
BillAmt in the data field).
--Bruce

"expicitd" wrote:

Question how can I use the SUM command to have it list the grand total for a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96



  #6   Report Post  
Posted to microsoft.public.excel.misc
expicitd
 
Posts: n/a
Default Sum by like data

how do i create a pivot table?

"Peo Sjoblom" wrote:

Use either pivot table or datasubtotal


--

Regards,

Peo Sjoblom


"expicitd" wrote in message
...
Question how can I use the SUM command to have it list the grand total for

a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96




  #7   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Sum by like data

See http://peltiertech.com/Excel/Pivots/pivotstart.htm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"expicitd" wrote in message
...
how do i create a pivot table?

"Peo Sjoblom" wrote:

Use either pivot table or datasubtotal


--

Regards,

Peo Sjoblom


"expicitd" wrote in message
...
Question how can I use the SUM command to have it list the grand total

for
a
wtn everytime time it changes?
Example data

WTN BillAMt
1111111 1.00
1111111 4.26
1111111 5.32
1111111 8.62
2222222 9.36
2222222 83.20
2222222 15.20
2222222 8.20



End result

WTN BIllAmt
1111111 19.20
2222222 115.96






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
Saving data in a worksheet within a workbook Homeuser Excel Discussion (Misc queries) 2 August 21st 05 10:49 PM
Automatically pasting worksheet data to new worksheet with formulas COntactJason Excel Worksheet Functions 0 August 10th 05 08:22 PM
Pull Current Month's Data Out of List - Repost Karl Burrows Excel Discussion (Misc queries) 4 May 3rd 05 01:06 AM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM


All times are GMT +1. The time now is 08:10 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"