+ Reply to Thread
Results 1 to 7 of 7

Copying data from adjacent cell to blank cell (left side)

  1. #1
    Registered User
    Join Date
    08-17-2009
    Location
    Mumbai India
    MS-Off Ver
    Excel 2007
    Posts
    61

    Copying data from adjacent cell to blank cell (left side)

    Hi, I get this data from a source which is not captured in order, cell values gets jumped to next adjacent cell. Refer the "AS IS" tab.
    I would like to copy the cell values from J (row 2), L(row 5) and P (row 6) to column H. Once cell values copied delete the blank columns. "TO BE" tab shows how it should look once it's completely cleaned up.

    I tried to record the macro however it's not of much help, was having a look at "offest" any help here would be really appreciated!! Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Copying data from adjacent cell to blank cell (left side)

    Hi,

    Try this code :

    Please Login or Register  to view this content.
    Regards
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Registered User
    Join Date
    08-17-2009
    Location
    Mumbai India
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Copying data from adjacent cell to blank cell (left side)

    awesome!!, this does the magic!! thanks for your help.
    not sure how to give reputation points though

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Copying data from adjacent cell to blank cell (left side)

    Or you may try this.......
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Copying data from adjacent cell to blank cell (left side)

    Quote Originally Posted by raghunaik View Post
    awesome!!, this does the magic!! thanks for your help.
    not sure how to give reputation points though
    You are welcome.
    To give reputation points to someone, look at the left area of the screen, there is a star shape button with "Add Reputation" text right to it for each post.
    Choose the person you want to give the reputation points, click this star shape button, then click the "Add to reputation" button.

    Regards

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copying data from adjacent cell to blank cell (left side)

    FWIW:

    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copying data from adjacent cell to blank cell (left side)

    FWIW:

    Please Login or Register  to view this content.

+ 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. copying and pasting adjacent cell if the cell is not blank
    By src16 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2013, 09:37 AM
  2. [SOLVED] Excel VB-Copy formula down until adjacent cell (left) is blank?
    By Tony P. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-04-2013, 09:43 PM
  3. [SOLVED] Move data row by row to left hand side of an array across blank cells
    By Fred99 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-11-2012, 06:34 PM
  4. [SOLVED] Need hyperlink in cell qnly if adjacent cell to left is blank...
    By egildone in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-27-2012, 03:52 PM
  5. [SOLVED] Excel VB-Copy formula down until adjacent cell (left) is blank?
    By Tony P. in forum Excel General
    Replies: 1
    Last Post: 05-18-2005, 02:06 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