+ Reply to Thread
Results 1 to 4 of 4

Combining subtotal sum with offset using an array for row reference

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Hong Kong
    MS-Off Ver
    Office 365 PC Version
    Posts
    214

    Combining subtotal sum with offset using an array for row reference

    Hi,

    Thanks for reading my Thread.

    The problem I have is as follows:

    1) 3 data sets 1440 rows each with 12 blank spaces inbetween down 1 column
    2) I like to sum every 12 months for the 3 data sets
    3) I figured out the formula for the first data set
    4) Am trying to use the subtotal function with sum and and an array as the row reference for the 3 data sets but it is not working
    5) My workbook is attached

    Thanks for your help John
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Combining subtotal sum with offset using an array for row reference

    Try this........

    =SUBTOTAL(9,OFFSET($B$4,{0;1452;2904}+(ROW()-ROW($C$4))*12,0,12))
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Hong Kong
    MS-Off Ver
    Office 365 PC Version
    Posts
    214

    Re: Combining subtotal sum with offset using an array for row reference

    Hi,

    This allready the formula am using.

    However, by trial and error I added sum in front and made it into an array formula and it seems to be working.

    Regards JV

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Combining subtotal sum with offset using an array for row reference

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Combining Subtotal and CountIf
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-16-2012, 04:42 AM
  2. Combining SUMIFS with SUBTOTAL
    By e_lad in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-16-2011, 11:23 AM
  3. Limitations when Combining OFFSET and MATCH to return a cell reference
    By dangermousedale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-23-2008, 08:39 PM
  4. Combining sumif, subtotal with filters?
    By November in forum Excel General
    Replies: 30
    Last Post: 11-04-2006, 03:27 PM
  5. Cannot Reference "Array" in Subtotal Function
    By Jhcorsair in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-07-2006, 07:30 PM

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