Copy and paste to blank cells only

MiteshG

New Member
Joined
Sep 12, 2022
Messages
23
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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
@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

Forum statistics

Threads
1,223,702
Messages
6,173,961
Members
452,539
Latest member
delvey

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