+ Reply to Thread
Results 1 to 14 of 14

Conditional Format - If cells length >3

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Conditional Format - If cells length >3

    In range A1:D10, check length of cell and, if length of any cell is grater then 3, then fill that cells color RED
    Last edited by ionelz; 01-20-2019 at 12:01 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    So the cells that need to be red are the cells in the range A1:D10?

    Try this with A1 selected:

    =LEN(A1)>3

    The applies to range should be A1:D10
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Conditional Format - If cells length >3

    For some reason, it doesn't work, maybe because formula is looking only at A1
    I need to look and fill all cells with more then 3 characters in

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    It should and it does for me. See the attachment.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    1
    ttt tttt t
    2
    tttt tttt tt
    3
    ttt tttt ttt
    4
    ttttt tttt ttt
    Sheet: Sheet1
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Conditional Format - If cells length >3

    Does it make a difference if in cells I have Formulas ?
    I mean t tttt... are result of formula in cells ...

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    Shouldn't do - attach a sample file so I can take a look.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    Are we sorted?

  8. #8
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Conditional Format - If cells length >3

    not yet, for some reason, it doesn't work in my
    I know it is simple but I have to see

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    As I said, please attach a sample workbook where it isn't working for you - I'll be able to troubleshoot it then.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    Still waiting for your sample file. Can't really do anything more without it.

  11. #11
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Conditional Format - If cells length >3

    Sorry
    Range is L4:W15
    For example, LEN(L4)>2 but Conditional doesn't do it
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    You have inverted commas around the formula in the CF dialog. Remove them and it will work.

    You need this:

    =LEN(L4)>2

    NOT this:

    ="LEN(L4)>2"

    The inverted commas mean that Excel is looking for that text in the cell, not evaluating a LEN formula!
    Attached Files Attached Files
    Last edited by AliGW; 01-20-2019 at 01:49 PM.

  13. #13
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Conditional Format - If cells length >3

    thank you, for solving fast

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,436

    Re: Conditional Format - If cells length >3

    No worries - could have been much faster if you'd attached the file when I first asked for it!

+ 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. Replies: 12
    Last Post: 02-19-2018, 12:32 PM
  2. Replies: 7
    Last Post: 03-24-2015, 07:44 AM
  3. Replies: 3
    Last Post: 02-24-2015, 02:58 AM
  4. Replies: 3
    Last Post: 05-15-2013, 12:16 AM
  5. [SOLVED] Copy Conditional Format only without over writing existing format
    By RobNorwichUK in forum Excel General
    Replies: 2
    Last Post: 01-22-2013, 12:20 PM
  6. Replies: 0
    Last Post: 05-20-2011, 02:33 PM
  7. Replies: 6
    Last Post: 08-02-2010, 04:05 PM

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