+ Reply to Thread
Results 1 to 3 of 3

Insert data every other row?

  1. #1
    Registered User
    Join Date
    09-14-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    39

    Question Insert data every other row?

    Here is a shot of what my workbook looks like currently

    Insert Data every other row or as needed.png

    Every RED "X" you see in Column A indicates the areas needing data copied

    I need everything except the condition to be copied from the above rows. All the way down

    When it is copied I need the Condition of the new data to say "REFURB" instead of "NEW"
    Due to a formula in F2 that copies the UPC from B2.

    I can do this manually but it takes way too long

    any help is greatly appreciated and endorsed
    Attached Images Attached Images

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Insert data every other row?

    Hello,

    - select columns B to F
    - hit F5 to open the Go To dialog (or use Ctrl-G)
    - click "Special"
    - Tick "Blanks" and hit OK
    - with the current selection, start typing a = sign, then hit the up arrow on the keyboard. That will enter a formula like =B4
    - hold down the Ctrl button and hit Enter.

    Now all the previously blank cells contain the text above it.

    In cell E3, type the formula

    =if(B3=B2,"Refurb","new")

    Copy that formula down to the last row of data.

    Finally, select all the data, copy it, then use Paste Special > Values to overwrite the formulas with the values.

    cheers, teylyn

  3. #3
    Registered User
    Join Date
    09-14-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    39

    Re: Insert data every other row?

    You have helped a tremendous amount thank you so much!
    Last edited by alansidman; 08-19-2018 at 10:11 PM.

+ 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. Keywords needed- Import data then Macros insert specific data into format
    By jshephe2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2016, 03:20 PM
  2. [SOLVED] Loop through entire sheet, Insert row, copy row data, paste row data, delete row
    By Hyperdude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2012, 01:46 AM
  3. testing data, insert formula depending on data length
    By davidparkes in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-02-2011, 06:22 PM
  4. Copy paste data, insert rows, insert data and change . to -
    By xWiZardx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-16-2010, 01:44 AM
  5. Replies: 5
    Last Post: 09-15-2008, 07:04 PM
  6. Refresh All Workbook Data - incoming data insert properties
    By dnnr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2007, 11:14 AM
  7. insert entire row for new data, external data range doesnt work
    By orlya1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-03-2006, 03:45 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