Forum Discussion

1 Reply

  • m_tarler's avatar
    m_tarler
    Bronze Contributor

    the HSTACK() should work:

    =SUM(AGGREGATE(15,2,1/(1/HSTACK([@a],[@c],[@e],[@f],[@h])),{1,2,3,4,5}))

    and in addition to Sergei's suggestion using INDEX you could use CHOOSECOLS()

    =SUM(TAKE(SORT(IFERROR(1/(1/CHOOSECOLS(Table1[@[a]:[h]],1,3,5,6,8)),""),,,1),,5))

    if you are having problems please post the actual formula you tried so we can see what might be wrong or better yet a worksheet with non-private/non-personal information.  

Resources