+ Reply to Thread
Results 1 to 4 of 4

Index/Match Excel Formula assistance required

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2000
    Posts
    10

    Index/Match Excel Formula assistance required

    Have just joined the forum and would appreciate some help.

    I have a sheet (attached) containing data of persons occupying properties and their dates of occupation. Each property is listed across the top of the sheet and the occupants filled in against their dates of stay.

    I would like to put a formula on the analysis sheet in the shaded cells so that when i key a property code into (cell c3) for any property then it would copy across the occupants for that property on each date. I have tried index and match as =INDEX(analysis!b5:f5,MATCH($c$3,analysis!$b$3:$f$3)) but it either picks up the wrong property or nothing at all.

    Is this the correct formula usage or is there another formula that I should be using.
    Attached Files Attached Files
    Last edited by coyy; 12-10-2012 at 08:46 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux - O365
    Posts
    12,266

    Re: Excel Formula help required

    Hi
    I'm afraid you'll have to adapt your thread title to forum rules ( more descriptive) before getting help

  3. #3
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,676

    Re: Index/Match Excel Formula assistance required

    Thanks for changing your thread title

    You need a zero as third argument in the MATCH function, i.e. like this

    =INDEX(Analysis!B5:F5,MATCH($C$3,Analysis!$B$3:$F$3,0))&""

    Although that doesn't check the dates explicitly , just assumes that the dates in A6 down match those in the table - if you want to explicitly check dates too then try this version

    =INDEX(Data!B$5:F$21,MATCH(A6,Data!A$5:A$21,0),MATCH(C$3,Data!B$3:F$3,0))&""
    Audere est facere

  4. #4
    Registered User
    Join Date
    12-10-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2000
    Posts
    10

    Re: Index/Match Excel Formula assistance required

    Many thanks daddylonglegs, have used your first solution and it is exactly what I was looking for.

+ 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