Filter Function Only Showing Chosen Columns using Match

Occasional Contributor

Hello - 


I am trying to replace the column numbers in the {} with a match function referencing the headers from the source table but the formula is spitting out 0. 


Initial formula with {} 



Updated formula with MATCH showing 0 in the "Stakeholder Name" Column 



Source table referenced 






6 Replies
best response confirmed by ligg_1 (Occasional Contributor)

Hi @ligg_1 


Could you try any of the following:





MATCH: default value for 3rd optional arg. (match_type) is 1

XMATCH: default value for 3rd optional arg. (match_mode) is 0


If none of the above fix the issue please attach a sample workbook to your next reply - Thanks

@ligg_1 Replicated your model in something similar and the formulae should work. The only time I can get a zero in the first column but the others filled correctly is when the column name is not the same. So, are you sure that the "Stakeholder Name" is exactly the same in both places? No trailing spaces in one of them by any chance?


@L z. 

Thanks! The first option worked!


Do you know if it is possible to use the SORTBY function here to sort by "next communication date" and then "next communication responsible party" (or at a minimum "next communication date")? I am not able to figure this out.



I copy and pasted the cell to ensure nothing was different and it still was pushing out "0". The solution by L z. worked when I added "0" to the match function.

Thanks for your help!
I'll (or someone else) be glad to have a look to your SORTBY follow up question but please do 2 things if you don't mind:
- Open a separate discussion
- Attach your workbook (remove sensitive data if any) to this new discussion as it very very difficult to work with pictures only given the length of your formula

@L z. thank you! I created a new forum here. I connected the document via Google drive because I don't think I have access to upload files directly.