Excel view data in 1 worksheet based on value in another worksheet











up vote
1
down vote

favorite












Morning



My first post, so here goes!



I have an excel spreadsheet with 2 worksheets
worksheet 1 contains common locations for waste collection areas for blocks of flats.
Worksheet 2 contains the actual properties that use those common locations.



There are 115 locations in worksheet 1 and 1300 in worksheet 2.



Each worksheet has a common ID column.



I'm trying to set worksheet 1 up so that when i click on the ID column, Worksheet 2 only shows the properties that use that location.



I've tried using the HYPERLINK function to open the second worksheet but it displays all the records.



Can anyone help with solving this problem?



edit: Thursday morning
thanks for the responses so far, hopefully you can see the images i'e linked to at the bottom



The common column in the spreadsheets is UPRN in Areas and Cross_reference in Properties



My eventual result would be to be able to click on the UPRN field (in Areas) which would then display all the records in Properties with that same cross_reference.


Using the first record in Areas (28059497) as an example, that would show 12 records in Properties



thanks



Simon Hume



Areas spreadsheet image



Properties spreadsheet image










share|improve this question
























  • Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
    – Aulis Ronkainen
    Nov 21 at 13:30










  • Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
    – Rey Juna
    Nov 21 at 17:11










  • Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
    – Lee
    Nov 22 at 8:57










  • @Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
    – Rajesh S
    Nov 22 at 11:55










  • @Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
    – Simon Hume
    Nov 23 at 10:02















up vote
1
down vote

favorite












Morning



My first post, so here goes!



I have an excel spreadsheet with 2 worksheets
worksheet 1 contains common locations for waste collection areas for blocks of flats.
Worksheet 2 contains the actual properties that use those common locations.



There are 115 locations in worksheet 1 and 1300 in worksheet 2.



Each worksheet has a common ID column.



I'm trying to set worksheet 1 up so that when i click on the ID column, Worksheet 2 only shows the properties that use that location.



I've tried using the HYPERLINK function to open the second worksheet but it displays all the records.



Can anyone help with solving this problem?



edit: Thursday morning
thanks for the responses so far, hopefully you can see the images i'e linked to at the bottom



The common column in the spreadsheets is UPRN in Areas and Cross_reference in Properties



My eventual result would be to be able to click on the UPRN field (in Areas) which would then display all the records in Properties with that same cross_reference.


Using the first record in Areas (28059497) as an example, that would show 12 records in Properties



thanks



Simon Hume



Areas spreadsheet image



Properties spreadsheet image










share|improve this question
























  • Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
    – Aulis Ronkainen
    Nov 21 at 13:30










  • Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
    – Rey Juna
    Nov 21 at 17:11










  • Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
    – Lee
    Nov 22 at 8:57










  • @Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
    – Rajesh S
    Nov 22 at 11:55










  • @Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
    – Simon Hume
    Nov 23 at 10:02













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Morning



My first post, so here goes!



I have an excel spreadsheet with 2 worksheets
worksheet 1 contains common locations for waste collection areas for blocks of flats.
Worksheet 2 contains the actual properties that use those common locations.



There are 115 locations in worksheet 1 and 1300 in worksheet 2.



Each worksheet has a common ID column.



I'm trying to set worksheet 1 up so that when i click on the ID column, Worksheet 2 only shows the properties that use that location.



I've tried using the HYPERLINK function to open the second worksheet but it displays all the records.



Can anyone help with solving this problem?



edit: Thursday morning
thanks for the responses so far, hopefully you can see the images i'e linked to at the bottom



The common column in the spreadsheets is UPRN in Areas and Cross_reference in Properties



My eventual result would be to be able to click on the UPRN field (in Areas) which would then display all the records in Properties with that same cross_reference.


Using the first record in Areas (28059497) as an example, that would show 12 records in Properties



thanks



Simon Hume



Areas spreadsheet image



Properties spreadsheet image










share|improve this question















Morning



My first post, so here goes!



I have an excel spreadsheet with 2 worksheets
worksheet 1 contains common locations for waste collection areas for blocks of flats.
Worksheet 2 contains the actual properties that use those common locations.



There are 115 locations in worksheet 1 and 1300 in worksheet 2.



