Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Selective concatenation using VBA


Hi

In column A , I have some cells with content , some blank.

In column B , all the cells have content.

I need to transfer the content of the cells in column B to column A ,
BUT ONLY to the cells in column A which are blank.

Cells which already have content in column A should remain unchanged.
Only the blank ones should be updated with the content of the cells from
B.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Selective concatenation using VBA

AutoFilter Blanks in Column A, now you have all the blank cells in column A
enter the formula in the first blank cell in column A
example the first blank cell is in A5. Formula in A5: =B5, drag the Fill
Handle to copy


"Colin Hayes" wrote:


Hi

In column A , I have some cells with content , some blank.

In column B , all the cells have content.

I need to transfer the content of the cells in column B to column A ,
BUT ONLY to the cells in column A which are blank.

Cells which already have content in column A should remain unchanged.
Only the blank ones should be updated with the content of the cells from
B.

Can someone help with small routine to do this?

Grateful for any assistance.



Best Wishes


Colin

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Selective concatenation using VBA

Then, if you need to actually transfer the content (rather than just the
reference), select column A, copy it, and choose Edit/Paste Special,
selecting the Values radio button. Click OK.

In article ,
Teethless mama wrote:

AutoFilter Blanks in Column A, now you have all the blank cells in column A
enter the formula in the first blank cell in column A
example the first blank cell is in A5. Formula in A5: =B5, drag the Fill
Handle to copy


"Colin Hayes" wrote:


Hi

In column A , I have some cells with content , some blank.

In column B , all the cells have content.

I need to transfer the content of the cells in column B to column A ,
BUT ONLY to the cells in column A which are blank.

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
Selective addition Peter Excel Worksheet Functions 2 March 12th 07 10:33 AM
Selective calculation PH NEWS Excel Worksheet Functions 2 September 21st 06 01:33 PM
Need help merging selective data JM Excel Discussion (Misc queries) 1 January 5th 06 06:20 PM
Selective Column deletion mattrane Excel Discussion (Misc queries) 0 December 24th 05 09:47 PM
selective averaging Wazooli Excel Worksheet Functions 3 December 10th 04 09:25 PM


All times are GMT +1. The time now is 10:01 PM.

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"