LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formatting a cell to print or not to print

Suppose you want to turn cells in column D off and cells in column E
on (and vice versa). You can put an X in, say, cell X1 for the first
condition, and a Y in cell X1 for the second condition (or blank for
both D and E to show), then apply conditional formats to the cells
such that one column is turned white when X is entered and the other
column is turned white when Y is entered.

To do this, highlight the cells in column D and click on Format |
Conditional Formatting, and choose Formula Is rather than Cell Value
Is in the first box. Enter this formula:

=$X$1="X"

then click on the Format button, select Color (for foreground) and
choose white. Click OK twice to exit the dialogue box.

Then highlight the cells in column E, click Format | Conditional
Formatting again, and choose Formula Is. Enter this formula:

=$X$1="Y"

then click on the Format button, select Color (for foreground) and
choose white. Click OK twice to exit the dialogue box.

Now if you enter X in X1 then the cells in column D will appear blank,
and if you enter Y into X1 then the cells in column E will appear
blank.

Hope this helps.

Pete

On Feb 19, 8:47*pm, lob wrote:
I want to use the same price list for 2 customers. But, they expect to
receive a price list with only their name on it.
How do I format the cells so that I can "turn" them on or off for printing?


 
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
Chart print preview and print formatting rtiguy Charts and Charting in Excel 0 August 19th 08 07:02 PM
cell borders that I create dont show on print preview or print scott3435 Excel Discussion (Misc queries) 2 April 6th 06 02:37 AM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM
Excel cell looks good in print preview but doesn't print??? Jack Gathright Excel Discussion (Misc queries) 1 September 13th 05 12:38 PM
One spreadsheet cell won't print but shows up in print preview? Sally Excel Discussion (Misc queries) 1 May 26th 05 07:06 PM


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