The goal is to go through a column and if the number is say over or under .1 to high light in red (or any color for that matter).
How do you step through each cell going down a column?
The goal is to go through a column and if the number is say over or under .1 to high light in red (or any color for that matter).
How do you step through each cell going down a column?
Hi there,
Not sure what you mean. Conditional Formatting will take care of it though. If you need more information, so do we.
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables
I have a spreadsheet with a column x with data in some rows from 1 to 2000. What I'm trying to do is go through those 2000 rows and if there is data in them and the value is greater than .1, put fill.color to red. What else would be helpful?
Do you not want to use Conditional Formatting?? This is what you need. If you need more, describe your data in great detail, or post a sample file.
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables
Here's a sample file. I've tried using conditional formatting but I can't get it to treat blanks, div/0, etc correctly. I'm trying to only pick up the values for color when there's an actual value there in the % column. My original thought was to just step through the column cell by cell and evaluate each one then change fill color as the criteria dictate.
thanks
I should say to pick up values in the case of the sample file > abs(.1)
A CF formula of
=AND(B3<>"",B3<0.1)
works for me
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
But in your example, all values fall into the less than -1% or greater than 1% range. Select the entire column H, add conditional formatting formula of ...
Edit: Is it 0.1%, or 0.1?=($A1<>"")*(ISNUMBER($H1))*(($H1<-0.01)+($H1>0.01))
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables
.1 or 10 %Originally Posted by firefytr
Ok, then adjust the numbers accordingly...
=($A1<>"")*(ISNUMBER($H1))*(($H1<-0.1)+($H1>0.1))
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables
roger -- thanks for the help