+ Reply to Thread
Results 1 to 2 of 2

copy line to another line when data is recorded in a cell

  1. #1
    Registered User
    Join Date
    04-03-2009
    Location
    Roseville, California
    MS-Off Ver
    Excel 2003
    Posts
    1

    copy line to another line when data is recorded in a cell

    I have a PO Spread sheet that has 3 different types of POs. I would like to automate it when I put a value in J1 then copy the whole line and past it in A61. Same thing when I post a value in J2, copy and past in A62
    Last edited by VBA Noob; 04-03-2009 at 02:38 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: copy line to another line when data is recorded in a cell

    Maybe something like this, in A61:

    =IF($J1="","",J1) copied across and down as far as you desire.

    This will look to see if there is something in J1, if so, it will "copy" it to A61. If you copy the formula to B61, C61, D61, etc.. it will copy what is in K1, L1, M1, etc (only when J1 is not blank).

    If you copy down, then in A62 it will look to see if J2 is blank and copy/or not... and copying this across wil get K2, L2, M2, etc..

    etc...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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