+ Reply to Thread
Results 1 to 23 of 23

AC Equipment Selector using Index and Match

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    AC Equipment Selector using Index and Match

    New to thread and looking for help.

    I have a list of equipment and want to select from three criteria to obtain the result; indoor1, Type and Power (all drop down)
    I have used index and match to get results in various cells but can't get a correct result for Outdoor and Indoor2, Indoor3, and Indoor4 (all coloured red).

    Spreadsheet attached.

    Will be grateful for any assistance.

    Thanks
    Vince
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    Anyone got any suggestions?

  3. #3
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    Really need help with this one been trying to solve it all day

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: AC Equipment Selector using Index and Match

    You should post a workbook with explanations of what you are trying to accomplish: what you want (and why) vs what the formula is actually giving. I'm not sure it will be possible, given all those duplicate values in each column.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Index and Match with duplicate values in one column

    protonLeah thanks for your reply.

    I have placed an explanation in the spreadsheet of what I am trying to achieve below the criteria. Hope this throws some light on the problem.

    Again thanks for your response.

    Vince
    Attached Files Attached Files
    Last edited by v.rodgers; 04-20-2014 at 05:19 AM.

  6. #6
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Index and Match with duplicate values in one column

    Re-post with updated description.

    Can anyone solve this problem?

  7. #7
    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,392

    Re: Index and Match with duplicate values in one column

    Quote Originally Posted by v.rodgers View Post
    Re-post with updated description.

    Can anyone solve this problem?
    My first comment would be that the lookup value in Q5 does not appear to exist anywhere in the lookup array.

    EDIT: Forget that! I had not seen columns A-C ...
    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.

  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,392

    Re: AC Equipment Selector using Index and Match

    OK - I'll try again!

    The combination you are looking for (SDI Triple and 1) does not appear to exist in the lookup table.

    Changing SDI to DI in the lookup value cell resolves that part of the problem.

  9. #9
    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,392

    Re: Index and Match with duplicate values in one column

    Please clarify:

    Should this: "and cells S6 and S7 should show results from cells E13 and E14 respectively"

    really be: "and cells S6 and S7 should show results from cells E13 and F13 respectively"?

    Because Indoor 3 is column F, not E ...

    In S6, you need:

    =INDEX(E2:E17,MATCH($Q5,$B$2:$B$17,MATCH($R5,$H$2:$H$17,MATCH($S2,$D$2:$D$17,0))))

    and, if I am right, in S7:

    =INDEX(F2:F17,MATCH($Q5,$B$2:$B$17,MATCH($R5,$H$2:$H$17,MATCH($S2,$D$2:$D$17,0))))
    Last edited by AliGW; 04-20-2014 at 05:41 AM.

  10. #10
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: AC Equipment Selector using Index and Match

    There are only two rows for the type SDI Triple and none of them have power 1. Moreover if you take criteria in S2 only into consideration then there are 8 rows for SM566BT-E out of which you are interested only in SM1603AT-E (I13), why?
    So either you are not applying all the criteria to extract the record or different criteria for different cells. You need to clarify this a bit more.

    You are having multiple values meeting the criteria set for Type, Power and Indoor/Outdoor. So I think you need an Array Formula to get the desired values. Since these are Array Formulas so you need to confirm them with Ctrl + Shift + Enter instead of just Enter. (i.e. hold down the Ctrl + Shift and then press Enter)

    In S4, try this......
    Please Login or Register  to view this content.
    In S6, try this......
    Please Login or Register  to view this content.
    and then drag right (say upto U8) and down to S8.

    Is this what you are trying to achieve?

    For detail see the attached sheet.
    Attached Files Attached Files
    Last edited by sktneer; 04-20-2014 at 06:50 AM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  11. #11
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Index and Match with duplicate values in one column

    Thanks AliGW.

    I made a mistake in my text desription it should have read "DI Triple" not "SDI Triple"

    The Power column refers to either 1-phase or 3-phase electricity supply. When an "Indoor1" is selected together with "Type" and "Power" the result should be the "Outdoor" and its row content for the other values in columns Q to T.

    So if Indoor1 "SM566BT-E" + Type "SDI Triple" + Power "1" are slected then the result for Outdoor would be empty (" ") because a 1-phase solution is not available. Likewise if the same criteria was selected but this time Power is set to "3" the Outdoor would be SP1604AT8-E.

    Does this help to better explain the required solution.

    The suggested formula do work for the required cells S6 and S7 and cell S8 would be filled for "DI Quad" Type.

    Thanks
    Vince

  12. #12
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    Thanks sktneer

    Please see my reply to AliGW

    Kind regards
    Vince

  13. #13
    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,392

    Re: AC Equipment Selector using Index and Match

    So, is there anything left to help with? What is still not working as you'd anticipate (which bits of the worksheet)?

  14. #14
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    AliGW I have used your formula above for cells S6 and S7.

    Please see attached spreadsheet. I have highlighted the criteria and cells "Yellow".

    Thanks
    Vince
    Attached Files Attached Files

  15. #15
    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,392

    Re: AC Equipment Selector using Index and Match

    You are still confusing me: you have highlighted in yellow SDI Twin on the last row of the table, but in your explanation box you mention DI Twin. There is no DI Twin and 3 combination in the lookup table. Please clarify.

  16. #16
    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,392

    Re: AC Equipment Selector using Index and Match

    If I change R5 to SDI Twin, then row 9 of the sheet is referred to: it has the same combination of lookup criteria as row 17, and as it is first in the array, its results are returned. I think there may be mistakes in the lookup table. Please scrutinise it very carefully for errors before asking for any more help, otherwise we'll end up going round in circles.

  17. #17
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    Quote Originally Posted by AliGW View Post
    You are still confusing me: you have highlighted in yellow SDI Twin on the last row of the table, but in your explanation box you mention DI Twin. There is no DI Twin and 3 combination in the lookup table. Please clarify.
    Sorry AliGW...it should have stated SDI Twin in the explanation box. Thats what happens when you rush!

    I have attached the spreadsheet again with an update that I hope makes it more understandable. Row 17 "Yellow" and Row 16 "Green".

    Thanks
    Vince
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: AC Equipment Selector using Index and Match

    Previous answers and discussions are blurring things a bit. Still, it is my impression that you just want an ordinary, multicondition lookup formula. In cases like these I just use one array formula to find the row no and then a simple INDEX using that no to retriev the rest of the data. Am I missing something? I also made a dynamic named range for one of the datavalidation lists and a unique item formula. Not sure if that is relevant but that's how I would do it.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  19. #19
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: AC Equipment Selector using Index and Match

    Try these array formulas. (all of them require Ctrl+Shfit+Enter)

    In S4

    Please Login or Register  to view this content.

    In S6

    Please Login or Register  to view this content.

    In S7

    Please Login or Register  to view this content.

    Is this what you want?

  20. #20
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: AC Equipment Selector using Index and Match

    Please check the file, hope it works.....

    Cheers
    Attached Files Attached Files

  21. #21
    Registered User
    Join Date
    04-15-2014
    Location
    Barnsley, England
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: AC Equipment Selector using Index and Match

    Jacc
    I really like your solution it’s great.

    azumi
    Thank you it works perfectly.

    Sktneer and AliGW
    Thank you both for inputting your contributions without which I sure I would still be struggling to find a solution.

    And finally A big thank you to all you and the forum. It works!

  22. #22
    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,392

    Re: AC Equipment Selector using Index and Match

    You're welcome!

  23. #23
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: AC Equipment Selector using Index and Match


    ---------

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. [SOLVED] Index Match from a cell populated from index match
    By MarcLewis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-15-2013, 05:30 AM
  3. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  4. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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