+ Reply to Thread
Results 1 to 5 of 5

Hello! Need help scanning columns for particular text to fill a list

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Hello! Need help scanning columns for particular text to fill a list

    Hi all!


    I have a roster with one last function i'm hoping to get working with no success. I have to present this in 12 hours so I"m panicking haha

    I have attached the spreadsheet where you can see the columns as dates and the rows as staff member names.


    Need a little help with a function to scan a column (a particular date) in SHEET1 and extract all the cells that contain "X" or "R/O" to then pull out all the staff surnames into a list into the "team sheet". This column is to show who is available and is unrostered (marked by "X" and "R/O")

    My "team sheet" shows the extracted staff names that had "X" and "R/O for any particular date (column is date). I am hoping to automate this .

    Thanks so much in advance! Any advice appreciated.
    Attached Files Attached Files
    Last edited by wcngu1; 11-25-2015 at 07:28 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Hello! Need help scanning columns for particular text to fill a list

    I am a little confused by row 73 of sheet 1... This looks like a pointless duplicate of row 74. Why is it there? Your explanation was not fully clear.

    This array formula will give you the result that you want:
    =IFERROR(INDEX(Sheet1!$C:$C,SMALL(IF(Sheet1!D$4:D$50={"X","R/O"},ROW(Sheet1!D$4:D$50)),ROWS($1:1))),"")

    copy across and down.

    Array Formulae are a little different from ordinary formulas in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly braces { } appear around the outside of your formula. If you do not CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly braces yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Hello! Need help scanning columns for particular text to fill a list

    Thanks for the Reputation that you have added. It's much appreciated. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    12-16-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Hello! Need help scanning columns for particular text to fill a list

    Quote Originally Posted by Glenn Kennedy View Post
    Thanks for the Reputation that you have added. It's much appreciated. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Hi glenn I wrote a post too but it seems it never posted properly!

    thanks so much for your help =) it was the perfect solution and I"m over the moon haha this is one hell of a useful formula for so many things!

    thanks again and I'll mark it solved now =D

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Hello! Need help scanning columns for particular text to fill a list

    The forum does do funny things, quite often!!

    Anyway, I'm glad you're happy!!

+ 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] Fill List Box with Five Text Boxes and Put List Box on Sheet
    By AmirSoft in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-25-2014, 11:42 AM
  2. [SOLVED] I need to fill 2 text columns based on criteria from 2 adjacent columns
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-04-2014, 02:55 PM
  3. Fill List Box With Data From Two Or More Columns
    By Spaggiari in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-20-2012, 08:51 AM
  4. Scanning for shifted values in different columns
    By luinox86 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-14-2011, 08:04 AM
  5. scanning and looping columns
    By omgeokid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2011, 12:05 PM
  6. Scanning text
    By demerdin in forum Excel General
    Replies: 5
    Last Post: 06-12-2010, 07:42 AM
  7. VBA: scanning through rows & columns for value
    By tesfamichael in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2009, 09:32 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