Forum Discussion

PACCS_IMT's avatar
PACCS_IMT
Copper Contributor
Jun 19, 2025
Solved

Possible to use one formula in multiple cells?

I have a workbook developed where the exact same formula is used in over 300 cells. I made the formula so that it acts 'by reference' (a lot of use of the INDIRECT() function) such that the formula d...
  • m_tarler's avatar
    Jun 19, 2025

    This is exactly what LAMBDA function is ideal for.  basically in the Name Manager you would create a new NAME and the definition would be like:

    =LAMBDA(a, b, c, 100*a+IF(b>c, b, c) )

    then if that new NAME was called MyFunct then in each of the cells you just enter:

    =MyFunct( A10, B33, C22 )

    like any other function

    Hopefully you can get rid of all those INDIRECT() calls as they are "volatile" and can cause performance issues.

Resources