+ Reply to Thread
Results 1 to 4 of 4

IF cell in column A is empty, move entire row left

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    IF cell in column A is empty, move entire row left

    I am importing data from text file and several columns get "wacked up". Is there a VBA code that would find all of the empty cells in column A and move that entire row left one cell?

    I have attached a very small portion of what I mean by "wacked up". The entire sheet is 23,000 lines.
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: IF cell in column A is empty, move entire row left

    I assumed column B will have data in all relevant rows?

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    Re: IF cell in column A is empty, move entire row left

    Quote Originally Posted by Arkadi View Post
    I assumed column B will have data in all relevant rows?

    Please Login or Register  to view this content.
    Thank you Sir, perfect.

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: IF cell in column A is empty, move entire row left

    Great! Glad I could help.
    Also, thanks for the rep and for marking the thread as solved

+ 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. [SOLVED] Move data to empty left cell
    By JawadAhmed in forum Excel General
    Replies: 5
    Last Post: 05-04-2020, 05:53 PM
  2. [SOLVED] Loop formula until column to left has empty cell
    By wannabeexcelguy in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-15-2015, 10:59 PM
  3. Move data left into empty cell
    By Jockster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2014, 09:47 AM
  4. [SOLVED] Move Cell value left if next cell is empty.
    By fokeiro in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2012, 12:40 PM
  5. Clearing entire row contents if cell is empty in a particular column
    By sgk18 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2012, 02:36 AM
  6. Macro to move all values to left if the cell is empty
    By Blake 7 in forum Excel General
    Replies: 6
    Last Post: 05-05-2011, 06:28 AM
  7. looping through records of left column until cell is empty
    By johnmerlino in forum Excel General
    Replies: 1
    Last Post: 09-23-2010, 04:32 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