LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Inserting a dash in blank cells

Where will these blank cells reside?

I'm sure you don't mean all blank cells on a worksheet.

Within some range? Why are they blank and in need of a dash?

To have something like that automatically would require some type of event
code or a formula like this entered in C1

=IF(AND(A1<"",B1<""),A1*B1,"-")


Gord Dibben MS Excel MVP

On Sat, 21 Feb 2009 12:05:01 -0800, UT wrote:

Hi Biff,

Your solution works but is there a way to insert a special character like a
dash automatically when a cell(s) is blank instead of first selecting cells
and doing a manual insert?

"T. Valko" wrote:

Select the range of cells where you want this to happen
Hit function key F5
Click SpecialBlanksOK
Type a dash then hold down the CTRL key then hit Enter

--
Biff
Microsoft Excel MVP


"UT" wrote in message
...
I want to insert a dash if a cell has no data. When I tried the "IF"
function
it gives a circular reference error.

Is there another way to do this?

Thanks







 
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
inserting a dash into cells tjackson Excel Discussion (Misc queries) 1 April 22nd 08 12:46 AM
inserting a blank row mrselkoil Excel Discussion (Misc queries) 1 January 24th 07 09:18 PM
inserting a dash into a column of numbers pm Excel Worksheet Functions 6 November 8th 06 09:51 PM
Can parital cells be underlined w/o inserting blank columns? FinancialStmtProb2006 Excel Discussion (Misc queries) 2 May 28th 06 03:44 PM
understanding dash dash in a excel formula ldebner Excel Worksheet Functions 2 October 31st 05 01:47 PM


All times are GMT +1. The time now is 04:13 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"