I
I
Ilya Karpov2014-10-22 21:07:31
Google
Ilya Karpov, 2014-10-22 21:07:31

How to make a request in Google Docs?

help, there is a column A with dates. On another sheet, you need to draw the columns and rows in them so that there are only those with a date in column A = today.
=QUERY('ARMOR'!A:O; select A,E,D,H,G,K where A = .......????

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ivanov, 2014-11-05
@oshliaer

You need to enter the value of the current date in the query.
For example,

=QUERY('БРОНИ'!A:O; "select A,E,D,H,G,K where toDate(A) = date '" & TEXT(NOW(),"YYYY-MM-DD") & "'"; 1)

I note that if you use the now () operator of the query language, then it returns the result for a month more
=QUERY(,"select toDate(now())")
Therefore, it is preferable to form a date from a string.
ZY: please change the post tag to spreadsheets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question