+ Reply to Thread
Results 1 to 3 of 3

How to find longest string in a column

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    izmir,turkey
    MS-Off Ver
    excel 2007
    Posts
    4

    Question How to find longest string in a column

    Hi everyone,
    I have column contains only "1"s they are planted randomly and also have blank cells among the column randomly. I've trying to find and count the longest string made of these "1"s.

    There is screenshot for worksheet; for example the longest string in this column contains seven "1"s.

    Can anybody help me on this?

    Thanks in advance

    Untitled.jpg

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: How to find longest string in a column

    See the attached file where I used this macro:
    Please Login or Register  to view this content.
    Regards,
    Antonio
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    izmir,turkey
    MS-Off Ver
    excel 2007
    Posts
    4

    Re: How to find longest string in a column

    It was very fast
    That's exactly what i need!!
    Thank you very very much Antonio. You are the best!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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