Results 1 to 5 of 5

Every Two Rows - Insert Formula -> Continue for as many rows as there is data.

Threaded View

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Rochester, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    80

    Every Two Rows - Insert Formula -> Continue for as many rows as there is data.

    Hi Folks,

    Can someone help me refine my idea?

    I am looking for a loop or some piece of code that will insert a formula into cell E3, given the fact that there is data in row D4 and then continue (E#+2,D#+2) until there is no data in D#+2.

    Letter Formula
    A
    A Insert
    B
    B Insert
    C
    C Insert
    D
    D Insert

    Don't Insert

    I'm thinking it would be something like this, but need to know how to point it to E#+2 and D#+2...

    2
    Range("E3").Select
    If (Range("D4") <> "") Then

    Range("E3").Value = myformula
    GoTo 2

    Thanks!
    Last edited by athyeh; 09-09-2014 at 05:45 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Click to make another 100 rows - continue formula down too
    By domgilberto in forum Excel General
    Replies: 2
    Last Post: 05-20-2014, 05:58 AM
  2. [SOLVED] VBA insert/delete rows to accommodate exact number of rows from incoming data
    By iloc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-12-2012, 06:19 PM
  3. [SOLVED] Insert Multiple Rows Based Off Number in Cell and Copy Data From Above New Rows
    By tstell1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 04:15 PM
  4. The chain of formula doesn't continue at the next rows
    By actonpres in forum Excel General
    Replies: 2
    Last Post: 04-21-2012, 02:54 PM
  5. Delete Rows based on cell value and then Insert rows alternatively with a formula
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-11-2008, 04:27 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