函数检查一系列列中的值,然后将找到的值填充到新列中

Function to check a range of columns for a value then populate found value into a new column

我有一个 table 数据分布在许多列中,但我希望能够将数据汇总到一个列中,如屏幕截图中的第一列 School Number 所示。 Sample Google Sheet

粘贴到A2并向下拖动:

=IFERROR(QUERY(TRANSPOSE(B2:2), 
 "where Col1 is not null limit 1", 0))