+ Reply to Thread
Results 1 to 10 of 10

Macro to filter data with 2 first digit uppercase

  1. #1
    Registered User
    Join Date
    08-14-2019
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    36

    Red face Macro to filter data with 2 first digit uppercase

    Hello Excel experts,

    I need to show in worksheet only rows that cointans 2 first digits Uppercase, it is possible?

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Macro to filter data with 2 first digit uppercase

    Try this, untested:
    Please Login or Register  to view this content.
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    08-14-2019
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    36

    Re: Macro to filter data with 2 first digit uppercase

    its not working runtime error 438

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Macro to filter data with 2 first digit uppercase

    This one will work. I used the range of rows from 2 to 100. Change as you find fit:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-14-2019
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    36

    Re: Macro to filter data with 2 first digit uppercase

    This is working but honestly not like i need this is my fault i didnt say that correctly, for example ive got row like this :
    someAAa some SOme some1 sOMe and can i filter only cells that contain 2 Uppercase digits next to , doesnt matter in first digit or last

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: Macro to filter data with 2 first digit uppercase

    Try
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-14-2019
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    36

    Re: Macro to filter data with 2 first digit uppercase

    Wow this is working excatly that i wanted, can I also colour or do something with this cells in row that contain 2 uppercase digit? and this is all for me

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: Macro to filter data with 2 first digit uppercase

    Not filter out but color the cell?
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-14-2019
    Location
    Netherlands
    MS-Off Ver
    2019
    Posts
    36

    Re: Macro to filter data with 2 first digit uppercase

    Attachment 644238 it should color more than this there is more situation where is 2 digits in row Uppercase : (

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: Macro to filter data with 2 first digit uppercase

    Invalid attachment.

    Upload a workbook instead of a picture, I don't work with a picture.

+ 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. Macro to cut and paste data in below row contaning single digit
    By UPA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2017, 07:45 AM
  2. [SOLVED] filter data where digit before and after decimal point should be same like 103.3
    By ganotra in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-19-2017, 08:47 AM
  3. Macro to identify 3-digit and 4-digit numbers as valid dates
    By gojakie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2015, 08:16 AM
  4. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  5. Macro to convert lowercase to uppercase upon data entry - Excel 2010
    By AnnetteB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2013, 12:23 PM
  6. Replies: 3
    Last Post: 09-24-2007, 03:14 PM
  7. Macro reads 3 digit #'s but not 4 digit #'s
    By PJenkins in forum Excel General
    Replies: 3
    Last Post: 03-17-2007, 12:49 AM

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