Here is a very quick tip if you ever want to hide a cell’s contents in excel
Just use the custom cell formatting (more here) code ;;;
How? (see the screencast aside too)

1. Select the cell you want to hide
2. Hit CTRL+1 (or open format cells dialog from right click)
3. Go to Number tab, select “custom” as the type
4. Type the formatting code as “;;;” without double quotes
5. Press OK and your cell contents are invisible now
What is the use of doing this?
1. This might be handy when you are using conditional formatting to highlight / change cell colors
2. This might be handy when you need to calculate intermediate values, but dont want to display them. (But try to use Hide rows / hide columns feature if you can)
Remember: This formatting code only blanks out the cell contents from being seen. They contents are still there and accessible for formulas, charts as such.
Also know how to display colors in chart data labels using custom cell formatting codes
What is your favorite cell formatting trick?














3 Responses to “Filter one table if the value is in another table (Formula Trick)”
What about the opposite? I want a list of products without sales or customers with no orders. So I would exclude the ones that are on the other table.
Good question. You can check for the =0 as countifs result. for example,
=FILTER(orders, COUNTIFS(products, orders[Product])=0)
should work in this case.
PS: I have added this example to the article now.
Hi there!
Could i check if there was a way to return certain fields of the table only?
so based off your example above, i would like to continue to use the 'Products" table as a way to filter out items from my "Orders" table, but only want to show maybe only the "Product" and "Order Value" fields, rather than all 5 fields (sales person, customer, product, date, order value).