+ Reply to Thread
Results 1 to 8 of 8

Last instance - Insert Row - Continue formulas Project

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Last instance - Insert Row - Continue formulas Project

    Hello all, I have an ambitious idea I would like to create. We have a gigantic list of parts I've consolidated into a "Master Item List" I would like to make it easy for the users to add new items. Items are grouped by category.

    A User's natural thought being:
    "I want to add a new [category] item"
    The user would then scroll down a huge list to find the category (or autofilter)
    Then they'd need to insert a new row by copying the previous one (so that formulas continue)
    Then change the contents of the cells that don't have formulas.

    I'd like for:
    User to select a category from a drop down.
    The sheet "autoscrolls" to last instance of that category item.
    Automatically inserts a row with continued formulas and conditional formatting, but not the previous rows non-formula content (manually entered values)

    If you could help with any part of this project I would greatly appreciate it. Even if it is just one small part of a task I'm looking to use.

    Attached an extremely condensed example.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Last instance - Insert Row - Continue formulas Project

    I guess it's worth mentioning I did find this in another thread:

    Please Login or Register  to view this content.
    Placed on a button it then asks you for the word to search, I'd rather it give a list to select from. And this enters a blank row, I'd like to formulas and Cond.Formatting to continue down.

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Last instance - Insert Row - Continue formulas Project

    Hi Fett2oo5,
    try it
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Last instance - Insert Row - Continue formulas Project

    @nilem Much better than what I found, and continues the formula!

    This is excellent!!!
    Thank you!

    Now to figure out how to change the way to handle the "list of category options" without using validation.

    Thank you nilem!


    Would you happen to know how to "autoscroll" to the inserted row? There are over 4000 items, so 4000+ rows
    Last edited by Fett2oo5; 06-13-2013 at 01:53 PM.

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Last instance - Insert Row - Continue formulas Project

    try
    Please Login or Register  to view this content.
    Note that the conditional formatting is copied as well
    edited:
    what do you mean "to handle the "list of category options" without using validation"
    Last edited by nilem; 06-13-2013 at 01:59 PM.

  6. #6
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Last instance - Insert Row - Continue formulas Project

    If I use validation I need to have a list of the options in a column. But if a new category is added, then the user adding the new category may not update the validation list.
    I'd rather the options for adding a new item be what ever is in the category column. Does that make sense?

  7. #7
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Last instance - Insert Row - Continue formulas Project

    BTW this is superb!
    Thank you so much for providing me with this code.

  8. #8
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Last instance - Insert Row - Continue formulas Project

    You can also try this option. Updating the validation occurs when you activate the worksheet.
    Please note: there is a limit on the length of the validation list string (255 characters). If there are too many categories, an error will occur (but there is a solution to this problem)
    Attached Files Attached Files

+ 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