0

There are three columns A, B, C AND today date is in the first row of the column A means A1. I need to import these three columns date excluding date row. A2:A100, B2:B100, C2:C100 in another sheet.

I have tried this:

=filter((importrange("sheets key", sheet1!A:F),
 importrange("sheets key"sheet2!A2:C10 =TODAY()))

My formula got an error cannot solve this.

sheet 1 data sheet 2 data -imported

1
  • The first answer was helpful for you?
    – Rubén
    May 27, 2019 at 2:53

2 Answers 2

0

FILTER require that the first argument is a valid range reference, so it's not valid to use IMPORTRANGE or another function as the first argument. There are several alternatives like using FILTER in the source spreadsheet the on the destination spreadsheet use IMPORTRANGE to import the range that holds the FILTER result.

Another alternative is to use QUERY instead of FILTER.

1
  • Please add a brief explanation of your answer. Why it answer the question? How it is relevant?
    – user0
    May 28, 2019 at 0:29
0
  • sample it out and then use IMPORTRANGE to extract it out

=ARRAYFORMULA(INDIRECT("Sheet1!"&
 ADDRESS(2,  MAX(IF(Sheet1!1:1=TODAY(), COLUMN(Sheet1!1:1), )), 4)&":"&
 ADDRESS(10, MAX(IF(Sheet1!1:1=TODAY(), COLUMN(Sheet1!1:1), ))+2, 4)))

0


0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.