Solved

Excel 2010:  Table Range Question

Posted on 2014-01-06
2
113 Views
Last Modified: 2014-01-18
I have a worksheet that contains a range, that range is named XYZ.  This range covers five days of data which in turn produces a chart line chart with five lines to include the data within those days.

Without having to manually adjust the range to include the newest days entry made each day, how can i make this so I can enter in the recent days data and it cover that day and the four prior days data automatically without me having to go in and manually adjust that table to cover those five days?  

Is there a way to tell excel to do this automatically so that it captures the new day and the four previous days so that the table grows dynamically without it having to be readjusted?
0
Comment
Question by:itsmevic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Harry Lee earned 500 total points
ID: 39760766
itsmevic,

You can create a dynamic named range XYZ to drive your charts.

The following formula will look at only the last 5 rows of data in column B. You will have to modify it to which ever column your data is sitting in.

What is means is the start of the range will offset from $B$1 by the number of rows in column B minus 5. The height of the range is 5. Column offset is not defined, and range width is not defined. (5 because want to look at the last 5 rows.)

=OFFSET($B$1,COUNTA($B:$B)-5,,5,)

If you have problem with the offset formula in your name range setup, please upload a sample file and I can help you to figure out the formulas.
0
 
LVL 29

Expert Comment

by:gowflow
ID: 39761883
yes it can also be done via vba and for this we need you to upload a sample file so to see where is your range and how to go about doing it.
Rgds/gowflow
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Originally published Entrepreneur.com Booming numbers of freelancing professionals are changing the face of work. In the United States alone last year, the number of workers freelancing grew from 700,000 to 54 million, according to a Freelancers’…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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