Copy contents of one cell into another if cell is blank

R

ryguy7272

Select Cell B2, Edit > Copy, select cell D2, Edit > Paste Special > Values > OK
 
G

Gord Dibben

Copy/paste manually.

Or run a macro.

Sub qwert()
With ActiveSheet.Range("D2")
If .Value = "" Then
.Value = Range("B2").Value
End If
End With
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top