+ Reply to Thread
Results 1 to 7 of 7

Ho to extract school names

  1. #1
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Ho to extract school names

    Hi dear Experts,
    I have a list of drivers that are working in either one school or two. These schools have different starting time either 7:00 or 8:00.
    Now I can easily extract School Names in the 'First School' and 'Second School' according their timings by combining multiple lookup value and lookup array using CTRL+Shift+Enter.
    But Here my only Issue is that I want the School names in the 'First School' if the related driver has only one school. It doesn't mater if starting time is 8:00.
    Please help me solve this.
    Thank you.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Ho to extract school names

    Not really sure what you want here, but I modified yoyur formula to make it a regulat formula (not ARRAY), and made it a bit more adaptable...
    C15=IFERROR(INDEX($D$2:$D$10,MATCH($A15&IF(C$14="first school","7:00","8:00")+0,INDEX($A$2:$A$10&$E$2:$E$10,0),0)),"")
    copied down AND across as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Ho to extract school names

    Here I will mention first three drivers that have different scenario.
    1: David is working in a single school ABC and that is the only school he is working in So the ABC is in correct columns(C15).
    2: Richard is working in a single school XYZ and that is the only school he is working in He has no other or Second school.So the school XYZ must be in the 'First School'(C16) not in 'Second School'(D16). And that's the only thing I want to solve.
    3: Steve is working in two schools 'First (C17) and Second School (D17). And I have no issue with that.

    Please solve my Issue only for Richard.

    Thanks.
    Last edited by alipezu; 01-21-2017 at 04:20 AM.

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

    Re: Ho to extract school names

    C15
    Please Login or Register  to view this content.
    Try this and copy across
    Samba

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

  5. #5
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Cool Re: Ho to extract school names

    Here is my actual excel workbook and I think that will clarify.
    Attached Files Attached Files

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

    Re: Ho to extract school names

    C2
    Please Login or Register  to view this content.
    D2
    Please Login or Register  to view this content.
    TRY THIS AND COPY TOWARDS DOWN

  7. #7
    Forum Contributor
    Join Date
    02-12-2014
    Location
    al ain
    MS-Off Ver
    Excel 2016
    Posts
    149

    Re: Ho to extract school names

    Thank you nflsales, working perfect now. And also thanks to FDibbins.

+ 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 names
    By marj0909 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2016, 04:16 AM
  2. Need to extract names
    By dbcahill in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-12-2016, 12:24 PM
  3. Extract column names by searching Row 1 header names?
    By Syfy in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-04-2015, 07:27 PM
  4. Extract rows if names are meet names in named range
    By Serggio in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2015, 07:26 AM
  5. Macro to Extract Names
    By danimal0417 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2013, 01:22 PM
  6. Extract teacher-based overviews from a school roster
    By Zploek in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-08-2011, 06:20 PM
  7. Extract unique names (names could be little different)
    By Richard Flame in forum Excel General
    Replies: 1
    Last Post: 05-31-2007, 09:04 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