Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Leaving a cell blank when there is an error message - HELP | Excel Discussion (Misc queries) | |||
combine speadsheets leaving no blank rows on master page | Excel Discussion (Misc queries) | |||
showing unlimited demand for a product other than leaving it blank | Excel Discussion (Misc queries) | |||
Leaving a cell blank. Not NA(), not "". | Excel Worksheet Functions | |||
prevent a user leaving a blank cell in excel2003 | Excel Discussion (Misc queries) |