does anyone know how the formula to have all of A column change color if the G column does not contain the word Done??? TIA
Announcement
Collapse
No announcement yet.
excel gurus
Collapse
X
-
Does Column A contain anything, or just want it to be an indicator? If not set the A1 cell "=G1", copypasta for the column.
Select Column A.
Home Ribbon, center left is the "Conditional Formatting" > Highlight Cell Rules >
Text that Contains
First field type "done". formatting drop down to custom, change text and fill to red.
Repeat with field "0" and format with white text or whatever.Men have become the tools of their tools.
-Henry David Thoreau
Comment
-
Originally posted by bonnie&clyde View Postdoes anyone know how the formula to have all of A column change color if the G column does not contain the word Done??? TIA
You could end up with a complex formula depending on how many cells you are checking and what not. Might be easier to build a table then have your cell reference that table to match 'g' and populate 'A'.
But I am by no means an expert...
Edit: This is an IF formula I use mixed in with a Index and Match (for tables). Might get you going and you could just play around until it works for you, kind of a reverse engineering if you want?
=IF($B5<>"N/A",INDEX($K$4:$K$8,MATCH($B5,$J$4:$J$8,0)),INDEX($ K$4:$K$8,MATCH($A5,$I$4:$I$8,0)))
INDEX is your 'table' column and cell reference
Match is the main tab where your data is contained that you are trying to colorLast edited by Gtracer; 05-02-2013, 10:55 AM.Originally posted by Sean88gtYou can take white off the list. White on anything is the best, including vehicles, women, and the Presidency.Originally posted by Baron Von CrowderYou can not imagine how difficult it is to hold a half gallon of moo juice and polish the one-eyed gopher when your doin' seventy-five in an eighteen-wheeler.
Comment
-
This should work.
Go to Conditional Formatting
Click "New Rule"
Choose "Use a formula to determine which cells to format"
In the box for "Format values where this is true:" enter the following
=C1="Done"
Where C1 = the cell that contains the value of "Done"
Click "Format"
Click "Fill" - Choose color
Click "Font" - Choose color
Click "Ok"
Click "Ok" again.
You will have to repeat for each cell..."Laws that forbid the carrying of arms...disarm only those who are neither inclined nor determined to commit crimes...Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than to prevent homicides, for an unarmed man may be attacked with greater confidence than an armed man." - Thomas Jefferson, 1776
Comment
-
Originally posted by BlackGT View PostThis should work.
Go to Conditional Formatting
Click "New Rule"
Choose "Use a formula to determine which cells to format"
In the box for "Format values where this is true:" enter the following
=C1="Done"
Where C1 = the cell that contains the value of "Done"
Click "Format"
Click "Fill" - Choose color
Click "Font" - Choose color
Click "Ok"
Click "Ok" again.
You will have to repeat for each cell...
And, yeah, it would have to be done on every cell in the column individually. bleh.Last edited by BERNIE MOSFET; 05-02-2013, 12:16 PM.Men have become the tools of their tools.
-Henry David Thoreau
Comment
-
Originally posted by Gtracer View Posta 'IF' formula would accomplish this. You could also create a rule to color the cells.
You could end up with a complex formula depending on how many cells you are checking and what not. Might be easier to build a table then have your cell reference that table to match 'g' and populate 'A'.
But I am by no means an expert...
Edit: This is an IF formula I use mixed in with a Index and Match (for tables). Might get you going and you could just play around until it works for you, kind of a reverse engineering if you want?
=IF($B5<>"N/A",INDEX($K$4:$K$8,MATCH($B5,$J$4:$J$8,0)),INDEX($ K$4:$K$8,MATCH($A5,$I$4:$I$8,0)))
INDEX is your 'table' column and cell reference
Match is the main tab where your data is contained that you are trying to color
ummmmmm what did u say??
Comment
-
Go to a column you're not using and set the first cell equal toCode:IFERROR(SEARCH("done", G1),0)>0
Code:COUNTIF($H$1:$H$9999,TRUE)>0
Originally posted by BroncojohnnyHOORAY ME and FUCK YOU!
Comment
Comment