Solved

Dynamic Range(Table) with column headings that are formulas

Posted on 2011-02-14
3
374 Views
Last Modified: 2012-05-11
Hello:

I am using MS Excel 2010 and I know that you can create a dynamic range using the Table feature.  My problem is when I try to do that I get a message that says "Formulas in the header row will be removed and converted to static text. Do you want to continue".  My header row contains the following formula:
=IF(WEEKDAY(C3)=7,C3+2,IF(WEEKDAY(C3)=6,C3+3,C3+1))
So it will be just the weekdays when I copy it over.  

I don't want to remove the formulas but I want to be able to copy the column over each day and have the range expand.

Is there a way to accomplish this?

Thank you!
0
Comment
Question by:MeowserM
3 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 250 total points
ID: 34889566
Instead of using the table feature, you can use an old-fashioned name range using the name manager and the offset function,

=offset(a1,0,0,counta(A:A),1)

More details on http://www.cpearson.com/excel/DefinedNames.aspx, or you can give us more details and/or a template file for additional help.

Thomas
0
 

Author Comment

by:MeowserM
ID: 34890108
I am familiar with name ranges but I do not know how to use the offset formula to accomplish the dynamic range.  Can you please explain that part?

Also, I am attaching an example of what I am trying to do.  I want to be about to add a new column each day and that range to be included in any chart I might want to add.

Thank you for your help.
temp.xlsx
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 250 total points
ID: 34890127
BTW, in Excel 2010 you could use this formula for the same result

=WORKDAY(C3,1)

regards, barry
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting error in connectionstring with Excel. 30 30
Route Recommendation 18 31
Excel VBA 10 38
MS Excel Vllokup or formula to see if a record exists... 1 22
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 tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

13 Experts available now in Live!

Get 1:1 Help Now