Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Copy contents of one cell into another if cell is blank

How do I copy the contents of cell B2 into cell D2 if D2 is empty
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Copy contents of one cell into another if cell is blank

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

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"fire9990" wrote:

How do I copy the contents of cell B2 into cell D2 if D2 is empty

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Copy contents of one cell into another if cell is blank

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

On Fri, 8 Jan 2010 08:13:02 -0800, fire9990
wrote:

How do I copy the contents of cell B2 into cell D2 if D2 is empty


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy the contents of a cell in excel to another cell 27Jack New Users to Excel 2 August 13th 08 06:56 PM
How can I automatically copy cell contents from one cell into anot geeeberry New Users to Excel 2 July 6th 08 10:33 AM
cell function to copy contents of another cell Margo Excel Worksheet Functions 5 October 31st 07 02:40 PM
Data entry - Copy contents of cell typed in one cell to another ce danie Excel Worksheet Functions 2 March 16th 06 06:51 PM
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. QUEST41067 Excel Discussion (Misc queries) 1 January 15th 05 09:29 PM


All times are GMT +1. The time now is 08:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"