+ Reply to Thread
Results 1 to 2 of 2

Macro to sort and subtotal current region

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    Tampa, FL, USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro to sort and subtotal current region

    I need help creating a macro that does the following:

    1. Select the current region based on the active cell.
    2. Sort by state class, then acq date.
    3. Subtotal the sum of the reported cost at each change in state class, then bold each subtotal and grand total.

    The current region will include a first row header.

    I have attached a sample file. I will have many of these groups of data on the same spreadsheet, and I am wanting to just run the macro to do it automatically.

    Thanks in advance,

    David White
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,652

    Re: Macro to sort and subtotal current region

    Please Login or Register  to view this content.

+ 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