+ Reply to Thread
Results 1 to 3 of 3

How do you copy an array formula down a column while changing one value?

  1. #1
    Registered User
    Join Date
    04-05-2023
    Location
    Montana, United States
    MS-Off Ver
    MS365 Version 2302 Build 16.0.16130.20298) 64-bit
    Posts
    3

    Question How do you copy an array formula down a column while changing one value?

    Hello,

    I have an array formula that I would like to apply to an entire column while changing one value, see below:

    My formula is: =INDEX(N2:N7,MATCH(MAX(N(INDIRECT("'"&N2:N7&"'!E2"))),N(INDIRECT("'"&N2:N7&"'!E2")),0)) and I want each descending cell to have one change as seen below (changing the 'E' value):

    =INDEX(N2:N7,MATCH(MAX(N(INDIRECT("'"&N2:N7&"'!E3"))),N(INDIRECT("'"&N2:N7&"'!E3")),0))
    =INDEX(N2:N7,MATCH(MAX(N(INDIRECT("'"&N2:N7&"'!E4"))),N(INDIRECT("'"&N2:N7&"'!E4")),0))
    =INDEX(N2:N7,MATCH(MAX(N(INDIRECT("'"&N2:N7&"'!E5"))),N(INDIRECT("'"&N2:N7&"'!E5")),0))

    Any help is appreciated. Please see workbook.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: How do you copy an array formula down a column while changing one value?

    Hi,

    try this:

    =INDEX($C$2:$C$7,MATCH(MAX(N(INDIRECT("'"&$C$2:$C$7&"'!A"&ROWS($G$1:G2)))),N(INDIRECT("'"&$C$2:$C$7&"'!A"&ROWS($G$1:G2))),0))
    Attached Files Attached Files

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How do you copy an array formula down a column while changing one value?

    Welcome to the forum crnek1. Like Limor_OP's but since you already have the relative MAXs worked out in column A of Summary modify Limor_OP's like this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    the results are the same at my end.

    You could also eliminate the Sheets column (C) by placing a hard array of sheet names in Name Manager named Sheets and replace the $C$2:$C$7 references with Sheets


    Sheets
    ={"Adam","Corey","Luke","Rick","Lander","William"}
    Last edited by FlameRetired; 04-07-2023 at 03:45 PM. Reason: Afterthoughts
    Dave

+ 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. Array formula, copy column to another column ignoring blank
    By Confuze in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2018, 04:30 PM
  2. Unable to copy formula down but changing the lookup array every 8 lines
    By AdamStratfull in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2017, 06:21 AM
  3. copy formula down entire column while changing formula cell reference
    By am_hawk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2013, 11:34 AM
  4. How to extend a changing multi cell array formula down a column.
    By Patrician in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2013, 07:07 PM
  5. [SOLVED] Copy down changing Column Array
    By emesem5 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-24-2012, 09:13 PM
  6. Copy a formula while changing column references
    By sauron3000 in forum Excel General
    Replies: 2
    Last Post: 06-24-2008, 09:34 AM

Tags for this Thread

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