+ Reply to Thread
Results 1 to 2 of 2

How to automate shifting of cells to the left

  1. #1
    Registered User
    Join Date
    12-17-2018
    Location
    London
    MS-Off Ver
    MS Office 2016
    Posts
    1

    How to automate shifting of cells to the left

    Hello,

    I have a unique problem in data I imported into Excel. On some of the fields, the columns shifted information to the right cells, but some were not shifted. Thus, I need logic that shifts SOME of the rows to the left by 1 cell.

    The condition is this: If the column to the right has text data in it that is structured a certain way (e.g. "XTH1"), do not shift all columns to the left. Otherwise, if the column to the right has text data in it that is structured any different way (e.g. "on my way home"), shift all columns to the left. When I say shift, I mean Delete a blank column and have every column to the right of it shift over to the left by 1.

  2. #2
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: How to automate shifting of cells to the left

    This sounds doable but we're probably going to need to see the Workbook for it.

    Can you upload a copy with some sample data? It doesn't need to be *actual* data - Just representative of it so we can see Column headers and the like, include as many rows as you see fit to give a good idea of the different data in them.

    If you could include an expected output of the data as well that'd be good.

    To do this click on "Go Advanced" and locate select "Manage attachments" and upload from there - Any other option you might see to upload doesn't work

    Thanks

+ 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. [Excel 2013] Columns of a table shifting to the left
    By Camaalot in forum Excel General
    Replies: 3
    Last Post: 04-24-2018, 08:35 AM
  2. Replies: 3
    Last Post: 09-21-2015, 08:43 AM
  3. Delete empty cells and shifting to the left.
    By GMusgrove in forum Excel General
    Replies: 3
    Last Post: 03-04-2014, 09:19 PM
  4. [SOLVED] Sumproduct of shifting array with a left boundary
    By svalentine91 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2013, 11:38 AM
  5. Conditional Shifting Cells to the Left Macros
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-13-2011, 07:25 AM
  6. Deleting cells and shifting them left
    By knitterkuba in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-27-2010, 05:12 PM
  7. [SOLVED] Delete blank calls in row, shifting left
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 03:05 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