=query({TOIM;IMTO},"SELECT * where Col1 is not null ORDER by Col11",0)
Where TOIM
,IMTO
are named ranges.
I want to rewrite the formula with two criteria (OR). In other words like this:
=query({TOIM;IMTO},"SELECT * where Col1 or Col3 is not null ORDER by Col11",0)
But that seems not the correct argument.