Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I superimpose an "X" over a number in an Excel cell?

I have a calendar as an Excel worksheet. I want to make certain dates with an
"X" superimposed over the number that is in the cell so that the number would
be somewhat visible.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do I superimpose an "X" over a number in an Excel cell?

To superimpose an "X" over a number in an Excel cell, you can follow these steps:
  1. Select the cell that contains the number you want to add the "X" to.
  2. Right-click on the cell and select "Format Cells" from the drop-down menu.
  3. In the "Format Cells" dialog box, select the "Custom" category.
  4. In the "Type" field, enter the following format code:
    Formula:
    0;"X";
  5. Click "OK" to apply the format to the cell.

This format code will display the number in the cell if it is greater than zero, and display an "X" if the number is zero or less. The "X" will be superimposed over the number, making it somewhat visible.

Alternatively, you can also use conditional formatting to achieve this effect. Here's how:
  1. Select the cell or range of cells you want to apply the formatting to.
  2. Click on the "Conditional Formatting" button in the "Home" tab of the ribbon.
  3. Select "New Rule" from the drop-down menu.
  4. In the "New Formatting Rule" dialog box, select "Use a formula to determine which cells to format".
  5. In the "Format values where this formula is true" field, enter the following formula:
    Formula:
    =A1<=
    (replace "A1" with the cell reference of the first cell in your selected range).
  6. Click on the "Format" button to open the "Format Cells" dialog box.
  7. In the "Font" tab, select the "Strikethrough" option and click "OK".
  8. Click "OK" again to close the "New Formatting Rule" dialog box.

This will apply a strikethrough formatting to any cell in the selected range that contains a number less than or equal to zero, effectively superimposing an "X" over the number.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default How do I superimpose an "X" over a number in an Excel cell?

R-click cell, Format Cell, Border, click the lower left and right boxes
to make an "X", apply.

GeorgeK wrote:

I have a calendar as an Excel worksheet. I want to make certain dates with an
"X" superimposed over the number that is in the cell so that the number would
be somewhat visible.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I superimpose an "X" over a number in an Excel cell?

Not an "X" but try FormatCellsFontStrikethrough.

Otherwise use Wordart and make it transparent.

Note: the image cannot be embedded into the cell, just lays on top.


Gord Dibben MS Excel MVP

On Thu, 19 Jul 2007 11:40:00 -0700, GeorgeK
wrote:

I have a calendar as an Excel worksheet. I want to make certain dates with an
"X" superimposed over the number that is in the cell so that the number would
be somewhat visible.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How do I superimpose an "X" over a number in an Excel cell?

You might be able to leverage this little XL oddity...

http://j-walk.com/ss/excel/odd/odd04.htm
--
HTH...

Jim Thomlinson


"GeorgeK" wrote:

I have a calendar as an Excel worksheet. I want to make certain dates with an
"X" superimposed over the number that is in the cell so that the number would
be somewhat visible.

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
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! [email protected] Excel Discussion (Misc queries) 3 January 5th 07 02:18 PM
Excel: Changing "numeric $" to "text $" in a different cell. Heather_CCF Excel Worksheet Functions 1 September 5th 06 06:06 PM
convert "15000" to "Fifteen thousand" in excel cell? anurag Excel Worksheet Functions 1 May 4th 06 07:58 AM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
how can I make an excel cell "mark" or "unmark" when clicked on? Rick Excel Discussion (Misc queries) 6 January 8th 06 10:15 PM


All times are GMT +1. The time now is 09:34 AM.

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

About Us

"It's about Microsoft Excel"