Forum Discussion
How to use Xlookup with median and IF functions together?
- Mar 19, 2022
AmyYang I didn't bother to look at any of the previous questions and answers, but this one seems to do what you asked for.
In B7:
=MEDIAN(FILTER(Table1[RR],(Table1[Source]="Citeline")*(Table1[Country]=[@Country])))And a similar one in C7. just change "Citeline" to "Q2Labs".
Edit: Note that the Table you refer to as "Table2" is actually called "Table1". And the formula you have problems with refers to a Table7 that doesn't exist. Not in this sheet in any case.
AmyYang I didn't bother to look at any of the previous questions and answers, but this one seems to do what you asked for.
In B7:
=MEDIAN(FILTER(Table1[RR],(Table1[Source]="Citeline")*(Table1[Country]=[@Country])))
And a similar one in C7. just change "Citeline" to "Q2Labs".
Edit: Note that the Table you refer to as "Table2" is actually called "Table1". And the formula you have problems with refers to a Table7 that doesn't exist. Not in this sheet in any case.