+ Reply to Thread
Results 1 to 11 of 11

Change size of Excel Data Table, dynamically

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    8

    Change size of Excel Data Table, dynamically

    Is there a way to increase the size of the data table dynamically?

  2. #2
    Registered User
    Join Date
    08-05-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Change size of Excel Data Table, dynamically

    I'm not too sure what that means. It could be that lists or dynamic named ranges are what you are looking for, but you'll have to be more specific about what you're doing and what you'd like to do.

  3. #3
    Registered User
    Join Date
    07-22-2010
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Change size of Excel Data Table, dynamically

    So cell A1 = 3

    My tables is
    xx Data
    1 5%
    2 8%
    3 12%


    Cell A1 changes to 4...

    My table is
    xx Data
    1 5%
    2 8%
    3 12%
    4 7%

  4. #4
    Registered User
    Join Date
    07-23-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Change size of Excel Data Table, dynamically

    Question for all of you in excel – I have a couple sheets linked to one sheet. Now on the one sheet I want to insert another line to make a title but it causes all the info to shift down, and by doing this the links don’t correspond to the appropriate sheets anymore. It’s taken me a while to match up the links so I want to avoid doing this. Do you know how I can add a row to the one sheet without messing up the rest of the data?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,577

    Re: Change size of Excel Data Table, dynamically

    Use Defined name to define your table with this formula

    =$A$2:INDEX($A$2:$B$500,$A$1,2)

    Does that work for you?
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    07-23-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Change size of Excel Data Table, dynamically

    Not quite sure how to do that

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,577

    Re: Change size of Excel Data Table, dynamically

    I was responding to joshjpang's post. Your question is very different from his problem. You should start a new thread.

  8. #8
    Registered User
    Join Date
    08-05-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Change size of Excel Data Table, dynamically

    Quote Originally Posted by joshjpang View Post
    So cell A1 = 3

    My tables is
    xx Data
    1 5%
    2 8%
    3 12%


    Cell A1 changes to 4...

    My table is
    xx Data
    1 5%
    2 8%
    3 12%
    4 7%
    Sorry, I still don't get it. Maybe you should attach an example workbook. I looks to me like you just want to display in cell A1 the size of the data table, e.g., how many rows it is. That would probably just be a simple Count or Counta statement, but you'd need to know where the data table is.

    There are plenty examples of count and counta on the forums if that is in fact what you are trying to do.

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,577

    Re: Change size of Excel Data Table, dynamically

    Hey Arthur,
    I'm taking him literally and thinking that he is wanting to truncate his range (maybe he only wants to Average a certain number or graph up to a certain point). I might be totally off base though. My first thought was that he simply wanted dynamic ranges so that when he increased his data table, the range would increase automatically. I guess we'll see when he posts again.

  10. #10
    Registered User
    Join Date
    08-05-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2003
    Posts
    61

    Re: Change size of Excel Data Table, dynamically

    Or maybe he manually enters a value in cell A1 and a list of random numbers is generated down column 'A' for as many rows as the value in A1?

    Time will tell...

  11. #11
    Registered User
    Join Date
    01-18-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    1

    Lightbulb Re: Change size of Excel Data Table, dynamically

    I think he wants to change the number of rows in a table based on A2 cell value...I don't know if that's possible. All I know is that you can copy a formula dynamically into as many rows you want using INDEX, ROWS, and MATCH functions. Watch the video, I think it might help.

    http://www.youtube.com/watch?v=6bGKhbUYOas

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1