+ Reply to Thread
Results 1 to 2 of 2

Copy value of one cell and past in new column only where data exists

  1. #1
    Registered User
    Join Date
    11-23-2010
    Location
    Leicester, England
    MS-Off Ver
    Excel 2021 Pro Plus
    Posts
    87

    Copy value of one cell and past in new column only where data exists

    Hi, I need to transpose the value of 1 cell into a column's cells, but only where there is data in the row.

    This is the current speadsheet "Copy SIP FEDEX DOWNLOAD" attached. I already have a macro that sorts it to the format I need, the result shown in "SIP FEDEX DOWNLOAD" :

    Please Login or Register  to view this content.

    It works perfectly, but I now need to add the date from Cell A2 into an extra column A, which the VBA will need to create, before the macro code that already deletes row A.

    It already creates 2 columns so I guess it will need now to create 3. I only want it to copy this date to rows that have data in them, eg in the attached spreadsheet there are 4 rows.

    I guess this is probably a simple task for the enlightened but not for me! I can make it insert an extra row, but that's as far as my knowledge will take me.

    Help Again!

    Kind regards
    Mike
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Copy value of one cell and past in new column only where data exists

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 12-24-2017 at 11:04 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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] VBA- Copy Rows in a column only if data exists
    By jafvortex93 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-25-2015, 04:29 PM
  2. loop through range to copy row if data exists in column, then delete the column
    By wpryan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2015, 05:03 PM
  3. [SOLVED] Search a column for a value and if it exists copy text from corresponding cell in column A
    By badlydrunkboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2014, 06:13 AM
  4. VBA - Copy/past cell 144 times in column
    By dfanara in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2014, 07:30 AM
  5. Replies: 6
    Last Post: 01-08-2014, 01:56 PM
  6. if partial data exists in one colum, copy to another column
    By Gunther in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-16-2011, 09:23 AM
  7. Copy&Past Cell Value from one Column to another using VBA
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2009, 01:45 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