+ Reply to Thread
Results 1 to 4 of 4

Nested formula help needed

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    87

    Nested formula help needed

    I have the following formula, which counts a range of rows by finding the next non-blank cell in the column. It's entered as an array formula and works exactly as I'd like.

    =MATCH(FALSE,ISBLANK(A7:A700),0)+1

    This is entered in A6, so A7 is the cell below. The "700" of A700 is arbitrary.

    I need to use the formula in a number of places, so I need to generate the address for ROW()+1, COLUMN(). I've tried a couple of approaches, but keep getting an error.

    Trying to generate just the address for A7:

    =MATCH(FALSE,ISBLANK(ADDRESS(ROW()+1,COLUMN()):A700),0)+1

    And trying to generate a suitable range using ADDRESS() and OFFSET():

    =MATCH(FALSE,ISBLANK(OFFSET(ADDRESS(ROW(),COLUMN()),1,0,700,1)),0)+1
    Last edited by Carson Dyle; 04-15-2017 at 10:01 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    32,876

    Re: Nested formula help needed

    Something like ... Array Entered:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That is, committed with Ctrl-Shift-Enter rather than just Enter
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    87

    Re: Nested formula help needed

    That works. Thanks. What is the difference between

    INDEX($A:$Z,ROW()+1,COLUMN())

    and

    ADDRESS(ROW()+1,COLUMN())

    ?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    32,876

    Re: Nested formula help needed

    INDEX works, ADDRESS doesn't

    Fine point, I guess, but ADDRESS is returning the address of a cell, that is a text string, whereas, INDEX is returning a cell reference.

+ 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. [SOLVED] Excel Nested IF formula help needed
    By engine44 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-24-2015, 12:49 PM
  2. Help with Nested IF Formula Needed
    By financeanalyst in forum Excel General
    Replies: 4
    Last Post: 04-03-2014, 10:18 AM
  3. [SOLVED] Nested IF or IF(AND formula needed please
    By rwalker1052 in forum Excel General
    Replies: 3
    Last Post: 11-26-2013, 03:58 AM
  4. Nested VLookup, Match Formula Help Needed
    By jealkon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 02:18 PM
  5. [SOLVED] Nested Formula - Additional Help needed
    By jealkon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 02:56 PM
  6. Nested If Formula Help Needed
    By johnsor1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-26-2012, 09:34 AM
  7. Nested IF or LOOKUP Formula needed?
    By shudder in forum Excel General
    Replies: 6
    Last Post: 09-14-2009, 11:12 AM

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