Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Colouring Ranges & Leaving Cells Blank

Hi all,

I have dates in columns L & K, in column M I calculate the difference
between these two dates.

Valid number of days btwn dates would be 1 to 100. If the difference is
less than 1 day or is more than 100 days, I want to flag the cells somehow.

I have tried:
Under Format Cells General Custom,
[Red][<1]General;[Blue][100]General
- this works great but the valid numbers disappear (i.e., numbers from 1 to
100).

I tried
[Red][<1]General;[Blue][100]General;[Black][0]General;[Black][<101]General
- and I get the error "Excel cannot use the number format you typed"

Alternatively, I would be happy to do conditional formatting for the cells
with values less than 1 to be pink and above 100 to be green. I can do this
and the numbers all show up but then the invalid numbers (like -39191) show
up too and it's ugly. Is there a way to have the conditional formatting color
show for cells outside of the range but the cell is left blank?

tia for any suggestions,
karen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Colouring Ranges & Leaving Cells Blank

sorry forgot to mention working in Excel 2000 on stand alone XP

"klam" wrote:

Hi all,

I have dates in columns L & K, in column M I calculate the difference
between these two dates.

Valid number of days btwn dates would be 1 to 100. If the difference is
less than 1 day or is more than 100 days, I want to flag the cells somehow.

I have tried:
Under Format Cells General Custom,
[Red][<1]General;[Blue][100]General
- this works great but the valid numbers disappear (i.e., numbers from 1 to
100).

I tried
[Red][<1]General;[Blue][100]General;[Black][0]General;[Black][<101]General
- and I get the error "Excel cannot use the number format you typed"

Alternatively, I would be happy to do conditional formatting for the cells
with values less than 1 to be pink and above 100 to be green. I can do this
and the numbers all show up but then the invalid numbers (like -39191) show
up too and it's ugly. Is there a way to have the conditional formatting color
show for cells outside of the range but the cell is left blank?

tia for any suggestions,
karen

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
Leaving a cell blank when there is an error message - HELP mercedes Excel Discussion (Misc queries) 4 March 13th 07 08:08 PM
combine speadsheets leaving no blank rows on master page Combining spreadsheets in Excel Excel Discussion (Misc queries) 3 October 24th 05 05:20 PM
showing unlimited demand for a product other than leaving it blank johnnie Excel Discussion (Misc queries) 1 October 18th 05 05:23 AM
Leaving a cell blank. Not NA(), not "". Incoherent Excel Worksheet Functions 4 September 30th 05 05:36 PM
prevent a user leaving a blank cell in excel2003 Ian Varty Excel Discussion (Misc queries) 1 April 15th 05 01:41 PM


All times are GMT +1. The time now is 07:08 AM.

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"