Results 1 to 6 of 6

Thread: Excel conditional formatting help!!!

  1. #1
    Location
    Hamilton, ON
    Rep Power
    40

    Dobber Sports Titan

    Default Excel conditional formatting help!!!

    i Had to upload this as an attachment because the question and detail was "too long" for Dobber

    Attached Images Attached Images
    12 Team, H2H, Keep 6 (in Bold)
    G, A, Pts, PPP, FW, SOG, Hits, Blocks
    W, Saves, S%, GAA, Game Started
    2C, 2LW, 2RW, 4D, 1Util, 2G, 5BN, 2IR, 1IR+, 1NA

    C: Horvat, Trocheck
    LW: J. Robertson, Byfield (C), Guenther
    RW: Pavelski (C), Giroux (C), Svechnikov (LW)
    D: Fox, Makar, Bouchard, Morrissey, Gudas
    Util: Meier (LW, RW)
    G: Oettinger, Georgiev, Samsonov, Woll


  2. #2
    Location
    Scotland
    Rep Power
    50

    The Wolverine

    Default Re: Excel conditional formatting help!!!

    I think I figured this out for you.

    Make sure you have clicked on the first cell that should be applied (C2 i.e. 16 nov 15)
    The rule type needs to be 'use a formula to determine which cells to format'.
    Add this formula (or equivalent): =$C2<>"" (meaning starting at C2, highlight the cell which doesn't contain a blank.
    Choose the fill colour and click ok.
    In the 'applies to' field box, highlight the entire cell of data (excluding the headings), and click 'apply'.

    I'm not sure if there's another way to ensure it only identifies a date, in case accidently other text appears in those cells?

    That's one way that should work. Let me know.

  3. #3
    Location
    Ontario
    Rep Power
    40

    Administrator

    Default Re: Excel conditional formatting help!!!

    I found this while doing a google search and tried it with a valid date and an invalid one.

    =IF(NOT(ISERROR(DATEVALUE(TEXT(A1,"mm/dd/yyyy")))),"valid date","invalid date")

    I'm not really able to go all the way with the testing to make it work in conditional formatting but you should be able to do something with this.


    Contact me for Frozen Tools bug reports and inquiries
    Follow Frozen Tools on Twitter @FrozenTools
    Follow me on Twitter @DH_EricDaoust

  4. #4
    Location
    Hamilton, ON
    Rep Power
    40

    Dobber Sports Titan

    Default Re: Excel conditional formatting help!!!

    Holy sweet jesus you're a mastermind genius wrapped in a oracle.

    This is exactly what i wanted. To Horror

    TO Eric, i'll try to incorporate that one too to have it specific to a date, not just a cell being filled in.

    Thanks you two. really helped me look smart for the boss.
    12 Team, H2H, Keep 6 (in Bold)
    G, A, Pts, PPP, FW, SOG, Hits, Blocks
    W, Saves, S%, GAA, Game Started
    2C, 2LW, 2RW, 4D, 1Util, 2G, 5BN, 2IR, 1IR+, 1NA

    C: Horvat, Trocheck
    LW: J. Robertson, Byfield (C), Guenther
    RW: Pavelski (C), Giroux (C), Svechnikov (LW)
    D: Fox, Makar, Bouchard, Morrissey, Gudas
    Util: Meier (LW, RW)
    G: Oettinger, Georgiev, Samsonov, Woll


  5. #5
    Location
    Ontario
    Rep Power
    40

    Administrator

    Default Re: Excel conditional formatting help!!!

    Not sure if you got everything working but I had a few minutes and successfully applied a date checker in conditional formatting.

    The formula should be: =NOT(ISERROR(DATEVALUE(TEXT($C2,"mm/dd/yyyy"))))

    and apply it to the row as horrorfan stated. Basically in my example putting "01/10/2001" in C2 causes the affected cells to be colored red, but if I change C2 to something like "aaa" then the formatting goes away.


    Contact me for Frozen Tools bug reports and inquiries
    Follow Frozen Tools on Twitter @FrozenTools
    Follow me on Twitter @DH_EricDaoust

  6. #6
    Location
    Scotland
    Rep Power
    50

    The Wolverine

    Default Re: Excel conditional formatting help!!!

    Quote Originally Posted by 2014olympicgold View Post
    Holy sweet jesus you're a mastermind genius wrapped in a oracle.

    This is exactly what i wanted. To Horror

    TO Eric, i'll try to incorporate that one too to have it specific to a date, not just a cell being filled in.

    Thanks you two. really helped me look smart for the boss.
    Glad it worked out. And nice find, Eric, on the date-specific formula.

Posting Permissions

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