Dynamic named ranges - anything above zero

ryantaylor

New Member
Joined
Jan 7, 2011
Messages
4
Hi,

Is it possible to set up a dynamic range that expands across a number of columns when the data in those columns increases above zero?

Thanks
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Is there likely to be a 0 in the middle of the expanding columns? if so what would you like to show?
 
Upvote 0
No, there will never be a zero in the middle of the range. The data will raise above zero in a sequential manner.
 
Upvote 0
Ok, say your range goes from Col A try this, =A1:Index(A1:X1,1,Counta(A1:X1)) as you add data into B1, C1 etc your range will expand. I've only taken it to X1, make the expanse much bigger than you're ever likely to need
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,760
Members
449,095
Latest member
m_smith_solihull

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