+ Reply to Thread
Results 1 to 7 of 7

Get second row of a range using formula

  1. #1
    Registered User
    Join Date
    06-05-2008
    Posts
    12

    Get second row of a range using formula

    Is there a way to get the second row of a range using formula?
    Ex: I have A1: BC100 => A2:BC2

    I tried using INDEX(A1:BC100, 2) but it did not work.

    I am trying to define a name as the second row of another name

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Get second row of a range using formula

    Go with

    =INDEX(INDEX($A$1:$BC$100,2,0),0))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,630

    Re: Get second row of a range using formula

    Almost there try =INDEX(A1:BC100, 2,) to define your name

    ( the 2nd comma is important) !

  4. #4
    Registered User
    Join Date
    06-05-2008
    Posts
    12

    Re: Get second row of a range using formula

    Thank you Pepe Le Mokko.

    It worked

  5. #5
    Registered User
    Join Date
    06-05-2008
    Posts
    12

    Re: Get second row of a range using formula

    Maybe not related to this thread but:
    Is there a way to get using formula to get a subrange of a range?

    I have A1:BC1 and I want A1:Z1

    I think this will work =INDEX(A1:BC1,1,1):INDEX(A1:BC1,1,31) but are there simpler ways?

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Get second row of a range using formula

    How you are fixing it to Z?

    If it is manual fix then just enter the range manually


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  7. #7
    Registered User
    Join Date
    06-05-2008
    Posts
    12

    Re: Get second row of a range using formula

    Not even the range A1:BC100 is fixed. (What i have is range name and not an address.) I just need the subrange with the second row without the last 2 columns, and I was wandering if there is a way to define the name based on another name.

+ 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