[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Named Ranges

Posted on 2011-10-05
1
Medium Priority
?
224 Views
Last Modified: 2012-05-12
I was reading http://www.ozgrid.com/Excel/DynamicRanges.htm to learn excel 2007 Named Ranges. It says,

"5:Expand Down Based on Another Cell Value
    Put the number 10 in cell B1 first then:
In the Refers to box type: =OFFSET($A$1,0,0,$B$1,1)
Now change the number in cell B1 and the range will change accordingly".

I can't get this to work. I want the Named Range to select cells in column A where there is a value in Column B.

Can anybody help?
0
Comment
Question by:Mr_Shaw
1 Comment
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 36917724
Try using this version, assuming you have data in B from B1 without gaps

=OFFSET($A$1,0,0,COUNTA($B:$B),1)

Excel should add sheet names for you

reagrds, barry
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question