excel help - different limits.

Associate
Joined
19 Jan 2010
Posts
2,177
Location
Chipping Norton
Hi,

it's probably quite easy to do, but i can't figure it out. :confused:

i have a spreadsheet for some electrical testing results we have and we have different limits for line impedance depending on the type of breaker.

ideally i'd like to get cells highlighted that are over the maximum limit depending on the breaker.
do i need to do some kind of look up thing?

thanks
 
Sounds like what you are after is conditional formatting.

It's an option in the Home ribbon.
 
Sounds like what you are after is conditional formatting.

It's an option in the Home ribbon.
thought of it, but don't know if i can do the following

i.e.
breaker C45N 10A type 2 - limit is 2.63
breaker RCBO C10 - limit is 1.84
there are a few more options.

what i would've like to do is check cell x for type of breaker. from there you know the max limit.
then highlight results cell if it's over.
 
main spreadsheet:
o5Nzpj3.png


limits:
VYLYMSS.png


basically what i'd like for ease of reading and without having to flip within different sheets.

to highlight column N (line Z)
if it's over the limit based on the breaker that's used in column O
 
In the limits table column A isn't unique, e.g. C45N appears twice with two different ratings and therefore two different safety margins. That table needs a unique identifier. I would suggest adding a new column in before Column A called "Unique Identifier" (or whatever you like) and the formula would be something like =$B5&"|"&$C5&"|"&$D5 which would display C45N|10|2.

After doing that, in the main spreadsheet highlight Column N and add new Conditional Formatting with the formula:

=$N1>VLOOKUP($O1&"|"&$P1&"|"&$Q1,limits!$A:$F,6,FALSE)

The yellow text is the sheet name of the limits table, you'll probably need to edit that. If the data in column N is bigger than the corresponding limit in the limit table then the formula returns TRUE which triggers the conditional formatting (which i assume you'll set to highlight red or something).
 
In the limits table column A isn't unique, e.g. C45N appears twice with two different ratings and therefore two different safety margins. That table needs a unique identifier. I would suggest adding a new column in before Column A called "Unique Identifier" (or whatever you like) and the formula would be something like =$B5&"|"&$C5&"|"&$D5 which would display C45N|10|2.

After doing that, in the main spreadsheet highlight Column N and add new Conditional Formatting with the formula:

=$N1>VLOOKUP($O1&"|"&$P1&"|"&$Q1,limits!$A:$F,6,FALSE)

The yellow text is the sheet name of the limits table, you'll probably need to edit that. If the data in column N is bigger than the corresponding limit in the limit table then the formula returns TRUE which triggers the conditional formatting (which i assume you'll set to highlight red or something).

will try that,
thanks a bunch :D
 
Back
Top Bottom