Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a form with 3 columns: 1 is for the required date the second is for the shipping date I have about 200 items in rows. In the third column I want to calculate the delay: shipping date - required date and if the result is negative I want fill the cell in orange. Do you have an idea? Thank you for your help. Regards, Thierry |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In the third column enter the formula shipping date - required date so
if your data is in columns A and B starting in row 2 in C2 enter =A2-B2. Copy this formula down and format all the cells as General. Then select all the cells in column C containing the formula and from the Menus select FormatConditional Formatting. Enter the condition that Cell Value is Less than 0 and set the required formatting. Hope this helps Rowan wrote: Hello, I have a form with 3 columns: 1 is for the required date the second is for the shipping date I have about 200 items in rows. In the third column I want to calculate the delay: shipping date - required date and if the result is negative I want fill the cell in orange. Do you have an idea? Thank you for your help. Regards, Thierry |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Click on the first cell in Column 3 (C?)
Go to Format - Conditional Formatting Condition One Format Is Then in next box put in this formula: If(Col1-C0l2 < 0, true, false) (Substitute the col1 and col2 for A, B, or whatever) Then click format, click Patterns tab and pick the color orange. HTH -- Sandy " wrote: Hello, I have a form with 3 columns: 1 is for the required date the second is for the shipping date I have about 200 items in rows. In the third column I want to calculate the delay: shipping date - required date and if the result is negative I want fill the cell in orange. Do you have an idea? Thank you for your help. Regards, Thierry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fill cell with colour if preceding cell is a negative value | Excel Discussion (Misc queries) | |||
cell formulae giving negative result. | Excel Discussion (Misc queries) | |||
cell calculation check if result is negative and zero out if not l | Excel Worksheet Functions | |||
How do i get excel to format a cell for a negative result. | Excel Discussion (Misc queries) | |||
Convert a negative result to a positive result | Excel Programming |