+ Reply to Thread
Results 1 to 3 of 3

Need to insert row and perform the summation of data values based on values in column A

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Need to insert row and perform the summation of data values based on values in column A

    Hi Gurus,

    I am new to excel macro but finding it very interesting. I have a problem where in my data set I have three columns, Department, Account and Amount. One department can have multiple Accounts and I have to perform the sum of all the accounts by department by inserting another row between the department and highlight the same in bold and underline.

    PFA the excel containing the original data and required output.

    Please help.

    Thanks and Regards,
    Sunil
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-04-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Need to insert row and perform the summation of data values based on values in column

    Hi Sunil

    What you could do is highlight the full range, then click the data tab, in the outline group click on subtotal, then ensure you have ticks in department and amount then click OK you will aslo get a grand total.

    hope this helps

  3. #3
    Registered User
    Join Date
    10-15-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need to insert row and perform the summation of data values based on values in column

    Thanks Kev, I appreciate your help but I am looking for some macro which can be used to do the underline of the added total and subtotal without doing any manual step.

    Thanks and Regards,
    Sunil

+ 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