+ Reply to Thread
Results 1 to 11 of 11

Formula for matching conditions

  1. #1
    Registered User
    Join Date
    02-05-2016
    Location
    Qatar
    MS-Off Ver
    2010
    Posts
    4

    Formula for matching conditions

    Hi,

    See the attached file.

    I need a help to find out the formula for Matching two conditions, and showing the result.



    Thanks
    Justin
    Attached Files Attached Files
    Last edited by justinjerome; 12-19-2016 at 03:50 PM. Reason: Change Headding

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help

    Please take a few minutes to re-read the Forum Rules about thread titles, and then amend yours accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula for matching conditions

    Thank you, Justin.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula for matching conditions

    B
    C
    D
    E
    4
    Emp#
    Days worked
    Project Name
    5
    19
    1
    LOC D5: {=INDEX(DATA!$F$2:$F$5, MATCH(1, (DATA!$B$2:$B$5=B5) * (DATA!$E$2:$E$5=C5), 0))}


    The formula MUST be confirmed with Ctrl+Shift+Enter instead of just Enter.

    It's not a very robust approach, though -- surely there could be duplicates, and this would only find the first match.

  5. #5
    Registered User
    Join Date
    02-05-2016
    Location
    Qatar
    MS-Off Ver
    2010
    Posts
    4

    Re: Formula for matching conditions

    Thank you very much for your immediate support.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula for matching conditions

    You're welcome.

  7. #7
    Registered User
    Join Date
    12-30-2016
    Location
    Edinburgh, UK
    MS-Off Ver
    2013
    Posts
    29

    Re: Formula for matching conditions

    Morning everyone,

    I have a bit more complicated spreadsheet, or at least trying to create.

    It would also have to show results that matched 3 conditions but from different sheets depending on choice from drop down menu.

    And now I want to show results using drop down menu for electricity and cost for year 2014-15 in cells E3 to P4 in sheet HOME if that makes any sense
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Formula for matching conditions

    Welcome to the forum!

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

    NOTE: no help to be offered to Scavenger102 in this thread, please. Thanks!
    Last edited by AliGW; 12-30-2016 at 05:28 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Registered User
    Join Date
    12-30-2016
    Location
    Edinburgh, UK
    MS-Off Ver
    2013
    Posts
    29

    Re: Formula for matching conditions

    Sorry, I will start a new one

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Formula for matching conditions

    Thanks.

  11. #11
    Registered User
    Join Date
    12-19-2016
    Location
    Rawalpindi, Pakistan
    MS-Off Ver
    MS Office 2016.
    Posts
    18

    Re: Formula for matching conditions

    Use the INDEX MATCH formula to get your result.
    {=INDEX(range, MATCH(lookup_value_1&lookup_value_2&..., lookup_range_1&lookup_range_2&..., match_type))}

    You can get more information from this link: https://www.deskbright.com/excel/using-index-match/

+ 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