+ Reply to Thread
Results 1 to 2 of 2

return several values based on cell value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-16-2012
    Location
    chicago
    MS-Off Ver
    Excel 2010
    Posts
    1

    return several values based on cell value

    Hello,

    I'm trying to build a sheet that will return several times based on the cell value. The example I uploaded: the main data I'll pull is on the tab titled "flt info". This has the gate number and time the aircraft arrived and departed throughout the day. The number of flights will be variable depending on the day.

    I'm trying get the tab titled "gates" to poplulate the aircraft arrival & dept times based on the gate number.

    I've added it manually just to show on the "gates" tab how I want it to look.

    I've been playing around with index and vlookup but can't seem to figure it out. Any help is appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: return several values based on cell value

    Hi dkensk,

    welcome to the forum

    Try using below formula, enter with key combination ctrl shift enter



    Formula: copy to clipboard
    =INDEX('flt info'!B$1:B$26,SMALL(IF('flt info'!$A$1:$A$26=gates!$A$1,ROW('flt info'!$A$1:$A$26),""),ROW($A1)))



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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