+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting using LEFT in formula

  1. #1
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Conditional Formatting using LEFT in formula

    Hi all,
    I have mixed character data in cells in the format 60A, 70B, 80C. I want to add some conditional formatting to highlight the cells depending on the value of the numerics in the cell, which are always the first 2 characters. The range of data is C2 : AZ56. I have tried using =LEFT($C2,2)>70 but it highlighted all the cells including the ones less than 70. I have included a spreadsheet with example data.

    Any help with this would be greatly appreciated.

    thanks

    Leigh
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Conditional Formatting using LEFT in formula

    Please try

    =--LEFT(C2,2)>70
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Re: Conditional Formatting using LEFT in formula

    Hi Bo-Ry,
    worked perfectly, thank you!! why does it need the "--" in front of the "LEFT"?

    thanks

    Leigh

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Conditional Formatting using LEFT in formula

    --"70" change text to number 70

  5. #5
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Re: Conditional Formatting using LEFT in formula

    Awesome, thanks for the information.
    regards

    Leigh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Conditional Formatting Formula Based on Cell to Left
    By Catsonheat in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-09-2019, 02:48 AM
  2. [SOLVED] Conditional formatting:If statement based on cell value to the left!
    By Keibri in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-15-2017, 03:25 PM
  3. Replies: 5
    Last Post: 08-19-2013, 03:13 PM
  4. Conditional formatting on adjacent cell (Upper lower left right)
    By branred in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-05-2013, 12:52 AM
  5. [SOLVED] Multiple cells to the left to determine conditional formatting
    By EpsilonSigma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-17-2012, 12:02 PM
  6. Replies: 5
    Last Post: 05-11-2012, 06:40 AM
  7. Apply conditional formatting to a cell when it is left BLANK
    By researchrach in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2008, 10:59 PM

Tags for this Thread

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