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 Replacing only the empty cells.


Hi

In column P I have cells which are blank , and cells which have word
content.

I need to replace all the blank cells with the words 'A-Z' , and leave
those cells already with content as they are.

Can someone help with some code , please?

Grateful for any assistance.

Best Wishes


Colin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Replacing only the empty cells.

Insert a column after P. In new column, row 2:
=IF(ISBLANK(P2),"A-Z",P2)
and copy formula down. Then copy entire section, and do a paste special -
values onto column P to create static values.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Colin Hayes" wrote:


Hi

In column P I have cells which are blank , and cells which have word
content.

I need to replace all the blank cells with the words 'A-Z' , and leave
those cells already with content as they are.

Can someone help with some code , please?

Grateful for any assistance.

Best Wishes


Colin

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Replacing only the empty cells.

Code and/or formulas not necessary.

Select column P.

F5SpecialBlanksOK

In active blank cell enter A-Z and hit CTRL + ENTER


Gord Dibben MS Excel MVP

On Wed, 17 Jun 2009 14:21:52 +0100, Colin Hayes
wrote:


Hi

In column P I have cells which are blank , and cells which have word
content.

I need to replace all the blank cells with the words 'A-Z' , and leave
those cells already with content as they are.

Can someone help with some code , please?

Grateful for any assistance.

Best Wishes


Colin


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 465
Default Replacing only the empty cells.


Hi

OK thanks for your solution.

This works fine , and I'm grateful for your help.



Best Wishes








In article , Gord Dibben
<gorddibbATshawDOTca@?.? writes
Code and/or formulas not necessary.

Select column P.

F5SpecialBlanksOK

In active blank cell enter A-Z and hit CTRL + ENTER


Gord Dibben MS Excel MVP

On Wed, 17 Jun 2009 14:21:52 +0100, Colin Hayes

wrote:


Hi

In column P I have cells which are blank , and cells which have word
content.

I need to replace all the blank cells with the words 'A-Z' , and leave
those cells already with content as they are.

Can someone help with some code , please?

Grateful for any assistance.

Best Wishes


Colin


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
Replacing 0 value with empty danpt Excel Discussion (Misc queries) 8 February 22nd 09 07:04 PM
Replacing an empty cell LD Excel Discussion (Misc queries) 7 June 2nd 08 08:18 AM
Replacing empty cells with '-' Kazuki Excel Worksheet Functions 7 May 26th 06 11:17 AM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM


All times are GMT +1. The time now is 05:40 PM.

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

About Us

"It's about Microsoft Excel"