Conditional Formatting with Several Conditions

Brittropp07

New Member
Joined
Jan 25, 2016
Messages
3
Good Morning,
How can you create conditional formatting with several conditions? For example..

GRADEON 200 MESH

<colgroup><col span="7"></colgroup><tbody>
</tbody>
20EXT24 15
20EXT24 32
ULD 14
ULD 24

I am trying to show values that do not meet specification,The specification is 20EXT24 <30 and ULD Between 15-25? How do I show the values that have a specific text in column A should color red is values that are not in specification?

Thank you!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the Board!

Use the Formula option in Conditional Formatting, and use the AND function, i.e.
Code:
=AND(condition 1, condition 2, ...)
 
Upvote 0
i assume the numbers at the end can be 1,2 or more digits ?
But should always start 9th character in the case of 20EXT24
and 5th for ULD

then you could extract the values and use that as conditional formatting - let me try and post back
But can you confirm the assumption is correct

This will work for 20EXT24
=AND(LEFT(A1,7)="20EXT24", MID(A1,9,5)*1>30)

=AND(LEFT(A1,3)="ULD", OR(MID(A1,5,3)*1>25,MID(A1,5,3)*1<15))

for 2007, 2010 or 2013 excel version
Conditional Formatting


Highlight applicable range >>

A:A



Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:



=AND(LEFT(A1,7)="20EXT24", MID(A1,9,5)*1>30)



Format… [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

Repeat for other formula
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,537
Messages
6,120,096
Members
448,944
Latest member
SarahSomethingExcel100

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top