Yet another cell formatting question

Tirolyn

New Member
Joined
Apr 3, 2002
Messages
2
I'm sure I'm making this harder than it really is but here's my wish list. I have columns that include some text cells and some data cells. "I wish" for a way to have the font color change to red if a data entry isn't within a certain range. I want to format the entire column this way because I don't know how many entries will be in the column. What I don't wish is for the cells with text to change colors. I know could easily get the data to change to red by highlighting the entire column and using conditional formatting but that changed the cells with text in them to red as well. Example:

Job No.
Lot No.
.305 ±.005
.301
.031
.306
.307
Pass
Pass
.308

So all data in this column between .300 and .310 would be black, text would be black but data <.300 or >.310 would be red.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Use Conditional Formatting

Formula Is

=AND(ISNUMBER(A8),OR(A8<=0.3,A8>=0.31))

Check the threshold do you want the >= or just > and<= or just<?

Extend or use Format Painter for other cells
This message was edited by Dave Patton on 2002-04-04 20:35
This message was edited by Dave Patton on 2002-04-04 20:42
 
Upvote 0
Hi Tirolyn:
Try the formula is:
=AND(ISNUMBER(A5),OR(A5<0.3,A5>0.31))

Please post back if it works for you ... otherwise explain a little further and let us take it from there!
 
Upvote 0
No reason to say sorry.

Great minds must think alike.

I was going to edit my formula and comments after I read the information a second time.

The >= should be > and <= should be <.
 
Upvote 0
Dear Guru's,
You guys are the BEST!! Yes, it works just fine. What a dope I am for forgetting about the format painter..duh.. wouldn't really have mattered though since I didn't know the formula. Anyway I'm thrilled to have found this wonderful resource! I'm sure I'll be back scanning the boards and bothering you more as I try to "idiot proof" our records from data entry errors. Thanks so Much :)
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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