+ Reply to Thread
Results 1 to 6 of 6

How to add dynamic table for data entry that also has a scroll bar

  1. #1
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Lightbulb How to add dynamic table for data entry that also has a scroll bar

    Hi Everyone,

    I've been working on a document for my job that is, in short, going to be used for estimating jobs. This will require the user to choose resource types (engineering, installation, etc..) as well as number of hours for each resource. There is also an equipment tab that is for entering what equipment is required and how much it costs.

    In the "Installation" tab, I have 3 separate tables for 3 separate phases of installation, each requiring entering the resource types and number of hours. I have these tables kept fairly small so it's easier on the eyes, but some odd jobs may require many many resources, so I want to find a way to be able to add rows to these tables, while keeping my formatting, formulas and data validation in place. I can't have a button to insert rows for all 3 tables separately, since that would mess with the formatting a whack of other issues. I've deleted a lot from the attached workbook just to keep things simple, but the true document is filled with dozens of tabs and lots more data beneath these tables that I want to be easily accessible! I would simply have a different tab for each phase of installation, but there are already too many tabs, and I'm trying to simplify this for each department that needs to use it.

    Ideal Solution If Possible: I want to be able to have a dynamic and scrollable table for each installation phase (ie:, for Installation Phase 1, that's D10:G17), so that if someone needed to have say, 40 resources for the Phase 1 installation table, they could simply scroll down and add more instead of having to insert more rows to that table, thus adding more rows to the entire worksheet. Can I have that range be scrollable? Can I add rows to that scrollable area so it's not scrollable right away until it's needed?

    I just really need this table to keep the data validation in column D, while also keeping the formulas in columns F & G for any new rows that may be added.

    Any help would be GREATLY appreciated, as I have been spending a ton of time online and watching Youtube videos trying to figure out how to do this, but to no avail. Hoping it's possible! Or, if you have a better alternative, I'm all ears
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: How to add dynamic table for data entry that also has a scroll bar

    One option is to have a multi-page Userform - one per phase for example - which will allow both entry of the data and ability display in a scrollable list. Your tables can be a fixed size (range) in your workbook.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Re: How to add dynamic table for data entry that also has a scroll bar

    Quote Originally Posted by JohnTopley View Post
    One option is to have a multi-page Userform - one per phase for example - which will allow both entry of the data and ability display in a scrollable list. Your tables can be a fixed size (range) in your workbook.
    Thanks for the suggestion! Could that user form be 3 separate static boxes, or can I only use it to enter data and then transfer that data back into my worksheet?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: How to add dynamic table for data entry that also has a scroll bar

    You can use such a form to enter/modify/delete data and display it i.e all of the appropriate table. Data entry can then transfer to your worksheet.

    Attached is demo of a userform: does this address ( in principle) your requirement?
    Attached Files Attached Files
    Last edited by JohnTopley; 10-26-2022 at 11:53 AM.

  5. #5
    Forum Contributor
    Join Date
    02-18-2020
    Location
    Ottawa, ON
    MS-Off Ver
    Professional Plus 2010
    Posts
    122

    Re: How to add dynamic table for data entry that also has a scroll bar

    Quote Originally Posted by JohnTopley View Post
    You can use such a form to enter/modify/delete data and display it i.e all of the appropriate table. Data entry can then transfer to your worksheet.

    Attached is demo of a userform: does this address ( in principle) your requirement?
    This is VERY cool! I think I can definitely find some very useful applications for this, but I don't think it'll work for what I'm intending to achieve in this instance. Basically, I want the experience to be as easy as possible for the user, while still being able to easily see what resources and # of work days they have selected for each installation phase. The way I currently have it set up is what I want it to look like for the user, but I want them to be able to add rows in each phase easily so they are limited to adding only 8 resources. I hope that makes sense. I know it seems easy enough to manually insert a blank row, but believe me, the people I work with wouldn't even be able to figure that out with a full tutorial haha

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: How to add dynamic table for data entry that also has a scroll bar

    You cannot add rows via formula so some form of VBA is required

    There is no significant difference in selecting via the userform vs selectiing on your sheet with the advantage there is no need to concern the user with adding rows.

    able to add rows in each phase easily
    vs
    the people I work with wouldn't even be able to figure that out
    and somewhat insulting to your colleagues.

    And ypu cannot have a scrollable sub-set so you are left with having a fixed range for each phase which will have to bethe likely maximum.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] ediing a listbox (in an userform) entry populated by dynamic table
    By prabhakaranpd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2022, 07:42 AM
  2. Replies: 2
    Last Post: 09-03-2015, 10:33 AM
  3. [SOLVED] Dynamic Scatter Graph (Using the table method) - Data label of the last entry
    By gjrr4x1 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-28-2012, 07:47 AM
  4. Dynamic table formula for sorting data to another table dynamic
    By 650dozer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 07:22 PM
  5. Dynamic Data Entry
    By hxman in forum Excel General
    Replies: 0
    Last Post: 04-19-2012, 10:24 AM
  6. Formula to get data from 7th field (dynamic entry)
    By ebachour in forum Excel General
    Replies: 6
    Last Post: 08-23-2011, 05:58 AM

Tags for this Thread

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