+ Reply to Thread
Results 1 to 5 of 5

Locate Cells with 5 consecutive numbers or more

Hybrid View

  1. #1
    Registered User
    Join Date
    09-01-2020
    Location
    Bacolod City, PH
    MS-Off Ver
    Office 16
    Posts
    2

    Locate Cells with 5 consecutive numbers or more

    Please forgive me as I am no expert in excel. I an a total n00b when it comes to formulas and excel stuff.

    What I an trying to accomplish is locate cells that has 5 or more numbers inside it. I am working on email addresses and want to identify those cells. Im just working with A column only so column B would say true or false.

    example: my12345(at)exampl.com or 5738654example(at)email.com


    Thank you for your attention.



    P.S. Im not yet allowed to post links or vids.

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Locate Cells with 5 consecutive numbers or more

    Hi and welcome

    Try this in B1 and enter it as an array formula (press enter + control + shift) when entering it then drag down

    =IF(SUM(IFERROR(VALUE(MID(A1,ROW(1:50),5)),0))>0,"TRUE","FALSE")
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    09-01-2020
    Location
    Bacolod City, PH
    MS-Off Ver
    Office 16
    Posts
    2

    Re: Locate Cells with 5 consecutive numbers or more

    Quote Originally Posted by Crooza View Post
    Hi and welcome

    Try this in B1 and enter it as an array formula (press enter + control + shift) when entering it then drag down

    =IF(SUM(IFERROR(VALUE(MID(A1,ROW(1:50),5)),0))>0,"TRUE","FALSE")

    Thanks a bunch. That did it for me. Rep added

  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. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,132

    Re: Locate Cells with 5 consecutive numbers or more

    Quote Originally Posted by Demoniacs View Post
    P.S. Im not yet allowed to post links or vids.
    No, because you are new - it's not allowed yet.

    However, there are instructions at the top of the page explaining how to attach your sample workbook.
    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.

  5. #5
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Locate Cells with 5 consecutive numbers or more

    Great. Glad it worked (and thanks for the rep)

+ 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] Locate consecutive sequence of values & return column header name
    By Simon_L in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2020, 10:28 PM
  2. [SOLVED] Compare consecutive numbers between 2 cells
    By Najwa_X in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-17-2020, 09:40 AM
  3. [SOLVED] Trying to extract text cells at the first instance of four consecutive numbers
    By portokie in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-15-2016, 06:32 PM
  4. Replies: 4
    Last Post: 11-20-2015, 11:19 AM
  5. How to fill a column of cells with consecutive numbers ?
    By M-Ray in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2013, 09:59 AM
  6. Replies: 3
    Last Post: 06-27-2013, 08:03 AM
  7. Replies: 6
    Last Post: 03-23-2012, 06:03 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