dynamic ranges with blanks

dmheller

Board Regular
Joined
May 26, 2017
Messages
142
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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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
 
Upvote 0

Forum statistics

Threads
1,217,332
Messages
6,135,945
Members
449,974
Latest member
riffburn

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
Back
Top