简体   繁体   中英

Excel - Passing a cell containing an array formula as input to a function in another cell

I was wondering if in excel there was a way to do this:

  • In cell A1 write an array function (eg INDEX(some_array,r_n,0) where some_array is a square NxM array and r_n is the row number, commited using Ctrl+Space+Enter)
  • In cell B2 calculate the i-th percentile of array in cell A1. I would like to write something like PERCENTILE.INC(A1,i/100) , which, alas, does not work, returning the first element of the array in A1.

Currrently I'm passing the formula in A1 to percentile, but it's a bit cumbersome. Thanks in advance

Currently there seems to exist a functionality for this, in case someone stumbles upon the same problem as I did.

Making use of the spill range functionality, you just need to append the '#' char to the address of the first cell of the spill range you want to use as part of some function, eg 'A1#'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM