+ Reply to Thread
Results 1 to 7 of 7

List contents from specific text in another worksheet

  1. #1
    Registered User
    Join Date
    07-01-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    80

    List contents from specific text in another worksheet

    Hi Guys

    I've created a sample worksheet which:
    On sheet1, is listed by date and driver name, with the drivers status for that day, ie working etc.

    I would like on sheet 2 if its possible to list the drivers according to the date specified but only if they are 'Working'

    I've tried hiding using conditional formatting those that are not working, but that leaves blank cells in the list which is what I am trying to avoid.

    Is there a way of creating a list of drivers who are 'Working' only on sheet2 without leaving blank cells?

    Many thanks.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: List contents from specific text in another worksheet

    You can try with PowerQuery (Get&Transform)

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: List contents from specific text in another worksheet

    a5=INDEX(Rota!$2:$2,SMALL(INDEX((INDEX(Rota!$B$3:$U$22,MATCH($C$2,Rota!$A$3:$A$22,0),)<>"Working")*10^10+COLUMN(Rota!B2:U2),0),ROWS(B$5:B5)))

    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: List contents from specific text in another worksheet

    Try

    A5
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    copy down!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,431

    Re: List contents from specific text in another worksheet

    Try this:

    =IFERROR(INDEX(Rota!$A$2:$U$2,SMALL(IF(Rota!$A$3:$A$22=Working!C$2,IF(Rota!$B$3:$U$22="Working",COLUMN(Working!$B$2:$U$2))),ROWS($A$1:A1))),"")

    ... 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 your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Then drag copy down.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    07-01-2017
    Location
    UK
    MS-Off Ver
    365
    Posts
    80

    Re: List contents from specific text in another worksheet

    Please Login or Register  to view this content.
    When adapting this to my actual spreadsheet, this worked a treet, Thankyou very much.

    Marking forum as solved.
    +1 to you reputation

    Many thanks
    Last edited by AliGW; 04-04-2018 at 04:09 AM. Reason: Unnecessary parts of quotation removed.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,431

    Re: List contents from specific text in another worksheet

    You're welcome!

    For future reference, please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below.

+ 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. Replies: 1
    Last Post: 09-13-2017, 01:18 PM
  2. [SOLVED] copy contents of last row to a specific cell in another worksheet
    By Angelique Cassam in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2017, 03:40 AM
  3. VBA MAcro to clear contents of specific cells if a specific cell contains text
    By muzzareilly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2017, 12:47 PM
  4. Replies: 6
    Last Post: 02-16-2017, 05:08 PM
  5. Creating, copying and renaming new worksheet based on specific cell contents
    By johnejo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2012, 01:16 PM
  6. Replies: 3
    Last Post: 05-22-2012, 02:13 PM
  7. Drop Down List to Copy Entire Contents of Worksheet into Master Worksheet
    By mrmartin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-14-2011, 10:54 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