質問編集履歴

1

エラーの表記、内容の訂正

2021/02/01 03:13

投稿

e435t5f3ew
e435t5f3ew

スコア1

test CHANGED
File without changes
test CHANGED
@@ -18,23 +18,25 @@
18
18
 
19
19
 
20
20
 
21
+ ≪A≫
22
+
21
23
  =Query({QUERY('あ!A2:Z,"select A,B,C,D");
22
24
 
23
25
  QUERY('い'!A2:Z,"select A,B,C,D,N");
24
26
 
25
- QUERY('う'!A2:AR,"select A,B,C,D,H")},"Where Col2 = 'お' and order by H asc"),"")
27
+ QUERY('う'!A2:AR,"select A,B,C,D,H")},"Where Col2 = 'お' and order by H asc")
26
28
 
27
29
 
28
30
 
29
31
 
30
32
 
31
-
33
+ ≪B≫
32
34
 
33
35
  =Query({QUERY('あ!A2:Z,"select A,B,C,D");
34
36
 
35
37
  QUERY('い'!A2:Z,"select A,B,C,D,N");
36
38
 
37
- QUERY('う'!A2:AR,"select A,B,C,D,H")},"Where Col2 = 'お' and order by Where Col1 asc"),"")
39
+ QUERY('う'!A2:AR,"select A,B,C,D,H")},"where Col1 is not null and order by H asc")
38
40
 
39
41
 
40
42
 
@@ -49,3 +51,21 @@
49
51
  シートCで集計したものをシートDで並び替えのみを行うことを試してみましたが反応しませんでした。
50
52
 
51
53
  できれば余分なシートを作成せずに対応したいです。
54
+
55
+
56
+
57
+ ### エラー表示
58
+
59
+
60
+
61
+ #VALUE
62
+
63
+ と表示され、
64
+
65
+
66
+
67
+ 関数 QUERY のパラメータ 2 のクエリ文字列を解析できません: PARSE_ERROR: Encountered " "order" "order "" at line 1, column 28. Was expecting one of: "true" ... "false" ... "not" ... "date" ... "timeofday" ... "datetime" ... "timestamp" ... "min" ... "max" ... "avg" ... "count" ... "sum" ... "no_values" ... "no_format" ... "is" ... "null" ... "year" ... "month" ... "day" ... "hour" ... "minute" ... "second" ... "millisecond" ... "with" ... "contains" ... "starts" ... "ends" ... "matches" ... "like" ... "now" ... "dateDiff" ... "quarter" ... "lower" ... "upper" ... "dayOfWeek" ... "toDate" ... <ID> ... <INTEGER_LITERAL> ... <DECIMAL_LITERAL> ... <STRING_LITERAL> ... <QUOTED_ID> ... "(" ... "-" ...
68
+
69
+
70
+
71
+ と表示されます。