Announcement

Collapse
No announcement yet.

excel gurus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • excel gurus

    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

    Originally posted by DOHCTR
    You sir are the poster child for "Go big or go home"!

  • #2
    Conditional formatting is your friend

    Comment


    • #3
      been messing with it for over an hr and still cant get it to work

      Originally posted by DOHCTR
      You sir are the poster child for "Go big or go home"!

      Comment


      • #4
        Originally posted by Silverback View Post
        Conditional formatting is your friend
        This. I assumed he meant like Table Columns and when making a table column it gives you the option to pick a color. Idk, Im not a guru at Excel.

        Comment


        • #5
          This is not a guru-level question.
          Originally posted by Broncojohnny
          HOORAY ME and FUCK YOU!

          Comment


          • #6
            no i want "A" to be formated Red if "G" does not contain "Done"

            Originally posted by DOHCTR
            You sir are the poster child for "Go big or go home"!

            Comment


            • #7
              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


              • #8
                yes column A contains numbers

                Originally posted by DOHCTR
                You sir are the poster child for "Go big or go home"!

                Comment


                • #9
                  Originally posted by bonnie&clyde View Post
                  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
                  a '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
                  Last edited by Gtracer; 05-02-2013, 10:55 AM.
                  Originally posted by Sean88gt
                  You can take white off the list. White on anything is the best, including vehicles, women, and the Presidency.
                  Originally posted by Baron Von Crowder
                  You 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


                  • #10
                    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


                    • #11
                      Originally posted by BlackGT View Post
                      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...
                      This will make the cell highlight when it says "Done". Since he would want to have the A cell highlight in the absence of "Done" in the corresponding G cell, he'd want to do something like =IF($G$1="Done"),,TRUE)

                      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


                      • #12
                        Probably the fastest way to do it is through VBA, if I have time I'll try to post up the code later.

                        Comment


                        • #13
                          Originally posted by Gtracer View Post
                          a '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??

                          Originally posted by DOHCTR
                          You sir are the poster child for "Go big or go home"!

                          Comment


                          • #14
                            I assume there is an Excel for Dummies book out there. If not try the help feature.

                            I should not be hard to figure this one out.

                            Comment


                            • #15
                              Go to a column you're not using and set the first cell equal to
                              Code:
                              IFERROR(SEARCH("done", G1),0)>0
                              or whatever row you're starting at (G2, G3, etc.), then fill down to the bottom of your sheet. Then add a conditional formatting rule to the A column to fill when the formula
                              Code:
                              COUNTIF($H$1:$H$9999,TRUE)>0
                              , or whatever your range containing the true/false from the search comparison is in.
                              Originally posted by Broncojohnny
                              HOORAY ME and FUCK YOU!

                              Comment

                              Working...
                              X