English 中文(简体)
页: 1 预期: 4. 实际:5
原标题:Google Sheet - Function ARRAY_ROW parameter 2 has mismatched row size. Expected: 4. Actual: 5

I have this speadsheet: https://docs.google.com/spreadsheets/d/1YBXUdUJ8P-JT2MJznt8DseayhmHvkzQrGTF4AhVfi4U/edit#gid=0

I m trying to filter the Datas tabs to only display some channels (Sports one).

Issue here, is when the filter doesn t match a row. For example, if I remove the lines 10 and 11 from Datas tab, the second tab works and I can see all the Sport channels.

The error I get from Google Sheet is: Function ARRAY_ROW parameter 2 has mismatched row size. Expected: 4. Actual: 5.

Do you know why ?

感谢。

最佳回答

Fix the Regular Expression Used

这一错误属于公式的第二部分。 很显然,与<> 请求书/编码>中所使用的模式并不是< 编码>>> REGEXMATCH(功能的定期表述。 模式可改为适当的定期表述,取代:

REGEXMATCH(Datas!A:A; "FR SPORTS | TV")

:

REGEXMATCH(Datas!A:A; "(FR SPORTS | TV)")

新公式:

={ARRAYFORMULA(SUBSTITUTE(REGEXEXTRACT(QUERY(Datas!A:A; "select A WHERE A LIKE  %FR SPORTS | TV% "); "tvg-name=(.*)tvg-logo");"""";""))FILTER(ROW(Datas!A:A); REGEXMATCH(Datas!A:A; "(FR SPORTS | TV)"))}
问题回答

暂无回答




相关问题
How to use year counter google app script?

I need an urgent help i have data as follows in a google sheet i need to add a year counter to the column d as follows using google apps script

Google Spreadsheet multiple column filter using OR

I have a Google Spreadsheet with 3 columns that are either blank or have a value. I want to get the count of the number of rows that has A and either B or C populated. If I were writing a SQL query ...

Run Google Apps Script on Google-Spreadsheet event?

If I create a Google apps script, can I hook it up to Google spreadsheet to run based on an event, or must I manually invoke it? I don t know if Google Sheets supports any events. For example: a ...

How do I insert a row in to a Google spreadsheet using c#

I ve seen; Accessing Google Spreadsheets with C# using Google Data API and http://code.google.com/apis/spreadsheets/data/2.0/developers_guide_dotnet.html#CreatingRows However i m still having ...

using Zend_Gdata_Spreadsheets for public spreadsheets?

I have this code which is working, to load a Google Spreadsheet and load some data from it. If the spreadsheet in question is public, how do i modify the code to not require a username/password? $key=...

Programatically updating a Google spreadsheet

I ve got a pre-existing Google spreadsheet. Each month I update this document. I ve got a template workseet in the spreadseet that I d like to clone and then update. I d prefer to clone the ...

热门标签