+ Reply to Thread
Results 1 to 7 of 7

Selecting Rows When Certain values in columns appear sequentially

  1. #1
    Registered User
    Join Date
    04-21-2011
    Location
    Fredericksburg, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Selecting Rows When Certain values in columns appear sequentially

    Is there a macro or a formula that will search a column for a sequence of values in a column and highlight the rows the belong to?

    Example: select rows that cow, chicken and dear appear in sequence.

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Selecting Rows When Certain values in columns appear sequentially

    Assuming values in columns A:C:
    VBA:
    Please Login or Register  to view this content.
    Conditional Formatting method:
    Please Login or Register  to view this content.
    Last edited by tlafferty; 04-21-2011 at 04:42 PM.

  3. #3
    Registered User
    Join Date
    04-21-2011
    Location
    Fredericksburg, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Selecting Rows When Certain values in columns appear sequentially

    thanx for the fast response, trying now will respond soon

  4. #4
    Registered User
    Join Date
    04-21-2011
    Location
    Fredericksburg, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Selecting Rows When Certain values in columns appear sequentially

    It didnt work. I switched the number column to "A" and the column to be searched upon to "C". I used the macros and assigned it to ctrl-j. What am I doing wrong?

  5. #5
    Registered User
    Join Date
    04-21-2011
    Location
    Fredericksburg, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Selecting Rows When Certain values in columns appear sequentially

    is there away to export the results to another spreadsheet? I have over 50000 rows to scroll through

  6. #6
    Registered User
    Join Date
    04-21-2011
    Location
    Fredericksburg, Virginia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Selecting Rows When Certain values in columns appear sequentially

    anyone know what I may be doing wrong?

  7. #7
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Selecting Rows When Certain values in columns appear sequentially

    Can you post a sample of your data along with your modified code?

+ 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