Solved

Excel 2010:  Table Range Question

Posted on 2014-01-06
2
103 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
One of the biggest challenges facing freelancers is balancing multiple projects and deadlines. Organizational skills and time management are key to keeping up with projects and staying on track. Luckily, we’ve curated seven tools to help you focus o…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

948 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now