I have some data in $A$1:$D$50. How can I put all non blank cells into a single column (say E) using a formula (regular or array one). All other examples I've found were about finding blank cells in a single column or a row.
Thanks
I have some data in $A$1:$D$50. How can I put all non blank cells into a single column (say E) using a formula (regular or array one). All other examples I've found were about finding blank cells in a single column or a row.
Thanks
First enter the following UDF:
Then select E1 thru E200 and enter the following array formula
=NonBlanks(A1:D50)
EDIT#1:
Without VBA, pick a "helper" column, say column F. In F1 enter:
and copy down thru F200
Then apply your standard formula to column F
EDIT#2:
REFERENCE:
By standard formula I mean something like Pearson's method