+ Reply to Thread
Results 1 to 2 of 2

Macro to fill blanks with listed data

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    leicester
    MS-Off Ver
    Excel 2013
    Posts
    5

    Macro to fill blanks with listed data

    Hi,

    i have a workbook with two sheets.
    The main sheet is called 'app' and the secondary sheet is called' main products'

    the app sheet contains products and their types and when the product changes there is a blank row. In this blank row i need to insert the row from the 'main products' sheet.

    For example:
    The first blank on the app sheet will need to have the information from the first row on the main products sheet. Followed by the second blank needing information from the second row.

    The blank rows occur on a irregular basis, it is worth noting.


    This could possibly done with a formula but i'm not sure how
    I have tried using a column to create a vlookup to bring the product name onto the app sheet. Then in the cell i have used an if formula to bring across the right piece of data. However this formula cannot be simply dragged down as the cells do not correlate

    These are the formulas i am currently using but if there is a way of doing this without having to type the formula manually on each one then can you let me know?

    =VLOOKUP(B33835,'Main Products'!B:B,1,FALSE)
    =IF(B33868=M33867,'Main Products'!A1137:G1137,0)

    Thanks
    Jack

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Macro to fill blanks with listed data

    can you attach a sample file with data and desired result ?
    If solved remember to mark Thread as solved

+ 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. Macro to fill in blanks with the data of the cell above
    By Fugazi_Dent in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2013, 06:20 AM
  2. [SOLVED] Macro to fill in missing blanks with data in a column
    By robertguy in forum Excel General
    Replies: 6
    Last Post: 10-19-2012, 02:49 AM
  3. Trouble with Macro Gathering Row Data for All Ranges Listed
    By acer1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2012, 12:40 PM
  4. [SOLVED] Fill in the blanks!
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-02-2006, 12:50 PM
  5. [SOLVED] Fill in the blanks!
    By Bhupinder Rayat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-02-2006, 12:50 PM

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