#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default SUBTOTAL QUERY

Hi All,

Can some help. I am using Excel 2007

I have 3 columns

A B C
Invoice Amount Sub Total
D1000 50.00
D1000 1250.00
D1200 5000.00
D1200 1250.00
D1300 750.00
D1300 999.90

My question is this - how can I using the SUBTOTAL function in Excel,get it
to subtotal the total value for each item in Col A and put the subtotal of
these occurences in Column C. eg. in Column C for D1000 = 1300.00, D1200 =
6250.00 etc.

I have tried every way but I can only get excel to put the subtotal amount
in Col B after the end of each occurence of the totalled invoice numbers.Can
anyone assist?

Many thanks
FinanceGuru



--
Wales - the land of fire breathing dragons and rugby playing wizards.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default SUBTOTAL QUERY

Try this in C2:

=IF(C2=C3,"",SUMIF(A:A,A2,B:B))

then copy it down. It should give you subtotals against the last entry
of consecutive values in A. This assumes that the data is sorted on
column A.

Data | Subtotals works in the way you describe, so you can't get the
effect you want using that.

Hope this helps.

Pete

On Jul 31, 3:37*pm, Finance Guru
wrote:
Hi All,

Can some help. *I am using Excel 2007

I have 3 columns

A * * * * * * * * *B * * * * * * * * C
Invoice * * * Amount * * Sub Total
D1000 * * * * *50.00
D1000 * * * 1250.00
D1200 * * * 5000.00
D1200 * * * 1250.00
D1300 * * * * 750.00
D1300 * * * * 999.90

My question is this - how can I using the SUBTOTAL function in Excel,get it
to subtotal the total value for each item in Col A and put the subtotal of
these occurences in Column C. *eg. in Column C for D1000 = 1300.00, D1200 =
6250.00 etc.

I have tried every way but I can only get excel to put the subtotal amount
in Col B after the end of each occurence of the totalled invoice numbers.Can
anyone assist?

Many thanks
FinanceGuru

--
Wales - the land of fire breathing dragons and rugby playing wizards.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default SUBTOTAL QUERY

Hi Pete,

Thanks for your response. Yes I could do it that way,my question was more
whether I was missing anything in the SUBTOTAL ( not shouting ) function to
achieve this automatically.

Thanks again
FinanceGuru
--
Wales - Where once miners toiled,now fire breathing dragons and rugby
playing wizards play in lush green valleys.


"Pete_UK" wrote:

Try this in C2:

=IF(C2=C3,"",SUMIF(A:A,A2,B:B))

then copy it down. It should give you subtotals against the last entry
of consecutive values in A. This assumes that the data is sorted on
column A.

Data | Subtotals works in the way you describe, so you can't get the
effect you want using that.

Hope this helps.

Pete

On Jul 31, 3:37 pm, Finance Guru
wrote:
Hi All,

Can some help. I am using Excel 2007

I have 3 columns

A B C
Invoice Amount Sub Total
D1000 50.00
D1000 1250.00
D1200 5000.00
D1200 1250.00
D1300 750.00
D1300 999.90

My question is this - how can I using the SUBTOTAL function in Excel,get it
to subtotal the total value for each item in Col A and put the subtotal of
these occurences in Column C. eg. in Column C for D1000 = 1300.00, D1200 =
6250.00 etc.

I have tried every way but I can only get excel to put the subtotal amount
in Col B after the end of each occurence of the totalled invoice numbers.Can
anyone assist?

Many thanks
FinanceGuru

--
Wales - the land of fire breathing dragons and rugby playing wizards.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default SUBTOTAL QUERY

