Results 1 to 12 of 12

Copy all cells except blanks, keeping the same spacing.

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-02-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    405

    Cool Copy all cells except blanks, keeping the same spacing.

    Hi guys,

    I've looked around the web and cant find a solution to my problem.
    What I want is similar to copy and paste, except it doesn't copy over existing cells in the final range.

    I'll provide an example:
    the following cells are
    A1 = stringA
    A2 = empty
    A3 = stringB

    B1 = 4
    B2 = B1*B3
    B3 = 5

    resulting in:
    B1 = stringA
    B2 = B1*B3
    B3 = stringB


    Ideally I would want this to work for any sized range (rangeA and range B always the same column and row dimensions however of any size), and copying from any part of the sheet to another.

    Any help would be great,
    Thanks.
    Jimmy
    Last edited by JimmyWilliams; 10-25-2017 at 07:13 PM. Reason: Made a mistake

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Keeping a formula pattern to copy to cells below
    By craynerd in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-02-2017, 09:55 AM
  2. Copy cells to a new sheet spacing out the destination cells
    By brianrhoff in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-06-2014, 01:07 PM
  3. Replies: 1
    Last Post: 10-13-2013, 04:01 PM
  4. Replies: 1
    Last Post: 10-24-2012, 01:21 PM
  5. Replies: 2
    Last Post: 06-07-2010, 09:23 PM
  6. Replies: 2
    Last Post: 07-07-2008, 12:05 PM
  7. [SOLVED] How to copy cells with keeping exact formula intact
    By Stephen in forum Excel General
    Replies: 6
    Last Post: 04-03-2005, 06:06 PM

Tags for this Thread

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