+ Reply to Thread
Results 1 to 2 of 2

Subtotal with Named Range, result not showing

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-18-2004
    Location
    Portland, Oregon
    MS-Off Ver
    2016
    Posts
    182

    Subtotal with Named Range, result not showing

    Hi all,

    I have a formula that looks like this:
    =subtotal(4, Data)
    Data = OFFSET(Sheet1!$C6,0,1,1,COUNTA(Sheet1!6:6)-2)
    *the Data range selects correctly when I look in the "define name" wizard.

    When I use the "function arguments" wizard
    function_num "4" = MAX
    Ref1 Data = {1,2,3,4,5,6}
    Formula Result = 6.0

    But in the sheet it self the formula does not return a result.

    Any idea as to why?

    Thanks,
    Matt
    Last edited by matt4003; 07-19-2010 at 01:48 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Subtotal with Named Range, result not showing

    I think you need to absolutely reference the cells in the offset formula..

    =OFFSET(Sheet1!$C$6,0,1,1,COUNTA(Sheet1!$6:$6)-2)

    if you don't want to and it must be relative, then you need to enter the Subtotal formula in the same row... but then you will need to change 6:6 to a defined name that doesn't include the cell you are entering the subtotal formula in.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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