Solved

changing dynamic range

Posted on 2011-02-11
3
300 Views
Last Modified: 2012-05-11
Hi there,
I can make a range dynamic by creating a table but i want to make a dynamic range that is the last 8 rows of a column, column B for example. The column is added to each week and i need to always refer to the last 8 rows, so that i can name the range and set it as a series in a chart.
As always your time is appreciated.
0
Comment
Question by:Stephen Byrom
  • 2
3 Comments
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
ID: 34877212
Assuming data in column B is continuous then something like:

=OFFSET(Sheet1!$B$1,COUNTA(Sheet1!$B:$B)-8,0,8,1)

Chris
0
 
LVL 1

Author Closing Comment

by:Stephen Byrom
ID: 34877224
Thanks for the quick response, I tried the offset thing but just couldnt get it to work. Yours, of course has the correct syntax.
Thanks again for your help
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 34877230
Glad to help but thank you for the prompt grade and comment.

Chris
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

856 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