Copy and paste to blank cells only

MiteshG

New Member
Joined
Sep 12, 2022
Messages
20
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi,

Have a peculiar problem in excel that I am trying to solve.

I have data in an excel sheet under columns A through E (including column headers). I want to paste this data in another excel sheet.

However, while pasting, I want to past the data only if associated cell in other sheet is blank and not replace the data in entire row.

Example - Sheet 1
NameAddressCityCountryPhone
TomLa La LandNYUSA123456789
Harry123 StreetDenverUSA987654321

Sheet 2
NameAddressCityCountryPhone
TomNJUSA
Harry123 StreetUSA324567891

While pasting the data from sheet 1 to sheet 2 for row 1, I would like to have the address as La La Land, however I would like to retain the city as NJ in sheet 2 (and not replace it with NY).

I understand that this may not be the best example but I didn't want to represent actual data due to confidentiality.

Since this has to be done for bigger volume of data (about 1000 rows), copy pasting individual cells is not an option. Any suggestions on how to achieve this?

Thank you in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
@MiteshG
Welcome to MrExcel
Try this:
You need a blank sheet, say sheet3:
Copy data in sheet1 > go to sheet3 A1 > paste
Copy data in sheet2 > go to sheet3 A1 > right click > paste special > choose "Skip Blank" > OK
 
Upvote 0
@MiteshG
Welcome to MrExcel
Try this:
You need a blank sheet, say sheet3:
Copy data in sheet1 > go to sheet3 A1 > paste
Copy data in sheet2 > go to sheet3 A1 > right click > paste special > choose "Skip Blank" > OK
Thank you. This helped.
 
Upvote 0
You're welcome, glad to help & thanks for the feedback.:)
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,830
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top