+ Reply to Thread
Results 1 to 5 of 5

insert a new column based on conditions

  1. #1
    Forum Contributor
    Join Date
    12-30-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    143

    insert a new column based on conditions

    hi

    i would like an excel macro that would insert a new column to the left of the selected cell only if its not blank for ex,

    if i'm selecting cell A1 and cell B1 is blank then it should do nothing, if cell B1 has data in it then it should insert a new column in between column A and column B

  2. #2
    Forum Contributor
    Join Date
    12-30-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    143

    Re: insert a new column based on conditions

    Hi

    any updates

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

    Re: insert a new column based on conditions

    Maybe:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    12-30-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    143

    Re: insert a new column based on conditions

    Ok thanks
    I would also like that if it needs to insert a column, it should make sure that the column inserted is formatted as general not as text or any other format

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

    Re: insert a new column based on conditions

    Maybe:

    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. Need help with a formula to insert another cells value based on conditions
    By EricWiget in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2016, 01:57 PM
  2. VBA to add borders and insert rows (based on conditions)
    By unitlted_1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2015, 03:29 PM
  3. 60 USD Need to insert rows based on conditions up to a certain date. Re-run For Loop? Help
    By treschouette in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2015, 06:31 PM
  4. Need to insert rows based on conditions up to a certain date. Re-run For Loop? Help?
    By treschouette in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2015, 03:04 PM
  5. How to insert rows+add based on the conditions
    By RookieOfTheYear in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 09:45 AM
  6. Return value in a column based on conditions matching with different column
    By sanits591 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2009, 01:28 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