Tidying up array formulae

tigerzen

Board Regular
Joined
Mar 8, 2023
Messages
165
Office Version
  1. 365
Platform
  1. Windows
The formulae in F6 produces the solution needed however it also contains blank spaces and zeroes. I've had this happen before with array formulae, how can we clean this formula up?

Football stats functions.xlsx
ABCDEFG
1Group 1Group 2
2JackKenPeterVic#VALUE!
3TomSallyTomFred
4PeterVicJaneMilton
5JaneSally
6 
7Fred
8Milton
90
Sheet17
Cell Formulas
RangeFormula
F2F2=FILTER($A$2:$B$5,NOT(COUNTIF($D$2:$E$5,$A$2:$B$5)))
F6:G9F6=IF(COUNTIF(A2:B5,D2:E5)=0,D2:E5,"")
Dynamic array formulas.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I would imagine there are many ways to do this, below is one:
Book1
ABCDEFG
1Group 1Group 2
2JackKenPeterVic
3TomSallyTomFred
4PeterVicJaneMilton
5JaneSally
6Fred
7Milton
Sheet1
Cell Formulas
RangeFormula
G6:G7G6=LET(tc,TOCOL(D2:E5,1),FILTER(tc,COUNTIF(A2:B5,tc)=0))
Dynamic array formulas.
 
Upvote 0
Thanks Georgiboy, I work with data that is spread over several columns, the TOCOL formula is great when you can move all the data into a single column but if you can't what are the alternatives?
 
Upvote 0
.. it was more of a general question ..
In that case I don't think that there is just one 'general' answer. It depends on the type of original data (text, numerical, mixed) and just what result & layout is required in the particular circumstance
 
Upvote 0

Forum statistics

Threads
1,215,080
Messages
6,123,013
Members
449,093
Latest member
ikke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top