+ Reply to Thread
Results 1 to 4 of 4

Extract data to multiple rows based on value in separate cell

  1. #1
    Registered User
    Join Date
    05-21-2018
    Location
    DC
    MS-Off Ver
    2016
    Posts
    43

    Extract data to multiple rows based on value in separate cell

    Hi all,

    I'm familiar with basic Excel but after 6 hours this is just beyond me It should be straightforward but I've been trying every formula I could find and I just can't get it right.

    What I want is for when I change the Call Time on the LO Security sheet (D8), for it to auto-populate the names in list form in column B under Name.

    The names come from the Employees sheet column B and should correspond to the call time on the same sheet in column E.

    ie. when I put in 7:00 AM on the LO Security sheet, it should look on the Employees sheet and pull every name that should be in at 7:00 AM according to the Call Time on the Employees sheet.

    The best I've gotten so far are blanks and #NUM errors.

    I've included a sanitized workbook with the relevant sheets.

    Thanks in advance!
    Attached Files Attached Files

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

    Re: Extract data to multiple rows based on value in separate cell

    This should do it:

    Please Login or Register  to view this content.
    It is array entered, meaning that you will have to use Ctrl+Shift+Enter instead of Regular Enter.
    I've used only the ranges of data found in Employees. Change them in your file

  3. #3
    Registered User
    Join Date
    05-21-2018
    Location
    DC
    MS-Off Ver
    2016
    Posts
    43

    Re: Extract data to multiple rows based on value in separate cell

    Thanks a lot! It did mostly what I need it to do. I am encountering one hiccup though. If I have in the list as x time, x time, x time, y time, x time it will stop after the third x time and not return anything for the 4th. Is there a way around it as the times will vary per name and may not always be contigous. There also may be blank rows in between the names. I've included a workbook example. The 4th 7:00 AM name is Employees B9 and I notice I get and error warning on LI Security B8 that says - The formula in this cell refers to a range that has additional numbers adjacent to it.

    Thank you.
    Attached Files Attached Files

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

    Re: Extract data to multiple rows based on value in separate cell

    Try this. It will return all results that match the criteria, even if there are blanks:

    Please Login or Register  to view this content.

+ 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. Extract data based on a value in separate columns
    By Strontium Dog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2017, 07:31 AM
  2. Separate and align rows from two separate sheets based on a cell value.
    By Sonny Crockett in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2015, 09:15 PM
  3. Replies: 3
    Last Post: 01-03-2014, 02:13 AM
  4. [SOLVED] Extract data from a cell to multiple rows
    By liquidtrails in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2012, 12:07 AM
  5. Take Data from 1 cell and separate to multiple rows
    By sratkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2011, 08:44 PM
  6. Replies: 8
    Last Post: 09-18-2011, 05:36 AM
  7. Replies: 4
    Last Post: 11-22-2010, 12:57 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