回答編集履歴

1

一部修正

2021/04/14 05:14

投稿

sawa
sawa

スコア3002

test CHANGED
@@ -10,16 +10,16 @@
10
10
 
11
11
  - 括弧の数を揃える
12
12
 
13
- `=Query(IMPORTRANGE("1CBzSNmoxcNEHevT2KmMgalsMINJZ84rWUhT2nIiGLX0","日経平均株価!$A$18024:D"),select D where A = date '"&text(A366,"YYYY-MM-DD")')`
13
+ `=Query(IMPORTRANGE("シートID","日経平均株価!$A$18024:D"),select D where A = date '"&text(A366,"YYYY-MM-DD")')`
14
14
 
15
15
 
16
16
 
17
17
  - Query内の "(ダブルクォート) と & を見直す (selectの前の "がなくて最後も閉じれてないです)
18
18
 
19
- `=Query(IMPORTRANGE("1CBzSNmoxcNEHevT2KmMgalsMINJZ84rWUhT2nIiGLX0","日経平均株価!$A$18024:D"),"select D where A = date '"&text(A366,"YYYY-MM-DD")&"'")`
19
+ `=Query(IMPORTRANGE("シートID","日経平均株価!$A$18024:D"),"select D where A = date '"&text(A366,"YYYY-MM-DD")&"'")`
20
20
 
21
21
 
22
22
 
23
23
  - 列の指定を A,Dではなく Col1,Col4 に修正(importrangeで参照した時はこっち)
24
24
 
25
- `=Query(IMPORTRANGE("1CBzSNmoxcNEHevT2KmMgalsMINJZ84rWUhT2nIiGLX0","日経平均株価!$A$18024:D"),"select Col4 where Col1 = date '"&text(A366,"YYYY-MM-DD")&"'")`
25
+ `=Query(IMPORTRANGE("シートID","日経平均株価!$A$18024:D"),"select Col4 where Col1 = date '"&text(A366,"YYYY-MM-DD")&"'")`