The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • 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 Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. How to highlight a excel cell in red if more than 140 chars in it?

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

    Technical SEO Issues
    5 5 70.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
      • 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
        • 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
          • 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
            • 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
              • 1 / 1
              • First post
                Last post
              • Some Issues about my Blog
                BartonInteractive
                BartonInteractive
                0
                2
                28

              • SERP Ranking Page Filp Flop Confusion
                JbonesPM
                JbonesPM
                0
                3
                13

              • I want to set different price type for India and USA through schema. for eaxmple website is abc.com & there is no cookie/country level redirection.
                0
                1
                11

              • SSL Certificate Install Conerns
                Njnbiure45r4
                Njnbiure45r4
                0
                9
                235

              • SEO optimation for smal gambling site
                Njnbiure45r4
                Njnbiure45r4
                0
                6
                154

              • Structured Data verses Data Highlighter Tool
                UmarKhan
                UmarKhan
                0
                3
                816

              • Data Highlighter doesn't show page
                0
                1
                221

              • Find broken links in Excel?
                emediaSEO
                emediaSEO
                0
                4
                16.7k

              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