1

I have a google sheet with this formula:

=ARRAYFORMULA(may!B2:C)

It is accessing data from a sheet named may. I want to make it dynamic, so when next month comes it would change automatically to:

=ARRAYFORMULA(jun!B2:C)

I can get the actual month in a three letter format:

=LOWER(TEXT(TODAY(), "MMM"))

But how can I supply it to arrayformula? This does not work:

=ARRAYFORMULA(LOWER(TEXT(TODAY(), "MMM"))!B2:C)

Is it possible somehow?

1 Answer 1

1

You can do it with =indirect()

=indirect(TEXT(TODAY(), "MMM")&"!B2:c")

enter image description here

Your Answer

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

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