Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Within Tolerance ?

Hi,

Can anyone help.........

In Excel A1:A100 I have a record of measurements taken, i.e A1 12,
A2 3, A3 14, A4 11, A5 15, A6 9, A7 8, A8 6 ect. One number occupies
one cell. In B1:B100 I want to write a formular for the following.

(Cell A3 being the example) Check the value in the cell which is 14
and see if it is within tolerance (10+/- 2).

If the value is <8 it returns a text string saying "Under spec" and
changes the cell colour to red. If the value is 12 it returns a text
string saying "Over spec" and changes the cell colour to Yellow.

I have tried but can't see a way to do it, without over complicating
it.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Within Tolerance ?

In message
s.com of Wed, 24 Jun 2009 02:55:00 in microsoft.public.excel.programmin
g, Decreenisi writes
Hi,

Can anyone help.........

In Excel A1:A100 I have a record of measurements taken, i.e A1 12,
A2 3, A3 14, A4 11, A5 15, A6 9, A7 8, A8 6 ect. One number occupies
one cell. In B1:B100 I want to write a formular for the following.

(Cell A3 being the example) Check the value in the cell which is 14
and see if it is within tolerance (10+/- 2).

If the value is <8 it returns a text string saying "Under spec" and
changes the cell colour to red. If the value is 12 it returns a text
string saying "Over spec" and changes the cell colour to Yellow.

I have tried but can't see a way to do it, without over complicating
it.


What have you tried and why do you think it is over complicated?
I tried copying through the following formula:
=IF(A1<8,"Under spec",IF(A112,"Over spec",""))

That deals with the text.
I added the following conditional formats:
Cell Value is equal to ="Under spec" Format.../Patterns/Color Yellow
Cell Value is equal to ="Over spec" Format.../Patterns/Color Red

Previously, I tried putting a yellow "Under spec" in C1, etc.
The value was copied through, but the colour was not.
--
Walter Briscoe
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
Round to a particular tolerance Chad[_3_] Excel Worksheet Functions 2 January 1st 09 12:04 AM
K factors (tolerance limits) Wiseguy91 Excel Programming 0 September 4th 07 03:08 PM
exel conditional formula,calculate a bilateral tolerance(.2/-.2)? Jorge Excel Discussion (Misc queries) 1 May 11th 06 03:55 AM
Tolerance Stack Excel Worksheet MTUSNOW Excel Discussion (Misc queries) 0 September 7th 05 11:05 PM
Changing the color of a list entry based on a tolerance Blink Excel Worksheet Functions 1 July 15th 05 05:18 PM


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