+ Reply to Thread
Results 1 to 4 of 4

Replace with subtotals

Hybrid View

  1. #1
    rjtees
    Guest

    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. #2
    Biff
    Guest

    Replace with subtotals

    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. #3
    rjtees
    Guest

    RE: Replace with subtotals

    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. #4
    Biff
    Guest

    RE: Replace with subtotals

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1