Dynamic Ranges in Google Sheets Without Helper Cell

0
58
Dynamic Ranges in Google Sheets Without Helper Cell

Here you can learn a unique way of creating DYNAMIC RANGES in Google Sheets. It’s possible to create Dynamic Ranges in Google Sheets without Helper Cell. By saying Helper Cell, I mean the formula itself can handle dynamic ranges without referring to any additional cell.

Similar: Virtual Helper Column in Google Doc Spreadsheets

This is a combination of functions that make your ranges in the formula always dynamic. You just set and leave dynamic ranges in your SUM, SUMIF, SUMIFS, COUNTIF, MAX, MIN or any formulas accepting column ranges. Later you can add or remove any number of rows in your data, that will automatically be adjusted in the range. Dynamic Ranges in Google Sheets without helper cell is a reality.

Must Read: Google Sheets Functions Guide (learn all Google Sheets most useful functions)

I have earlier explained how to create a dynamic range using OFFSET function in Google Sheets. What’s the difference of that formula with this new one. Both have plus and minuses. Here is that comparison.

two different dynamic range formula in Google Sheets

Before Going to this new and fresh dynamic range tutorial, you may please go to our following tutorials to understand the main functions in use in this new formula. They are INDIRECT and  ADDRESS.

Things to Remember

The below Dynamic Range formula would only consider the existing column range and automatically modify the range when you add new values at the end of the existing range. In other words our above dynamic range ends when a blank cell appears in the column.

So you have always additional room in your spread sheet below your existing data range. You only need to just skip one row and keep that row always blank. You can use the rest of the sheet for other purposes.

The Ultimate Way of Making Dynamic Ranges in Google Doc Spreadsheet (The Info Inspired Way)

It’s time to go to the formula.

Similar: How to Use Dynamic Ranges in SUMIF Formula in Google Sheets (Using Offset function)

Here is our New Formula and sample Data. I am using the dynamic ranges in SUM function here. The formula seems complex. But it’s not so. You can use it out of the box.

new dynamic range formula ends when there is blank cell

Dynamic Ranges in Google Sheets Without Helper Cell

Before explaining how to create the above dynamic range formula, let me tell you how you can use it.

The above formula Sums column G. You can enter any values in G10, G11, G12 and so on. It would get added to the SUM range. If any blank cells in this column, the formula would return wrong answer. Because it sums up to that range only. So keep this in mind if you use this formula.

Formula Explanation to Dynamic Ranges in Google Sheets Without Helper Cell

If you copy my below dynamic range formula, you should remove all the double quotes and type it again.

Formula: =sum(G2:indirect(address(ArrayFormula(MIN(IF(G2:G=“”,ROW(G2:G)ROW(G2)+1))),7,4)))

G2 is the cell address and beginning of the range. It can be any cell address in any column based on your data range.

ArrayFormula(MIN(IF(G2:G=“”,ROW(G2:G)ROW(G2)+1) – it counts the range G2:G until any blank cell appears. I have detailed this formula in a separate tutorial. See the link just below this formula explanation part. This formula just return the value 9. When this formula wrapped by an Address formula, it would like,

=address(9,7,4) which returns the cell address G9. Here 7 is the column number of G.

The final formula is like =sum(G2:indirect(G9)

How to Count Until a Blank Row in Google Sheets

Can I Use this Dynamic Range in My Own Sheet?

Yes of course. Here is the only thing you may want to change.

Formula: =sum(G2:indirect(address(ArrayFormula(MIN(IF(G2:G=“”,ROW(G2:G)ROW(G2)+1))),7,4)))

G2 – change it to your starting cell address in the range.

G – It goes without saying.

7 – This’s column number. Column number for A =1, B=2… and G=7. Change it accordingly

Finally you can use the above dynamic ranges in Google Sheets in formulas other than SUM. Do remember that we haven’t used any helper cell to create this dynamic range. That’s the beauty of this formula. Use it only by understanding it’s limited drawback in handling blank cells. That’s all for now. Enjoy!

Access My Google Sheet Here.

LEAVE A REPLY

Please enter your comment!
Please enter your name here