+ Reply to Thread
Results 1 to 6 of 6

Help with INDEX, MATCH and MAX formula - or alternative solution

  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Help with INDEX, MATCH and MAX formula - or alternative solution

    Hi all,

    I need some help with Excel. Ive got two worksheets in a workbook.

    Sheet 1 contains a table with the following columns;
    Column A : This column contains a list of unique IDs. These are 'sites'
    Column B to F : Where I need some formulae.

    Sheet 2 contains a table with the following columns;
    Column A : This column contains a list of the unique IDs appearing in Sheet 1, Column A, BUT it can contain multiple instances of this ID (ie; the site can appear

    multiple times).
    Column B : This column contains a month value (the date in which the site was attended) Note that a site can have been attended in more than one month, hence the

    site appearing multiple times in sheet 2.
    Column T to X : These columns are columns that relate to specific tasks carried out at the site. So column T could be headed 'gardening'. The values in these columns are yes or no values.


    So here is my conundrum;

    I need to put a formula in Sheet 1, Column B to Column F (which correlate to the Sheet 2, Column T to X headings) where the result is;

    The last month that a task was (yes, not no) carried out at a site.
    So if the site appears in Sheet 2, Column A 7 times, I want the last month (Column B) where it was a 'yes' value in the relevant task columns.

    Hope this makes sense.

    Sample Structure - Capture.JPG
    Note this is cross-posted; http://www.mrexcel.com/forum/excel-q...ml#post3828209

    So, if I want to find out the last month that I last did gardening at Site 2. The formula in Sheet 1, Column B would return [Feb-14].

    I've been messing about with INDEX, MATCH and MAX but to be honest I'm getting my knickers in a twist

    Many thanks,
    Glynn
    Last edited by glynnseal; 06-04-2014 at 08:51 AM. Reason: My title was lawless.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Please help to stop my brain from hurting... :P

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Please help to stop my brain from hurting... :P

    Welcome to the forum btw
    Last edited by Kyle123; 06-04-2014 at 07:41 AM.

  4. #4
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Re: Please help to stop my brain from hurting... :P

    Thanks, edited. Sorry for being a noob

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with INDEX, MATCH and MAX formula - or alternative solution

    And you get probably more help with your question if you add an excel file, without confidential information.

    Please also add the desired result.

    Mostly an excel file speaks more for themselves than 1.000 words.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Re: Help with INDEX, MATCH and MAX formula - or alternative solution

    This is now solved in the cross-post.

+ 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. Brain Freeze or old age
    By bscs in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-15-2014, 11:17 PM
  2. best Formula to caculate a wage threshold
    By agalinauskas in forum Excel General
    Replies: 1
    Last Post: 07-05-2012, 03:19 PM
  3. my brain is stuck
    By samsebastian in forum Excel General
    Replies: 1
    Last Post: 03-27-2008, 09:26 AM
  4. Brain Dead: Need help with ????
    By WarrenC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2006, 03:15 AM
  5. [SOLVED] Is this Possible? A bit of a brain teaser if you ask me.
    By Levi in forum Excel General
    Replies: 11
    Last Post: 05-02-2006, 05:40 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