Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Sum Column C for duplicate account number in Column A

Hopefully this makes sense. I have a huge spreadsheet that has different
account numbers in Column A, each of these accounts could have a different
sub account in Column B. In Column C is the total number of items for each
subaccount. What I'm trying to do is add up all the items per Account. The
spreadsheet is too big to do a simple sum if Column C equals "Account A". It
has to be a little more sophisticated than that but still as simple as
possible.

Column A Column B Column C

Account A Account A1 5
Account A Account A2 5
Account A Account A3 12
Account B Account B1 10
Account C Account C1 5
Account C Account C2 3

So, total Column C for all Account A's = 22. Total for all Account B's =
10, etc.

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows that match in
Column A.

Hopefully that makes sense.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Sum Column C for duplicate account number in Column A

Use SUMIF() .Replace the text string to a cell reference.

=SUMIF(A:A,"Account A",C:C)

If this post helps click Yes
---------------
Jacob Skaria


"Melody" wrote:

Hopefully this makes sense. I have a huge spreadsheet that has different
account numbers in Column A, each of these accounts could have a different
sub account in Column B. In Column C is the total number of items for each
subaccount. What I'm trying to do is add up all the items per Account. The
spreadsheet is too big to do a simple sum if Column C equals "Account A". It
has to be a little more sophisticated than that but still as simple as
possible.

Column A Column B Column C

Account A Account A1 5
Account A Account A2 5
Account A Account A3 12
Account B Account B1 10
Account C Account C1 5
Account C Account C2 3

So, total Column C for all Account A's = 22. Total for all Account B's =
10, etc.

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows that match in
Column A.

Hopefully that makes sense.

Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Sum Column C for duplicate account number in Column A

Thanks Jacob. That doesn't quite take care of the issue. As indicated
below, I have a long list of Accounts in Column A so I cannot use "Account A"
in the formula . I need something that will look at all the different
accounts in the Column A, identify the Accounts (rows) that match and then
add up the amounts in Column C that match those rows Account in Column A.

Hope this makes it a little more sense.

"Jacob Skaria" wrote:

Use SUMIF() .Replace the text string to a cell reference.

=SUMIF(A:A,"Account A",C:C)

If this post helps click Yes
---------------
Jacob Skaria


"Melody" wrote:

Hopefully this makes sense. I have a huge spreadsheet that has different
account numbers in Column A, each of these accounts could have a different
sub account in Column B. In Column C is the total number of items for each
subaccount. What I'm trying to do is add up all the items per Account. The
spreadsheet is too big to do a simple sum if Column C equals "Account A". It
has to be a little more sophisticated than that but still as simple as
possible.

Column A Column B Column C

Account A Account A1 5
Account A Account A2 5
Account A Account A3 12
Account B Account B1 10
Account C Account C1 5
Account C Account C2 3

So, total Column C for all Account A's = 22. Total for all Account B's =
10, etc.

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows that match in
Column A.

Hopefully that makes sense.

Thanks.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Sum Column C for duplicate account number in Column A

Sounds like you need to make a unique list using datafilteradvanced
filter

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
Look in the help index for SUMIF. Should be able to do it using col a as
the criteria for col c total

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Melody" wrote in message
...
Hopefully this makes sense. I have a huge spreadsheet that has different
account numbers in Column A, each of these accounts could have a
different
sub account in Column B. In Column C is the total number of items for
each
subaccount. What I'm trying to do is add up all the items per Account.
The
spreadsheet is too big to do a simple sum if Column C equals "Account A".
It
has to be a little more sophisticated than that but still as simple as
possible.

Column A Column B Column C

Account A Account A1 5
Account A Account A2 5
Account A Account A3 12
Account B Account B1 10
Account C Account C1 5
Account C Account C2 3

So, total Column C for all Account A's = 22. Total for all Account B's =
10, etc.

Again, I have a long list of accounts and I want a formula that will look
at
all the items in Column A and just total Column C for the rows that match
in
Column A.

Hopefully that makes sense.

Thanks.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Sum Column C for duplicate account number in Column A

On 4 Nov, 14:52, Melody wrote:

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows


USe a PIVOT Table

Bye!
Scossa
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Sum Column C for duplicate account number in Column A

Thanks but that's not what I'm looking for. I have a massive spreadsheet and
I'm trying to do some compares. But I first need to find a way to sum up the
amounts in Column C for Accounts in Column A without having to use "Account
A" in the formula.

"Scossa" wrote:

On 4 Nov, 14:52, Melody wrote:

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows


USe a PIVOT Table

Bye!
Scossa
.

  #8   Report Post  
Posted to microsoft.public.excel.misc
MC MC is offline
external usenet poster
 
Posts: 29
Default Sum Column C for duplicate account number in Column A

Use the subtotal option under the Tools menu. Sort your data by Column A and
using the subtotal option, tell Excel to sum Column C at each change of
column A.

"Melody" wrote:

Hopefully this makes sense. I have a huge spreadsheet that has different
account numbers in Column A, each of these accounts could have a different
sub account in Column B. In Column C is the total number of items for each
subaccount. What I'm trying to do is add up all the items per Account. The
spreadsheet is too big to do a simple sum if Column C equals "Account A". It
has to be a little more sophisticated than that but still as simple as
possible.

Column A Column B Column C

Account A Account A1 5
Account A Account A2 5
Account A Account A3 12
Account B Account B1 10
Account C Account C1 5
Account C Account C2 3

So, total Column C for all Account A's = 22. Total for all Account B's =
10, etc.

Again, I have a long list of accounts and I want a formula that will look at
all the items in Column A and just total Column C for the rows that match in
Column A.

Hopefully that makes sense.

Thanks.


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Sum Column C for duplicate account number in Column A

Sounds like you would like a macro to do this.
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Melody" wrote in message
...
Thanks but that's not what I'm looking for. I have a massive spreadsheet
and
I'm trying to do some compares. But I first need to find a way to sum up
the
amounts in Column C for Accounts in Column A without having to use
"Account
A" in the formula.

"Scossa" wrote:

On 4 Nov, 14:52, Melody wrote:

Again, I have a long list of accounts and I want a formula that
will look at
all the items in Column A and just total Column C for the rows


USe a PIVOT Table

Bye!
Scossa
.


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
How to find duplicate cells in Column a & retrieve column B ghost Excel Discussion (Misc queries) 2 February 22nd 09 05:39 PM
Return Row Number of PREVIOUS Numeric Consecutive Duplicate in Column Sam via OfficeKB.com Excel Worksheet Functions 3 August 31st 07 09:21 PM
Count occurance of largest duplicate number in a single column ran catpro New Users to Excel 5 January 21st 07 05:10 PM
How can I check for a duplicate number in a column in Excel? kkinner Excel Discussion (Misc queries) 2 August 24th 06 03:44 PM
Return Row Number of LAST Numeric Consecutive Duplicate in Column Sam via OfficeKB.com Excel Worksheet Functions 10 July 7th 06 04:18 AM


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