dynamic ranges with blanks

dmheller

Board Regular
Joined
May 26, 2017
Messages
127
Office Version
  1. 365
All,
Trying to make so graphs with dynamic ranges using name manager. should be easy but I am missing something. I could fill all blanks In with 0 and it works but not without it.
Here is what I have
column B is a date June 2018- now and it always grows with each new day
Column G-U is a number from a sample but happens every 2 weeks so there are blanks.
Column C-F are numbers as well one for every day
I want dynamic ranges for all columns
Here is what I did
for the date
='Outfall 1 input'!$B$5:INDEX('Outfall 1 input'!$B:$B,COUNT('Outfall 1 input'!$B:$B)+5)
for c-f one for each
='Outfall 1 input'!$E$5:INDEX('Outfall 1 input'!$E:$E,COUNT('Outfall 1 input'!$E:$E)+5)
for g-u one for each
='Outfall 1 input'!$G$5:INDEX('Outfall 1 input'!$G:$G,COUNT('Outfall 1 input'!$B:$B)+5)
g-u doesn't work due to blanks. Any help would b great.
thanks
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Jeffrey Mahoney

Well-known Member
Joined
May 31, 2015
Messages
1,830
Office Version
  1. 365
Platform
  1. Windows
Please try using a formula like this:
=OFFSET($B$4,1,0,match(1e+300,$B:$B)-row($B$4),1)

This will find the last number in the set and include any blanks within the set.

Jeff
 

Watch MrExcel Video

Forum statistics

Threads
1,129,553
Messages
5,636,989
Members
416,953
Latest member
broexc

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top