在 Google Sheet 中的查询末尾追加文本

Append text at the end of a Query in Google Sheet

我试图在查询末尾的下一行中添加单词“End”,我看到了 代码可以做到这一点,但今天这不起作用,添加单词在第一列的末尾 header 并且不加载查询。

=QUERY('PT--------------'!A1:M953,"select * where (I<>'N/A')",1)&"End"

结果:

Cash AccountEnd

没有“&”结束“,它执行查询:

Cash Account    Date    Reference   Receipt Payment method  Client ID   Amount  Number of Distributions Invoice Paid    G/L Account Sales Tax ID    TOTAL PAID IN INVOICES  Prepayment

我做错了什么?

尝试:

=INDEX({QUERY('PT--------------'!A1:M953,
 "where I<>'N/A'", 1); {"End", IFERROR(SEQUENCE(1, 12)/0)}})