+ Reply to Thread
Results 1 to 9 of 9

Pulling Down array Formula - Need To Change absolute reference

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Pulling Down array Formula - Need To Change absolute reference

    Hi, I have the following array formula
    Formula: copy to clipboard
    =IFERROR(INDEX($F$2:$F$22,SMALL(IF($F$2:$F$22<>"",ROW($F$2:$F$22)-1),COLUMN(A:A))),"")
    which I've to pull down 100 rows.
    I have kept the reference locked because it has to be pulled across columns also.

    Presently, I am manually editing the reference for each row ( Eg: changing F2:F22 to G2:G22) which is taking a lot of time.

    Please provide a solution


    Regards

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Pulling Down array Formula - Need To Change absolute reference

    Could you not just leave the column references absolute while making the row references relative?

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Pulling Down array Formula - Need To Change absolute reference

    If I understand what you want, try this...

    =IFERROR(INDEX(F:F,SMALL(IF(F$2:F$22<>"",ROW(F$2:F$22)),COLUMNS($A1:A1))),"")

    Still array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Re: Pulling Down array Formula - Need To Change absolute reference

    I'm attaching the file so that its clear.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,767

    Re: Pulling Down array Formula - Need To Change absolute reference

    Try

    in AA2


    =IFERROR(INDEX($F$2:$Y$22,SMALL(IF(INDEX($F$2:$Y$22,,ROWS($F$2:F2))<>"",ROW($F$2:$F$22)-1),COLUMN(A:A)),ROWS($F$2:F2)),"")

  6. #6
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Re: Pulling Down array Formula - Need To Change absolute reference

    Quote Originally Posted by JohnTopley View Post
    Try

    in AA2


    =IFERROR(INDEX($F$2:$Y$22,SMALL(IF(INDEX($F$2:$Y$22,,ROWS($F$2:F2))<>"",ROW($F$2:$F$22)-1),COLUMN(A:A)),ROWS($F$2:F2)),"")

    excellent!!!
    Thanks a lot JohnTopley


    Could you give a small explanation?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,767

    Re: Pulling Down array Formula - Need To Change absolute reference

    =IFERROR(INDEX($F$2:$Y$22,SMALL(IF(INDEX($F$2:$Y$22,,ROWS($F$2:F2))<>"",ROW($F$2:$F$22)-1),COLUMN(A:A)),ROWS($F$2:F2)),"")

    INDEX($F$2:$Y$22............

    selects the total range .... with ROWS($F$2:F2) being the COLUMN number so we select column F [ ROWS($F$2:F2)=1 ], then G [ ROWS($F$2:F3)=2] ..etc


    INDEX($F$2:$Y$22,,ROWS($F$2:F2))<>"",ROW($F$2:$F$22)-1),COLUMN(A:A))

    the highlighted again part selects the COLUMN of the INDEX range so as the formula is copied down ROWS($F$2:F2) is incremented by 1 so we get the first column in the range - F, then the second - G ...etc.

    COLUMN(A:A)) is the index for the SMALL: as the formula is dragged across columns this has values of 1, 2, 3 etc.

    Hope this helps.

  8. #8
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Re: Pulling Down array Formula - Need To Change absolute reference

    Thanks a lot.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,767

    Re: Pulling Down array Formula - Need To Change absolute reference

    You're welcome and thank you for the rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Max Absolute Array change to 1st, 2nd, largest etc
    By amartino44 in forum Excel General
    Replies: 9
    Last Post: 09-06-2013, 05:22 PM
  2. change from relative reference to absolute reference
    By ronlau123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2011, 04:57 AM
  3. Replies: 1
    Last Post: 09-18-2010, 05:28 AM
  4. change absolute reference in a formula
    By mingali in forum Excel General
    Replies: 6
    Last Post: 09-13-2009, 11:03 PM
  5. How to change absolute cell reference with formula
    By mzypt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-10-2008, 11:36 AM
  6. HOw do I change group of cells from absolute reference?
    By bre in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-24-2005, 11:05 PM
  7. Change linked cell reference to absolute
    By RAP in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2005, 11:05 AM
  8. Replies: 7
    Last Post: 05-04-2005, 04:06 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