Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rjtees
 
Posts: n/a
Default Replace with subtotals

I have Account codes in column A (about 5 per account #), all which have
different values in C. I need to subtotal Column C based on account numbers.
The problem is, is that I need the spreadsheet to display the total for each
account number, instead of all of the entries. I can't hide anything either
because the spreadsheet has to be imported into another software. Thanks
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Can you post a sample of your data?

Biff

-----Original Message-----
I have Account codes in column A (about 5 per account #),

all which have
different values in C. I need to subtotal Column C based

on account numbers.
The problem is, is that I need the spreadsheet to

display the total for each
account number, instead of all of the entries. I can't

hide anything either
because the spreadsheet has to be imported into another

software. Thanks
.

  #3   Report Post  
rjtees
 
Posts: n/a
Default

Here is a sample. Thanks so much for your time. For example, I need all
the 1000-0000 and 1050-000 in one line with the total. Column B should take
the title of the first entry.

1000-0000 Cash - Checking (65,000)
1000-0000 Cash Checking (55,000)
1000-0000 Cash (78,000)
1000-0000 Cash - Checking (3,000)
1000-0000 Cash/Checking (20,000)
1000-0000 Cash (6,000)
1000-0001 Cash - Checking 17,000
1000-0001 Cash - 109,000
1000-1104 Cash Checking 153,000
1000-2032 Cash - Checking 15,000
1000-2033 Cash - Checking 100,000
1010-0000 Cash - (75,000)
1020-0000 Cash - 10,000
1050-0000 Cash - (200,000)
1050-0000 Gift (81,000)
1050-0000 Gift (111,000)

Thanks again.
"Biff" wrote:

Hi!

Can you post a sample of your data?

Biff

-----Original Message-----
I have Account codes in column A (about 5 per account #),

all which have
different values in C. I need to subtotal Column C based

on account numbers.
The problem is, is that I need the spreadsheet to

display the total for each
account number, instead of all of the entries. I can't

hide anything either
because the spreadsheet has to be imported into another

software. Thanks
.


  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

If the account numbers are always 4 characters long:

=SUMPRODUCT((--LEFT(A1:A16,4)=1000)*C1:C16)

OR, use a cell to hold the account number:

G1 = 1000

=SUMPRODUCT((--LEFT(A1:A16,4)=G1)*C1:C16)

If the account numbers may be of different lengths:

=SUMPRODUCT((--LEFT(A1:A16,FIND("-",A1:A16)-1)=1000xx)
*C1:C16)

Biff

-----Original Message-----
Here is a sample. Thanks so much for your time. For

example, I need all
the 1000-0000 and 1050-000 in one line with the total.

Column B should take
the title of the first entry.

1000-0000 Cash - Checking (65,000)
1000-0000 Cash Checking (55,000)
1000-0000 Cash (78,000)
1000-0000 Cash - Checking (3,000)
1000-0000 Cash/Checking (20,000)
1000-0000 Cash (6,000)
1000-0001 Cash - Checking 17,000
1000-0001 Cash - 109,000
1000-1104 Cash Checking 153,000
1000-2032 Cash - Checking 15,000
1000-2033 Cash - Checking 100,000
1010-0000 Cash - (75,000)
1020-0000 Cash - 10,000
1050-0000 Cash - (200,000)
1050-0000 Gift (81,000)
1050-0000 Gift (111,000)

Thanks again.
"Biff" wrote:

Hi!

Can you post a sample of your data?

Biff

-----Original Message-----
I have Account codes in column A (about 5 per account

#),
all which have
different values in C. I need to subtotal Column C

based
on account numbers.
The problem is, is that I need the spreadsheet to

display the total for each
account number, instead of all of the entries. I

can't
hide anything either
because the spreadsheet has to be imported into

another
software. Thanks
.


.

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
Excel gets subtotals out of order using multiple sorts and subtot. jeffl Excel Discussion (Misc queries) 1 March 29th 05 01:35 AM
Find and Replace - Quickest Option? Lindsey M Excel Worksheet Functions 1 March 8th 05 11:34 AM
why are nested subtotals coming out below outer subtotals? Hendy Excel Worksheet Functions 2 January 18th 05 08:09 PM
Replace using wildcards jeb Excel Discussion (Misc queries) 6 January 6th 05 03:35 PM
VB Find and Replace Bony_Pony Excel Worksheet Functions 10 December 6th 04 05:45 PM


All times are GMT +1. The time now is 04:50 AM.

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"