Each worksheet has a common ID column.



I'm trying to set worksheet 1 up so that when i click on the ID column, Worksheet 2 only shows the properties that use that location.



I've tried using the HYPERLINK function to open the second worksheet but it displays all the records.



Can anyone help with solving this problem?



edit: Thursday morning
thanks for the responses so far, hopefully you can see the images i'e linked to at the bottom



The common column in the spreadsheets is UPRN in Areas and Cross_reference in Properties



My eventual result would be to be able to click on the UPRN field (in Areas) which would then display all the records in Properties with that same cross_reference.


Using the first record in Areas (28059497) as an example, that would show 12 records in Properties



thanks



Simon Hume



Areas spreadsheet image



Properties spreadsheet image







microsoft-excel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 8:32

























asked Nov 21 at 10:56









Simon Hume

62




62












  • Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
    – Aulis Ronkainen
    Nov 21 at 13:30










  • Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
    – Rey Juna
    Nov 21 at 17:11










  • Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
    – Lee
    Nov 22 at 8:57










  • @Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
    – Rajesh S
    Nov 22 at 11:55










  • @Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
    – Simon Hume
    Nov 23 at 10:02


















  • Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
    – Aulis Ronkainen
    Nov 21 at 13:30










  • Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
    – Rey Juna
    Nov 21 at 17:11










  • Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
    – Lee
    Nov 22 at 8:57










  • @Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
    – Rajesh S
    Nov 22 at 11:55










  • @Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
    – Simon Hume
    Nov 23 at 10:02
















Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
– Aulis Ronkainen
Nov 21 at 13:30




Welcome to Super User! Can you please edit your question to include screenshots of your problem so it would be easier to understand? Thank you!
– Aulis Ronkainen
Nov 21 at 13:30












Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
– Rey Juna
Nov 21 at 17:11




Hard to tell without more information, but it sounds like a Pivot Table solution could work for you.
– Rey Juna
Nov 21 at 17:11












Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
– Lee
Nov 22 at 8:57




Do you mean you want to Worksheet2 filter automatically based on Worksheet 1? Is my understanding correct?
– Lee
Nov 22 at 8:57












@Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
– Rajesh S
Nov 22 at 11:55




@Simon Hume, I can suggest two possible methods to Find related properties when you Click/Select the Common Id (UPRN). One is VBA(Macro) another is Excel Formula. Just confirm through comments which one you need !!
– Rajesh S
Nov 22 at 11:55












@Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
– Simon Hume
Nov 23 at 10:02




@Lee - yes, when the user selects the UPRN in Areas, it filters out the records in Properties
– Simon Hume
Nov 23 at 10:02










1 Answer
1






active

oldest

votes

















up vote
0
down vote













enter image description here



Write this Array Formula in Cell E21 of Sheet1, finish with Ctrl+Shift+Enter then fill right & Down.



{=IFERROR(INDEX(Sheet2!$E$10:$I$17, SMALL(IF(COUNTIF($D$21, Sheet2!$D$10:$D$17), ROW(Sheet2!$E$10:$I$17)-MIN(ROW(Sheet2!$E$10:$I$17))+1), ROW(A1)), COLUMN(A1)),""))}


How it works:




  • Write the UPRN in Cell D21. You may create a Drop Down also for faster process.

  • Change UPRN or select from Drop Down(if Created) for other match from Sheet2.

  • As soon you write/change the UPRN Excel will extract multiple match from Sheet2 for UPRN in Cell D21 (for example 28059497).


Note:




  • This Formula will work properly if in Sheet 2 it finds similar UPRN.


  • Remember in attached Screen Shots with the Question by you I've not found duplicate UPRNs in Properties Sheet.



Adjust cell references in the Formula as needed.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377245%2fexcel-view-data-in-1-worksheet-based-on-value-in-another-worksheet%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    enter image description here



    Write this Array Formula in Cell E21 of Sheet1, finish with Ctrl+Shift+Enter then fill right & Down.



    {=IFERROR(INDEX(Sheet2!$E$10:$I$17, SMALL(IF(COUNTIF($D$21, Sheet2!$D$10:$D$17), ROW(Sheet2!$E$10:$I$17)-MIN(ROW(Sheet2!$E$10:$I$17))+1), ROW(A1)), COLUMN(A1)),""))}


    How it works:




    • Write the UPRN in Cell D21. You may create a Drop Down also for faster process.

    • Change UPRN or select from Drop Down(if Created) for other match from Sheet2.

    • As soon you write/change the UPRN Excel will extract multiple match from Sheet2 for UPRN in Cell D21 (for example 28059497).


    Note:




    • This Formula will work properly if in Sheet 2 it finds similar UPRN.


    • Remember in attached Screen Shots with the Question by you I've not found duplicate UPRNs in Properties Sheet.



    Adjust cell references in the Formula as needed.






    share|improve this answer

























      up vote
      0
      down vote













      enter image description here



      Write this Array Formula in Cell E21 of Sheet1, finish with Ctrl+Shift+Enter then fill right & Down.



      {=IFERROR(INDEX(Sheet2!$E$10:$I$17, SMALL(IF(COUNTIF($D$21, Sheet2!$D$10:$D$17), ROW(Sheet2!$E$10:$I$17)-MIN(ROW(Sheet2!$E$10:$I$17))+1), ROW(A1)), COLUMN(A1)),""))}


      How it works:




      • Write the UPRN in Cell D21. You may create a Drop Down also for faster process.

      • Change UPRN or select from Drop Down(if Created) for other match from Sheet2.

      • As soon you write/change the UPRN Excel will extract multiple match from Sheet2 for UPRN in Cell D21 (for example 28059497).


      Note:




      • This Formula will work properly if in Sheet 2 it finds similar UPRN.


      • Remember in attached Screen Shots with the Question by you I've not found duplicate UPRNs in Properties Sheet.



      Adjust cell references in the Formula as needed.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        enter image description here



        Write this Array Formula in Cell E21 of Sheet1, finish with Ctrl+Shift+Enter then fill right & Down.



        {=IFERROR(INDEX(Sheet2!$E$10:$I$17, SMALL(IF(COUNTIF($D$21, Sheet2!$D$10:$D$17), ROW(Sheet2!$E$10:$I$17)-MIN(ROW(Sheet2!$E$10:$I$17))+1), ROW(A1)), COLUMN(A1)),""))}


        How it works:




        • Write the UPRN in Cell D21. You may create a Drop Down also for faster process.

        • Change UPRN or select from Drop Down(if Created) for other match from Sheet2.

        • As soon you write/change the UPRN Excel will extract multiple match from Sheet2 for UPRN in Cell D21 (for example 28059497).


        Note:




        • This Formula will work properly if in Sheet 2 it finds similar UPRN.


        • Remember in attached Screen Shots with the Question by you I've not found duplicate UPRNs in Properties Sheet.



        Adjust cell references in the Formula as needed.






        share|improve this answer












        enter image description here



        Write this Array Formula in Cell E21 of Sheet1, finish with Ctrl+Shift+Enter then fill right & Down.



        {=IFERROR(INDEX(Sheet2!$E$10:$I$17, SMALL(IF(COUNTIF($D$21, Sheet2!$D$10:$D$17), ROW(Sheet2!$E$10:$I$17)-MIN(ROW(Sheet2!$E$10:$I$17))+1), ROW(A1)), COLUMN(A1)),""))}


        How it works:




        • Write the UPRN in Cell D21. You may create a Drop Down also for faster process.

        • Change UPRN or select from Drop Down(if Created) for other match from Sheet2.

        • As soon you write/change the UPRN Excel will extract multiple match from Sheet2 for UPRN in Cell D21 (for example 28059497).


        Note:




        • This Formula will work properly if in Sheet 2 it finds similar UPRN.


        • Remember in attached Screen Shots with the Question by you I've not found duplicate UPRNs in Properties Sheet.



        Adjust cell references in the Formula as needed.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 24 at 8:05









        Rajesh S

        3,5011422




        3,5011422






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377245%2fexcel-view-data-in-1-worksheet-based-on-value-in-another-worksheet%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            AnyDesk - Fatal Program Failure

            How to calibrate 16:9 built-in touch-screen to a 4:3 resolution?

            QoS: MAC-Priority for clients behind a repeater