I'm trying to drag formula with Importrange across column in google spreadsheets.
I managed to drag the formula down using &row(A7)
but I'm not able to find a way to drag the formula across.
Is there a similar function like &column(A7)
?
For example:
=IF(Isnumber(SEARCH("(milk)",IMPORTRANGE("urlBlaBlaBla","Sheet1!A"&row(A7)))),"buy now",IF(Isnumber(SEARCH("(tea)",IMPORTRANGE("urlBlaBlaBla","Sheet1!A"&row(A7)))),"later"))
Dragging down does look like:
=IF(Isnumber(SEARCH("(milk)",IMPORTRANGE("urlBlaBlaBla","Sheet1!A"&row(A8)))),"buy now",IF(Isnumber(SEARCH("(tea)",IMPORTRANGE("urlBlaBlaBla","Sheet1!A"&row(A8)))),"later"))
Now I would like to drag that across in a way that it refers to the next column, so A changes to B, something like:
=IF(Isnumber(SEARCH("(milk)",IMPORTRANGE("urlBlaBlaBla","Sheet1!B"&row(B7)))),"buy now",IF(Isnumber(SEARCH("(tea)",IMPORTRANGE("urlBlaBlaBla","Sheet1!B"&row(B7)))),"later"))
but that above does not happen automatically.
IMPORTRANGE
,IMPORTRANGE(spreadsheet_url, range_string)
. It could be like thisIMPORTRANGE("urlBlaBlaBla", "Sheet1!B:B")
to wherever column you want it to drag. That's how I understood your question. – MαπμQμαπkγVπ.0