Forum Discussion
Hogstad_Raadgivning
Oct 11, 2020Iron Contributor
Get the filtered/selected value from a table.
Hi,
The goal here is to use Slice to select a value and get that value, so I can use it in other formulas.
See the attached sheet for example, explanation.
Best Regards
- Geir
In Excel two functions take hided content into account, SUBTOTAL() and AGGREGATE(). You may add helper column as here
in which function
=AGGREGATE(3,3,[@Kode])
returns 0 or 1 depend on row is filtered or not. To return first filtered value we may use
=INDEX([Kode],MATCH(1,[IsNotFiltered],0))
Result will be like
3 Replies
- SergeiBaklanDiamond Contributor
In Excel two functions take hided content into account, SUBTOTAL() and AGGREGATE(). You may add helper column as here
in which function
=AGGREGATE(3,3,[@Kode])
returns 0 or 1 depend on row is filtered or not. To return first filtered value we may use
=INDEX([Kode],MATCH(1,[IsNotFiltered],0))
Result will be like
- Hogstad_RaadgivningIron Contributor
Perfect, thank you SergeiBaklan
- SergeiBaklanDiamond Contributor
Hogstad_Raadgivning , you are welcome