+ Reply to Thread
Results 1 to 4 of 4

String Comparison & Conditional Formatting

  1. #1
    Blobbies
    Guest

    String Comparison & Conditional Formatting

    I am wanting to colour a Sports Tipping results table according to the sports
    result.

    I have a green font for getting it exactly right, a red strikethrough font
    for getting it exactly wrong, and would like a grey font for getting it
    partially correct.

    So, I need a formula to place in the conditional formatting dialog that
    compares cell A with cell B. If the 1st 5 letters of cell A equal the first
    5 letters of cell B, then turn the font grey!

    Many thanks in advance for your assistance.



    Eddie



  2. #2
    Biff
    Guest

    Re: String Comparison & Conditional Formatting

    Hi!

    Try this:

    =LEFT(A1,5)=LEFT(B1,5)

    Biff

    "Blobbies" <[email protected]> wrote in message
    news:[email protected]...
    >I am wanting to colour a Sports Tipping results table according to the
    >sports
    > result.
    >
    > I have a green font for getting it exactly right, a red strikethrough font
    > for getting it exactly wrong, and would like a grey font for getting it
    > partially correct.
    >
    > So, I need a formula to place in the conditional formatting dialog that
    > compares cell A with cell B. If the 1st 5 letters of cell A equal the
    > first
    > 5 letters of cell B, then turn the font grey!
    >
    > Many thanks in advance for your assistance.
    >
    >
    >
    > Eddie
    >
    >




  3. #3
    Blobbies
    Guest

    Re: String Comparison & Conditional Formatting

    It's so easy when you know!

    Thanks Biff - Fantastic!!!



    "Biff" wrote:

    > Hi!
    >
    > Try this:
    >
    > =LEFT(A1,5)=LEFT(B1,5)
    >
    > Biff
    >
    > "Blobbies" <[email protected]> wrote in message
    > news:[email protected]...
    > >I am wanting to colour a Sports Tipping results table according to the
    > >sports
    > > result.
    > >
    > > I have a green font for getting it exactly right, a red strikethrough font
    > > for getting it exactly wrong, and would like a grey font for getting it
    > > partially correct.
    > >
    > > So, I need a formula to place in the conditional formatting dialog that
    > > compares cell A with cell B. If the 1st 5 letters of cell A equal the
    > > first
    > > 5 letters of cell B, then turn the font grey!
    > >
    > > Many thanks in advance for your assistance.
    > >
    > >
    > >
    > > Eddie
    > >
    > >

    >
    >
    >


  4. #4
    Biff
    Guest

    Re: String Comparison & Conditional Formatting

    You're welcome!

    Biff

    "Blobbies" <[email protected]> wrote in message
    news:[email protected]...
    > It's so easy when you know!
    >
    > Thanks Biff - Fantastic!!!
    >
    >
    >
    > "Biff" wrote:
    >
    >> Hi!
    >>
    >> Try this:
    >>
    >> =LEFT(A1,5)=LEFT(B1,5)
    >>
    >> Biff
    >>
    >> "Blobbies" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >I am wanting to colour a Sports Tipping results table according to the
    >> >sports
    >> > result.
    >> >
    >> > I have a green font for getting it exactly right, a red strikethrough
    >> > font
    >> > for getting it exactly wrong, and would like a grey font for getting it
    >> > partially correct.
    >> >
    >> > So, I need a formula to place in the conditional formatting dialog that
    >> > compares cell A with cell B. If the 1st 5 letters of cell A equal the
    >> > first
    >> > 5 letters of cell B, then turn the font grey!
    >> >
    >> > Many thanks in advance for your assistance.
    >> >
    >> >
    >> >
    >> > Eddie
    >> >
    >> >

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1