The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Forum
    2. Categories
    3. SEO Tactics
    4. Technical SEO
    5. How to highlight a excel cell in red if more than 140 chars in it?
    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How to highlight a excel cell in red if more than 140 chars in it?

    Technical SEO
    5 5 72.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Autoschieber
      Autoschieber last edited by

      Hi,

      I have editors / copyreader that write twitter headlines & meta descriptions in excel cells.

      Do you know a way for google docs & excel how to highlight the text of a cell in red if there are more than 140 chars ( or number to define) in the cell

      so the editor can see if the tweet / description is too long?

      1 Reply Last reply Reply Quote 0
      • Manseo
        Manseo last edited by

        After an hour or so of messing around with it, I found a Solution!

        So you have to have two rules.

        First one is Cell is Empty, set the background color to white (not sure why this is needed, but it is crucial for it to work)

        Second rule is Custom Formula is =len(B2)>150, set background color to red (this will set it to red if the their is over 150 characters.

        This test spreadsheet really helped me out. (gotta make a copy to mess with it)
        https://docs.google.com/spreadsheets/d/1ScDqtZvhsmf2iByAuxHBu0-ESpX_TE5pdtBvAxOJ99E/edit#gid=1620525099

        Your welcome,
        Chris

        U7rW8SV

        1 Reply Last reply Reply Quote 1
        • mikecartmel
          mikecartmel last edited by

          For gDocs:

          Create extra column and add formula =len(cell ref containing text)

          Add conditional formatting to the resulting number where greater than 140

          1 Reply Last reply Reply Quote 0
          • Webmaster_SEO
            Webmaster_SEO last edited by

            Here is how you get the highlighting done where character is >140

            1. Goto new rules in Conditional formatting dropdown

            2. Select "use a formula to determine which cell to format"

            3. In the edit section under "format value where formula is true" give following:

            =len(A1)>140

            and then select custom formatting (fill color)

            Now simply use format painter option to fill the complete column (all individual cells) with this formatting

            *Note I am using Excel 2010

            1 Reply Last reply Reply Quote 3
            • Cornel_Ilea
              Cornel_Ilea last edited by

              Hi Axel,

              As far as I see you can't measure the string length in 'Conditional Formatting' option in gDocs.

              This is how it should work in Excel gDocs

              Lets say that your table looks like this:

              1. Column A  = No

              2. Column B = Strings

              This is what you should do.

              1. Create a separate empty column C

              2. Paste this code into column C  ||| _ =IF(LEN(B1)>140,B1__,"")_  ||||

              This should create in Column C a list with all the strings > 140

              Hope this helps,

              Cornel

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

                Getting Started
                Moz Pro
                Moz Local
                Moz Bar
                API
                What's New

              • SEO Tactics

                Discuss the SEO process with fellow marketers

                Content Development
                Competitive Research
                Keyword Research
                Link Building
                On-Page Optimization
                Technical SEO
                Reporting & Analytics
                Intermediate & Advanced SEO
                Image & Video Optimization
                International SEO
                Local SEO

              • Community

                Discuss industry events, jobs, and news!

                Moz Blog
                Moz News
                Industry News
                Jobs and Opportunities
                SEO Learn Center
                Whiteboard Friday

              • Digital Marketing

                Chat about tactics outside of SEO

                Affiliate Marketing
                Branding
                Conversion Rate Optimization
                Web Design
                Paid Search Marketing
                Social Media

              • Research & Trends

                Dive into research and trends in the search industry.

                SERP Trends
                Search Behavior
                Algorithm Updates
                White Hat / Black Hat SEO
                Other SEO Tools

              • Support

                Connect on product support and feature requests.

                Product Support
                Feature Requests
                Participate in User Research

              • See all categories

              • What is the importance of exact match keywords for local SEO in service industry businesses?
                andrew_woffenden
                Andrew Woffenden
                18
                1
                363

              • Why have my positions dropped after implementing recommended changes?
                NicoleChambers
                NicoleChambers
                1
                7
                511

              • Best redirect destination for 18k highly-linked pages
                davidvogel
                davidvogel
                1
                8
                472

              • Cross Canonicalization for domains with same menu
                Shrine.SEO.Gal
                Shrine.SEO.Gal
                0
                2
                218

              • How to fix core web vital issue on shopify website , any recommned app from shopfiy store?
                faizalialiali
                faizalialiali
                0
                14
                818

              • How to Boost Your WordPress Website Speed to 95+ (Without Premium Plugins)
                mohammadrehanseo
                mohammadrehanseo
                0
                15
                1.7k

              • URLs dropping from index (Crawled, currently not indexed)
                iHasco
                iHasco
                0
                12
                2.6k

              • My backlinks are not showing in webmaster tools? Why
                denakalami
                denakalami
                7
                72
                34.2k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.