+ Reply to Thread
Results 1 to 5 of 5

Pasting Without Deleting Previous Data

  1. #1
    Registered User
    Join Date
    12-14-2007
    Posts
    5

    Pasting Without Deleting Previous Data

    Is it possible to copy a range of cells and paste them into another range of cells without deleting what is in the there originally?

    The file should make it clear what I mean if the above sounds confusing. If I copy the range B2:B10, and paste over A2:A10, is it possible to get a pasted result as shown in C2:C10. In other words, I would like the values in column B to fill the blank spaces in column A without deleting what is already in column A.

    Onesimus
    Attached Files Attached Files

  2. #2
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi,

    I dont think you can do that by just using Copy and Paste without the help of a macro but there is one way to accomplish that ->

    Try inserting a blank Column next to Column A, then put this formula in B2:

    =IF(A2<>"",A2,C2)

    copy the formula down to B10, then copy B2:B10, select C2 then use Paste Special then Values, then delete Column B.
    Corine

  3. #3
    Registered User
    Join Date
    12-14-2007
    Posts
    5

    Thank You

    Dear Corine

    Thank you for your solution. I will be using your solution at work!

    Merry Christmas from Sydney, Australia!

    Onesimus

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    If you want a VB solution, this should do it.
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  5. #5
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi Onesimus,

    Your welcome. Merry Christmas to all!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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