Forum Discussion
Hogstad_Raadgivning
May 20, 2021Iron Contributor
Filter using dynamic operrator.
Hi,
The goal here is to select the oprator from a list. So the filter function change if the selection is
<
>
<=
>=
from cell reference
Function
=FILTER(Tabell1;INDEX(Tabell1;;XMATCH(S4;Tabell1[#Topptekster]))>U4;"")
Can the > be a cell refference?
Here the refference should be T3
Best Regards
- Geir
- You can do this using a range name. Suppose the > is in C1 and the value in D1, define this range name:
Name: MyFilter
Refersto:
=FILTER(Table1[a],EVALUATE(Table1[a]&Sheet1!$C$1&Sheet1!$D$1))
Now enter =MyFilter somewhere.
7 Replies
- Hogstad_RaadgivningIron Contributor
Could the LET function be used here?
Never used it before..
Attached is a samle file.
- Geir
- JKPieterseSilver ContributorYou can do this using a range name. Suppose the > is in C1 and the value in D1, define this range name:
Name: MyFilter
Refersto:
=FILTER(Table1[a],EVALUATE(Table1[a]&Sheet1!$C$1&Sheet1!$D$1))
Now enter =MyFilter somewhere.- Hogstad_RaadgivningIron ContributorThank you. That looks like a perfect solution. My problem is that I can not figure out what Microsoft har translated EVALUATE into in Norwegian. Could I ask you to please attach a file with =EVALUATE() only, so I can find the formula?
Best regards
- Geir- JKPieterseSilver Contributor