+ Reply to Thread
Results 1 to 5 of 5

Selecting entire rows based on contents of cell?

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    cambridge, england
    MS-Off Ver
    Excel 2010
    Posts
    11

    Selecting entire rows based on contents of cell?

    Hi there,

    I have a large set of data regarding the activities going on in particular rooms. The data contains activity name, start time, day, duration, room and size.

    I would like to select all rows that contain a cell in the activity name column which contain the words 'VideoConference'.

    I have tried to Search, Select All then index the remaining data using =iferror(index(etc. However some activities occur in more than one room and all variables apart from 'Room' are the same. Thus when I have tried to index the room column I get the same room for both rows.

    Please see attached spread sheet for the raw data and my desired result.

    Thanks in advance.

    ps the raw data set consists of +28000 rows so I can not simply look through and copy.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Selecting entire rows based on contents of cell?

    One method would be to use autofilter:
    1. Ctrl+A to select all your data.
    2. Select menu option data->filter->autofilter
    3. You should get drop down boxes in row 1, select the drop down box in A1 and then select "custom"
    4. There are many options for filtering, you need to select to show rows where Activity Name "contains" "VideoConference"

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: Selecting entire rows based on contents of cell?

    Try this with helper column.
    You can also change word for criteria in B1
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-08-2013
    Location
    cambridge, england
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Selecting entire rows based on contents of cell?

    Cheers thank you all!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Selecting entire rows based on contents of cell?

    I have marked your thread as solved for you. You wouldnt be able to do it now since your thread was opened 3 months back.

    But you can surely click on the Add Reputation icon on all those posts which helped you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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] Macro to Move Entire Row Based on Cell Contents
    By alpha608 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-27-2012, 01:58 PM
  2. Selecting cells based on contents of one cell
    By Jonco in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-03-2011, 04:06 PM
  3. Format entire row based on cell contents
    By Timja in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-13-2008, 11:54 AM
  4. Selecting entire rows contents
    By GB900180 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2006, 03:10 AM
  5. Selecting a filepath based on cell contents
    By ceemo in forum Excel General
    Replies: 1
    Last Post: 06-25-2005, 09:05 AM

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