|
|
 |
|

1st May 2006, 04:22 PM
|
 |
Forum Moderator
Registration Date: Jan 2004
Location: Maine, USA
|
|
Posts: 3,105
Thanks Given to Others: 964
Thanked 1,135 Times in 684 Posts
Karma Power: 360
|
|
Formatting an Excel .xls spreadsheet to alarm out-of-calibration status
Suppose a program has spreadsheet worksheets with their lists of gages, their cal due dates and other calibration-relevant data and the supervisors are responsible to know when their worksheet's gages are coming due. The practice of browsing a list of gages to find an out-of-calibration date could be improved upon, I think.
For example, I have seen cells that turn red under certain parameters (some kind of logic function) and I think it's cool but I haven't figured out how to do that. Can anyone tell me how it's done?
I have had trouble with logic functions using dates. Other than Julian date (which would work) can a cell be so formatted to show a message "Danger Will Robinson!" (okay, I'm kidding about the message) based on a past-due date?
Thanks in advance!
__________________
Stealth quality versus no quality
|

1st May 2006, 04:28 PM
|
 |
Forum Moderator
Registration Date: Jun 2002
Location: Lawn Guyland
Age: 59
|
|
Posts: 3,101
Thanks Given to Others: 48
Thanked 390 Times in 272 Posts
Karma Power: 192
|
|
Quote:
|
Originally Posted by Jennifer Kirley
Suppose a program has spreadsheet worksheets with their lists of gages, their cal due dates and other calibration-relevant data and the supervisors are responsible to know when their worksheet's gages are coming due. The practice of browsing a list of gages to find an out-of-calibration date could be improved upon, I think.
For example, I have seen cells that turn red under certain parameters (some kind of logic function) and I think it's cool but I haven't figured out how to do that. Can anyone tell me how it's done?
I have had trouble with logic functions using dates. Other than Julian date (which would work) can a cell be so formatted to show a message "Danger Will Robinson!" (okay, I'm kidding about the message) based on a past-due date?
Thanks in advance!
|
Look up "conditional formatting" in Excel Help. It will explain it
__________________
Al
|

1st May 2006, 04:54 PM
|
 |
Forum Moderator
Registration Date: Sep 2003
Location: Kansas, USA
Age: 46
|
|
Posts: 900
Thanks Given to Others: 27
Thanked 249 Times in 150 Posts
Karma Power: 123
|
|
Jennifer,
Use the "Conditional Formatting" option on the "Format" Menu.
The simplest method is to compare the cell value to a specific number. For instance, you could apply a format when ever a number is less than zero, or when it is between -3 and +3.
The next option is to campare to another cell. For example, you could calculate the upper control limit and then compare a series of cells to that cell.
The final option (I I just recently discovered) is to create a formula as a condition. When the conditional formatting box is open, look at the left most drop-down menu and choose "Formula Is". For example, if you select a range (starting at cell B4) and type the formula
=B4<TODAY()-30
it will test if something is 30 days past due. If you add a second condition like
=B4<TODAY()+7
it can test if it is coming due in the next week.
After you set the condition, you can have the cell color change by selecting "Format", the "Borders". Perhaps a month over due is red, slightly overdue is orange, and due in the next week is yellow.
I could attach a simple example if it would help...
Tim F
__________________
To wonder is to begin to understand.
|

1st May 2006, 05:00 PM
|
 |
Forum Moderator
Registration Date: Jan 2004
Location: Maine, USA
|
|
Posts: 3,105
Thanks Given to Others: 964
Thanked 1,135 Times in 684 Posts
Karma Power: 360
|
|
Quote:
|
Originally Posted by Tim Folkerts
I could attach a simple example if it would help...Tim F
|
Let me fool with it a bit and see what I come up with.
Thanks guys!
Always learning...
__________________
Stealth quality versus no quality
|

1st May 2006, 05:28 PM
|
 |
Forum Moderator
Registration Date: Jan 2004
Location: Maine, USA
|
|
Posts: 3,105
Thanks Given to Others: 964
Thanked 1,135 Times in 684 Posts
Karma Power: 360
|
|
The color formatting (I used red for 1st formatting: past due, and gold for 2nd formatting: dates within a week of due date) didn't work when the referenced date was more than a month away from any of the listed due dates.
__________________
Stealth quality versus no quality
|

1st May 2006, 05:38 PM
|
|
Courtesy Access
Registration Date: May 2001
Location: Warren, MI
|
|
Posts: 548
Thanks Given to Others: 0
Thanked 13 Times in 12 Posts
Karma Power: 67
|
|
Try this:
Condition 1:
Cell Value Is Less Than =TODAY() Format is Red
Condition 2:
Cell Value Is Less Than =TODAY()+7 Format Gold
Once a condition is met, Excel stops evaluating further conditions. So even though a past due gage is also less than today + 7, Excel never checks since condition 1 was met. Make sure you enter the = sign.
|

1st May 2006, 05:59 PM
|
 |
Forum Moderator
Registration Date: Jan 2004
Location: Maine, USA
|
|
Posts: 3,105
Thanks Given to Others: 964
Thanked 1,135 Times in 684 Posts
Karma Power: 360
|
|
Thanks Tom! I will try that this evening I think.
__________________
Stealth quality versus no quality
|

2nd May 2006, 01:10 PM
|
 |
Involved - Posts
Registration Date: Jul 2003
Location: River Falls, Wisconsin
Age: 40
|
|
Posts: 121
Thanks Given to Others: 1
Thanked 18 Times in 13 Posts
Karma Power: 38
|
|
If the gages are listed in a long worksheet and have the calibration due date listed, you could sort the worksheet using the due date. That way you not only could find the ones that are overdue, but you could keep track of the ones that are coming due.
|
Lower Navigation Bar
|
|
|
|
Visitors Currently Viewing this Thread: 1 (0 Registered Visitors and 1 Unregistered Guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate Thread Content |
Linear Mode
|
|
Posting Settings
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|