SOLVED

Filter Function Only Showing Chosen Columns using Match

Copper 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 {} 

ligg_1_0-1643775775111.png

 

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

ligg_1_1-1643775931185.png

 

Source table referenced 

ligg_1_2-1643776090659.png

 

 

 

 

6 Replies
best response confirmed by ligg_1 (Copper Contributor)
Solution

Hi @ligg_1 

 

Could you try any of the following:

=MATCH(N8:Q8,StakeholderCommPlan[#Headers],0)

or

=XMATCH(N8:Q8,StakeholderCommPlan[#Headers])

 

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.

ligg_1_0-1643823718837.png

 

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
Thanks

@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. 

 

Thanks! 

1 best response

Accepted Solutions
best response confirmed by ligg_1 (Copper Contributor)
Solution

Hi @ligg_1 

 

Could you try any of the following:

=MATCH(N8:Q8,StakeholderCommPlan[#Headers],0)

or

=XMATCH(N8:Q8,StakeholderCommPlan[#Headers])

 

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

View solution in original post