+ Reply to Thread
Results 1 to 6 of 6

dynamic range for (example: subtotals)

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003/2007
    Posts
    5

    dynamic range for (example: subtotals)

    sorry if this is already answered elsewhere, i couldn't find it.

    Im trying to sort and subtotal.
    I have this already:

    Please Login or Register  to view this content.
    which works fine for down, but my header is 2 rows, and in row1 there are empty cells inbetween. I was wondering how to define the selection to the right, maybe by a fixed amount of columns? since only the number of rows change. i always have only 12 columns

    attached file should make this easier to understand
    Attached Files Attached Files
    Last edited by AndersonB; 02-02-2010 at 02:37 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: dynamic range for (example: subtotals)

    Never code around design errors when you can simplify your life by correcting the design.

    Use 1 row for headers.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-02-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003/2007
    Posts
    5

    Re: dynamic range for (example: subtotals)

    @JBeaucaire: I dont have a choice Is there nothing i can do?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: dynamic range for (example: subtotals)

    Maybe ...
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: dynamic range for (example: subtotals)

    Don't have a choice? Just fix the headers:
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-02-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003/2007
    Posts
    5

    Re: dynamic range for (example: subtotals)

    Thank you so much shg, it worked prefectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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