+ Reply to Thread
Results 1 to 5 of 5

Skipping rows when filling down and right

  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Skipping rows when filling down and right

    Hello,

    Im working on an inventory sheet for my office and ive run into a complex problem. Its probably only complex due to the amount of data. There are several hundred locations we service and these are in a single column, and then there is the equipment we use that is several hundred columns.

    Each location uses 3 rows and the 1st needs the formula to equal 2 rows beneath it. i.e. cell E28 has the formula =E30. I basically need to fill down, but only put that formula into every 3rd row, as the two rows beneath this row need to stay blank, or show number i manually put into either.

    The second part of this, is there a way once that is done, to just select those cells, and fill to the right all the way? Again, i do not need to fill the two rows under that one.

    I have attached part of the sheet to get an idea of what i need if i failed to explain well.


    The green cells are the ones that need the formula, and those will be copied down, and right. the others need to be left alone. I have been sitting here for an hour manually entering in the =XXX for each cell and it would take me a week to do this lol.

    Let me know if i failed to explain anything.
    Attached Files Attached Files
    Last edited by vaeevictiss; 10-30-2013 at 04:12 PM.

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Skipping rows when filling down and right

    If you copy the structure you want to repeat (in the example that would be E28:J30) to the clipboard, next select cells E31:E42 and then paste this structure will be copied down while adjusting the formulas. However also the fix data in row30 will be copied, so you would loose the data in rows 33, 36, 39 and 42.
    If you must skip these data rows you could write a macro (with a shortkey) in which you select the first row with formulas, copy it, move 2 rows down and paste it.
    You could then just keep pressing the shortkey until you're done.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Skipping rows when filling down and right

    the second method you mentioned does work. It will still take a little while, but not nearly as bad. Thank you!

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Skipping rows when filling down and right

    Depends on how much rows you're talking. Can only be 1,048,576 at most
    And you can also put a brick on the shortkey to do it handsfree

    Now I come to think of it: may be you can do something with autofilter.
    If it's possible the filter out all the rows not having the formulas (may basis on the column with the locations ) you could simply copy teh formulas down. that would skip all the rows which are not visible when filtered.
    Or if - like in the example - the first cell in the rows with formulas has the color green, you could filter on that color.
    Last edited by Tsjallie; 10-30-2013 at 04:55 PM.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Skipping rows when filling down and right

    This might be an easy way to do what you want:

    Using your example, delete the values in row 42. Select E40:J42 so that you have an empty example to copy. Grab the fill handle (little black square at the bottom right of the selection) and drag down as far as you need. The formulae will be filled in in every 3rd row just like your example. The Green formatting will be filled in at the same time.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Skipping Cells When Auto Filling
    By brockco in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2013, 08:22 AM
  2. Replies: 2
    Last Post: 01-06-2013, 05:50 AM
  3. skipping lines when auto-filling equations
    By skarekro in forum Excel General
    Replies: 2
    Last Post: 03-20-2012, 07:48 AM
  4. Replies: 2
    Last Post: 03-17-2011, 02:51 AM
  5. Filling Dropdow from a range skipping nulls
    By reecetn in forum Excel General
    Replies: 2
    Last Post: 08-10-2010, 11:26 AM

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