+ Reply to Thread
Results 1 to 4 of 4

Auto create row below with formula from above and stop when above formula results in ""

  1. #1
    Registered User
    Join Date
    12-13-2018
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Auto create row below with formula from above and stop when above formula results in ""

    Hi all,

    first time poster and not quite sure if this is the write place to ask for help.

    I'm looking for a function or even a VBA code to help me create the possibility of adding rows and stopping when the previous data is blank.

    Excel.PNG

    So my worksheet1 named Data has got all my data i upload weekly and the number may increase or decrease, on worksheet 2 i have been able to create a dynamic list based on criteria. Now by looking at my newest project i want to be able to find a function to find those who are i.e Based on Brand and then model to be automatically spit out the customer number automatically and create new rows with matches until no more matches are found or results in "". This is because i have a separate list i.e from below showsModel 86 and not get over written.

    excel 2.PNG

    so if Camry only had 1 entry the function will only pull out that result and leave 1 space gap. If there are more entries than it will essentially create more rows to fill in the matched results and push down the 2nd list.

    Is this possible?

    Thanks in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Auto create row below with formula from above and stop when above formula results in "

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-13-2018
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Re: Auto create row below with formula from above and stop when above formula results in "

    Hi all,

    I've removed all formula's as i cannot transfer the iferror formula into another report at the moment.

    Please note all names in the excel is not based on real people and is just randomly generated
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-13-2018
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    6

    Re: Auto create row below with formula from above and stop when above formula results in "

    Hi all,

    is there any further input from anyone?

+ 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. Replies: 3
    Last Post: 07-07-2018, 01:12 AM
  2. Replies: 7
    Last Post: 11-08-2017, 01:31 PM
  3. Autofill formula until formula results blank "" Need To Speed up
    By Fsalty in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-06-2014, 06:07 PM
  4. Replies: 3
    Last Post: 02-04-2014, 03:36 PM
  5. Replies: 2
    Last Post: 09-29-2010, 03:28 PM
  6. Can't stop "Show PDF Results;" Truncated text
    By Dan Meyer in forum Excel General
    Replies: 0
    Last Post: 07-09-2009, 01:24 PM
  7. Replies: 5
    Last Post: 04-21-2005, 04:06 PM

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