create an Excel Named Range that goes until a condition is met
-
12-12-2019 - |
Question
I would like to create several Named Ranges in Excel that collect values in each column until the cell in a different row is blank. So for instance I have a Named Range called Weeks and the range is from DB3 to FA3. I would to dynamically get all the values until a blank is found in row 4. So if a blank is found at EO4, my Weeks range would pull in values from DB3 to EO3. Does that make sense? I am using Excel 2010 by the way. Thanks Mike
Solution
define the name as =OFFSET($DB$3,0,0,1,COUNTA($DB$3:$FA$3))
This is using the info from ozgrid
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow