+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 26 of 26

Thread: Can I get MultiLookup with Multiple Unique Values

  1. #16
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,220

    Re: Can I get MultiLookup with Multiple Unique Values

    Can you upload example?
    "Relax. What is mind? No matter. What is matter? Never mind!"

  2. #17
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    Dear Zbor,

    I have Upl-loaded an Example to explain the exact requirement..

    I need three Drop-Downs out of which one is already taken care of with your code and solution even in the Un-Arranged Data which is great and now the other Drop-Downs are to get the Unique Alphabets for the Selected City even if the Data is Un-Arranged if possible and then further geting the Towns List for that particular selected Alphabet and the Selected City...

    Thanks in advance.

    Warm Regards
    e4excel
    Attached Files Attached Files

  3. #18
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Bump NO Response

    Please can someone help me on this!

  4. #19
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    Sorry Guys,

    I was making a mistake in ignoring the Sr.NO and therefore I was getting an error the moment I realized the entire thing just un-puzzled itself..

    Inconvenience caused is deeply regretted..

    Thanks a lot for the Help again Zbor and not to forget DonkeyOtes help which actually helped me twice..

    Warm Regards
    e4excel

  5. #20
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    Now that I have been able to get this done a new problem seems to surface which is rendering the program very slow..

    After I got the Unique Alphabets for the City In the next Drop-down I needed to get the Subsequent Towns selected for any city for a particular Alphabet..

    I used the INDIRECT() with a StartRng and EndRng it works well but it takes hell of a time to update the Drop-Down for Town after every change..

    THe Formula used for the TOWN DROP-DOWN..

    =INDIRECT("'PinCodes'!$D"&StrtRng&":$D"&StrtRng+EndRng-1)
    where the StrtRng is
    =MATCH('Booking Details'!$X3&"-"&'Booking Details'!$Y3,PinCodes!$B:$B&"-"&PinCodes!$C:$C,0)
    where the EndRng is

    =SUMPRODUCT((PinCodes!$B:$B='Booking Details'!$X3)*(PinCodes!$C:$C='Booking Details'!$Y3))
    This works but very slowly so please suggest iftheres a better way of getting the same result for the Alphabetic Towns for any city..

    Warm Regards
    e4excel

  6. #21
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,220

    Re: Can I get MultiLookup with Multiple Unique Values

    Yes, it will be slow. Both, INDIRECT and SUMPRODUCT are slow... You can try to minimize range so instead of whole A:A use minimum range as A2:A587
    "Relax. What is mind? No matter. What is matter? Never mind!"

  7. #22
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    Ok Zbor,

    I shall do that I will use the last entry in the Column of the Pincodes Sheet + 1 to good effect in that case to get the exact range, however is there a better way of doing this rather than my approach..

    As these ranges are so much in midde i thought of this method but if there is any other method then please advise as well and there was just one more thing I wanted to know is that in my Pincodes Sheet all my Lists are Sequentially Arranged but if I were to add it Randomly then what will be the Approach to get the same lIst?

    Thanks in advance and also for the help provided..

    Regards
    e4excel

  8. #23
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    =SUMPRODUCT((PinCodes!$B:$B='Booking Details'!$X3)*(PinCodes!$C:$C='Booking Details'!$Y3))
    How do I change this I tried to add the Indirect function with a Limited Range but I am getting an error?

    =SUMPRODUCT((INDIRECT("'PinCodes!$B$2:$B$"&TotalTowns)='Booking Details'!$X3)*(INDIRECT("'PinCodes!$C$2:$C$"&TotalTowns)='Booking Details'!$Y3))
    TotalTowns = Counta(PinCodes!$A:$A)
    Need help still..

  9. #24
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,220

    Re: Can I get MultiLookup with Multiple Unique Values

    I think at this point you should open new thread, focus on important part you need to solve and you can provide link to this post. Because it's too long and marked as Solved... So probably only I saw it and I'm confused with it...

    Don't forget to put proper title and provide upload workbook...
    "Relax. What is mind? No matter. What is matter? Never mind!"

  10. #25
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    No Issues as You Say Zbor..

    Will Start a New THREAD then..

    Thanks for the assistance..Zbor..I did use the Unique Cities list with your help..

    Warm regards
    e4excel

  11. #26
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1,697

    Re: Can I get MultiLookup with Multiple Unique Values

    Just felt like adding something very valuable to this Query..!

    https://sites.google.com/a/madrocket...te-single-list

    This is by the Forum Guru Jerry Beaucaire's - Excel Assistant

+ 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.2.0