Auto color coding a cell with a formula

Thanks:  0
Likes:  0

Thread: Auto color coding a cell with a formula

1.
I am trying to find out how you would color code a cell. I'd like to have it set so if the results of the formula in that cell are greater than 97, the cell is colored green. If the results are less than 97 it would be red. Is there an Excel formnula that would allow for this?

Thanks!

2. On 2002-07-05 10:45, bdanner wrote:
I am trying to find out how you would color code a cell. I'd like to have it set so if the results of the formula in that cell are greater than 97, the cell is colored green. If the results are less than 97 it would be red. Is there an Excel formnula that would allow for this?

Thanks!
You can use conditional formatting for this.
Highlight the cells you want this to happen for.
Choose conditional formatting from the format menu.
For condition one, select greater than from the drop down box, and type in 97.
Click on the forat box and choose a green color.
Click on the add button, and repeat the process for your less than 97 criteria.

Good luck

3. You can do this through Conditional Formation:

Fromt the Format Menu, go to Conditional Formation
on Condition1: from the drop down menu select Formula Is: and type =A1>=97
(note: A1 is the cell that you are evaluating)
click on Format button, select the Pattern tab and choose the color green
repeat with formula =A1<97 and choose color red on the pattern tab

-Sylvia

4. Re: Auto color coding a cell with a formula

This isnt that directly useful for me.

Ive got a formula like this:=IF(OR(ISERROR(VLOOKUP(\$E234,'SHEET1.csv'!\$A\$1:\$AZ\$600,28,FALSE)),VLOOKUP(\$E234,'SHEET1.csv'!\$A\$1:\$AZ\$600,28,FALSE) =0),VLOOKUP(\$E234,'SHEET1.csv'!\$A\$1:\$AZ\$600,30),VLOOKUP(\$E234,'SHEET1.csv'!\$A\$1:\$AZ\$600,28,FALSE))

Basically saying put the 28th column cell value if the condition is matched, put the 30th column cell value if the condition is not matched.

I want to also have the values of the 30th column to be red or blue, so i could filter by them easily.

Basically what im asking is , i want the cells to be red (or blue) if the condition is not matched. Do you know a way (a forumula idealy) to do/apply this?

I could create anither column (helper column) to give me 1's or 0's and then i could easily spit/filter by that to see which rows my condition met or not, but ... it would be nice/cool to be able to put this in straight away by applying a make-colour forumula. (if it exists and if it is possible).

anyone?

Format Cells

User Tag List

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•