Forum Discussion

Stuart_Ballinger's avatar
Stuart_Ballinger
Copper Contributor
Aug 12, 2021
Solved

Using Embedded functions

Hi,   I want to have in cell A1 a function typed as a string such as Min.   In column C i have an array which for instance is (1,2,3,4,5,6,7)   In B1 i would like to say =A1&"(C:C) to find the ...
  • Riny_van_Eekelen's avatar
    Aug 12, 2021

    Stuart_Ballinger If the variable functions you intend to choose from are in the list of function numbers used by AGGREGATE, you could do something like in the attached workbook.

     

    Select the function to be used from the dropdown in A2. Then, B2 will find the function number. I've used MATCH, but you also use VLOOKUP, XLOOKUP or INDEX/MATCH, if you intend to use a shorter list of functions.

     

    In C1, the AGGREGATE function is executed using the function number from B2.

Resources