M
M
Max2022-01-04 18:39:10
Google Sheets
Max, 2022-01-04 18:39:10

How to specify the last existing column (in a range) in a formula?

Conventionally, there is such a situation:
61d46901229fe757698813.png
In the first column of the formula, the values ​​​​are taken from the following.

New columns with new values ​​are added periodically.

You have to change the end of the range in the formula every time.

When values ​​are taken from rows, you can specify the letter of the column without an ordinal number, is it possible to do the same with a column?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Boev, 2022-01-04
@jjsf

entire line:
=SUM(1:1)
to end of line from column D:
=SUM(D1:1)
first 5 lines:
=SUM(1:5)

A
Alexander, 2022-01-04
@ForestAndGarden

You can specify a column that you are unlikely to reach: AAA, for example.
=SUM(B1:AAA1)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question