Well, putting a formula in one cell and copying it down is fairly
automatic, and will certainly be faster than the Data | Subtotal route
(which doesn't give you what you want anyway), if you have a lot of
invoices !

Pete

On Jul 31, 4:27*pm, Finance Guru
wrote:
Hi Pete,

Thanks for your response. Yes I could do it that way,my question was more
whether I was missing anything in the SUBTOTAL ( not shouting ) function to
achieve this automatically.

Thanks again
FinanceGuru
--
Wales - Where once miners toiled,now fire breathing dragons and rugby
playing wizards play in lush green valleys.



"Pete_UK" wrote:
Try this in C2:


=IF(C2=C3,"",SUMIF(A:A,A2,B:B))


then copy it down. It should give you subtotals against the last entry
of consecutive values in A. This assumes that the data is sorted on
column A.


Data | Subtotals works in the way you describe, so you can't get the
effect you want using that.


Hope this helps.


Pete


On Jul 31, 3:37 pm, Finance Guru
wrote:
Hi All,


Can some help. *I am using Excel 2007


I have 3 columns


A * * * * * * * * *B * * * * * * * * C
Invoice * * * Amount * * Sub Total
D1000 * * * * *50.00
D1000 * * * 1250.00
D1200 * * * 5000.00
D1200 * * * 1250.00
D1300 * * * * 750.00
D1300 * * * * 999.90


My question is this - how can I using the SUBTOTAL function in Excel,get it
to subtotal the total value for each item in Col A and put the subtotal of
these occurences in Column C. *eg. in Column C for D1000 = 1300.00, D1200 =
6250.00 etc.


I have tried every way but I can only get excel to put the subtotal amount
in Col B after the end of each occurence of the totalled invoice numbers.Can
anyone assist?


Many thanks
FinanceGuru


--
Wales - the land of fire breathing dragons and rugby playing wizards.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default SUBTOTAL QUERY

I agree. Thanks again for your help
--
Wales - Can it really be the land of fire breathing dragons and rugby
playing wizards. Come on down and see for oneself.


"Pete_UK" wrote:

Well, putting a formula in one cell and copying it down is fairly
automatic, and will certainly be faster than the Data | Subtotal route
(which doesn't give you what you want anyway), if you have a lot of
invoices !

Pete

On Jul 31, 4:27 pm, Finance Guru
wrote:
Hi Pete,

Thanks for your response. Yes I could do it that way,my question was more
whether I was missing anything in the SUBTOTAL ( not shouting ) function to
achieve this automatically.

Thanks again
FinanceGuru
--
Wales - Where once miners toiled,now fire breathing dragons and rugby
playing wizards play in lush green valleys.



"Pete_UK" wrote:
Try this in C2:


=IF(C2=C3,"",SUMIF(A:A,A2,B:B))


then copy it down. It should give you subtotals against the last entry
of consecutive values in A. This assumes that the data is sorted on
column A.


Data | Subtotals works in the way you describe, so you can't get the
effect you want using that.


Hope this helps.


Pete


On Jul 31, 3:37 pm, Finance Guru
wrote:
Hi All,


Can some help. I am using Excel 2007


I have 3 columns


A B C
Invoice Amount Sub Total
D1000 50.00
D1000 1250.00
D1200 5000.00
D1200 1250.00
D1300 750.00
D1300 999.90


My question is this - how can I using the SUBTOTAL function in Excel,get it
to subtotal the total value for each item in Col A and put the subtotal of
these occurences in Column C. eg. in Column C for D1000 = 1300.00, D1200 =
6250.00 etc.


I have tried every way but I can only get excel to put the subtotal amount
in Col B after the end of each occurence of the totalled invoice numbers.Can
anyone assist?


Many thanks
FinanceGuru


--
Wales - the land of fire breathing dragons and rugby playing wizards.- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default SUBTOTAL QUERY

You're welcome.

Pete

On Jul 31, 5:04*pm, Finance Guru
wrote:
I agree. Thanks again for your help
--
Wales - Can it really be the land of fire breathing dragons and rugby
playing wizards. Come on down and see for oneself.

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
macro excel subtotal in subtotal GBO Excel Discussion (Misc queries) 2 November 29th 07 02:15 PM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 03:52 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 28th 06 11:10 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 03:28 PM.

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

About Us

"It's about Microsoft Excel"