I have 2 worksheets. The 1st worksheet has about 100 rows but we are only interested column Y. The cells in column Y has a mixture of blank cells (""), text and numbers, and cells that displays #N/A. Similar to the picture but with a bigger data-set.
In the 2nd worksheet, there is a cell that I would like to capture the cells with 'texts and numbers' and display it each record in a different line within the same cell (e.g. if there were 12 out of a 100 cells with 'texts and numbers', then I would like to display this information in a particular cell in the 2nd worksheet. Like this:
I have tried something like this but it seems to only capture the 1st row of text only (e.g. the title row):
=IFERROR(INDEX('1Comms'!Y:Y,MATCH(TRUE,'1Comms'!Y:Y<>"",0)),"")
Is there a way to miss off the title as well?
What am I doing wrong and is there a way to do this?
This TextJoinIfs user-defined-function (aka UDF) provides basic TEXTJOIN functionality to Excel 2003 - 2013 versions as well as expanded functionality for all versions by adding optional error control, uniqueness, sorting and a paramarray of conditions for easy criteria.
This TextJoinIfs UDF code belongs in a public module code sheet; e.g. Book1 - Module1 (code).
Syntax:
Documentation
Example 1
Simple TextJoin operation discarding blanks and errors, keeping only unique strings. Concatenated with a line feed (vbLF) delimiter but ignoring the first two header rows and sorted ascending.
Example 2
Expanded TextJoinIfs operation discarding blanks and errors, keeping only unique strings. Concatenated with a semi-colon/space delimiter. One condition set of range and criteria.
Example 3
Expanded TextJoinIfs operation discarding blanks and errors. Concatenated with a comma/space delimiter. Multiple condition pairs using maths comparisons.
Many thanks to the Lorem Ipsum Generator for the sample string content.