+ Reply to Thread
Results 1 to 4 of 4

V Lookup/Hlookup index/match

  1. #1
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    V Lookup/Hlookup index/match

    I want to fill out a section of of cells based on the Day entered in Cell B1, I was able to use vlookup to get one row
    Please Login or Register  to view this content.
    But I am not sure how to complete the rest of it?

    Thanks in advance for any assistance!
    Last edited by 00Able; 12-18-2011 at 02:15 PM.
    Providing Problems for Your Solutions
    STARS are my Punching Bag, You will be rewarded.

    In the rare event that I may help you, feel free to make me see STARS

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,696

    Re: V Lookup/Hlookup index/match

    Try this formula in C5

    =INDEX(File!D$3:D$158,MATCH(B$2,File!$B$3:$B$158,0)+ROWS(C$5:C5)-1)

    copy across to D5 and then both formulas down to row 10
    Audere est facere

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: V Lookup/Hlookup index/match

    If your days are grouped together try this, B5 copy down.

    =IF(ROWS(B$5:B5)<=COUNTIF(File!$B:$B,$B$2),INDEX(File!C:C,MATCH($B$2,File!$B:$B,0)+ROWS(B$5:B5)-1),"")

    If days are not grouped, B5,

    =IFERROR(INDEX(File!C:C,SMALL(IF(File!$B$3:$B$158=$B$2,ROW(File!$B$3:$B$158)),ROWS(B$5:B5))),"")

    Confirmed with CTRL+SHIFT+ENTER. copy down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Forum Contributor 00Able's Avatar
    Join Date
    11-17-2010
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    244

    Re: V Lookup/Hlookup index/match

    Thanks both works great!

+ 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