Excel Table: matching an user name to an user key











up vote
0
down vote

favorite












In my Excel File, I have a list of user names and each and one of them have their unique user key.



On one sheet, I have all the user names and keys in 2 different columns as follows:



Column B      Column C
User Key1 User Name1
User Key2 User Name2


On another sheet, I have certain information that has been performed by an user. But instead of having the user name, I actually have the user key.



I would like to have the user name under the action and not the user key. Is there a formula or a trick so that I can perform this ?



I am using Microsoft Excel 2013. enter image description here][1










share|improve this question









New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • VLOOKUP function can help you: support.office.com/en-us/article/…
    – Lee
    Nov 22 at 9:00















up vote
0
down vote

favorite












In my Excel File, I have a list of user names and each and one of them have their unique user key.



On one sheet, I have all the user names and keys in 2 different columns as follows:



Column B      Column C
User Key1 User Name1
User Key2 User Name2


On another sheet, I have certain information that has been performed by an user. But instead of having the user name, I actually have the user key.



I would like to have the user name under the action and not the user key. Is there a formula or a trick so that I can perform this ?



I am using Microsoft Excel 2013. enter image description here][1










share|improve this question









New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • VLOOKUP function can help you: support.office.com/en-us/article/…
    – Lee
    Nov 22 at 9:00













up vote
0
down vote

favorite









up vote
0
down vote

favorite











In my Excel File, I have a list of user names and each and one of them have their unique user key.



On one sheet, I have all the user names and keys in 2 different columns as follows:



Column B      Column C
User Key1 User Name1
User Key2 User Name2


On another sheet, I have certain information that has been performed by an user. But instead of having the user name, I actually have the user key.



I would like to have the user name under the action and not the user key. Is there a formula or a trick so that I can perform this ?



I am using Microsoft Excel 2013. enter image description here][1










share|improve this question









New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











In my Excel File, I have a list of user names and each and one of them have their unique user key.



On one sheet, I have all the user names and keys in 2 different columns as follows:



Column B      Column C
User Key1 User Name1
User Key2 User Name2


On another sheet, I have certain information that has been performed by an user. But instead of having the user name, I actually have the user key.



I would like to have the user name under the action and not the user key. Is there a formula or a trick so that I can perform this ?



I am using Microsoft Excel 2013. enter image description here][1







microsoft-excel microsoft






share|improve this question









New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 21 at 10:22









jcbermu

15.5k24354




15.5k24354






New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 21 at 10:04









Iuliana Burgi

1




1




New contributor




Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Iuliana Burgi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • VLOOKUP function can help you: support.office.com/en-us/article/…
    – Lee
    Nov 22 at 9:00


















  • VLOOKUP function can help you: support.office.com/en-us/article/…
    – Lee
    Nov 22 at 9:00
















VLOOKUP function can help you: support.office.com/en-us/article/…
– Lee
Nov 22 at 9:00




VLOOKUP function can help you: support.office.com/en-us/article/…
– Lee
Nov 22 at 9:00










1 Answer
1






active

oldest

votes

















up vote
0
down vote













In the first sheet you have to sort by key (by column B) and then in the other sheet you can apply a Vlookup formula like this:



=VLOOKUP (value, table, col_index, [range_lookup])


value = a reference to the key for example: =C2



table = the sheet of keys 'Sheet1'(B1:C100)



col_index= The column where is the data you want, in this case is 2
range_lookup = Put it to FALSE



More information about vlookup here






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
    });


    }
    });






    Iuliana Burgi is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377231%2fexcel-table-matching-an-user-name-to-an-user-key%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













    In the first sheet you have to sort by key (by column B) and then in the other sheet you can apply a Vlookup formula like this:



    =VLOOKUP (value, table, col_index, [range_lookup])


    value = a reference to the key for example: =C2



    table = the sheet of keys 'Sheet1'(B1:C100)



    col_index= The column where is the data you want, in this case is 2
    range_lookup = Put it to FALSE



    More information about vlookup here






    share|improve this answer

























      up vote
      0
      down vote













      In the first sheet you have to sort by key (by column B) and then in the other sheet you can apply a Vlookup formula like this:



      =VLOOKUP (value, table, col_index, [range_lookup])


      value = a reference to the key for example: =C2



      table = the sheet of keys 'Sheet1'(B1:C100)



      col_index= The column where is the data you want, in this case is 2
      range_lookup = Put it to FALSE



      More information about vlookup here






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        In the first sheet you have to sort by key (by column B) and then in the other sheet you can apply a Vlookup formula like this:



        =VLOOKUP (value, table, col_index, [range_lookup])


        value = a reference to the key for example: =C2



        table = the sheet of keys 'Sheet1'(B1:C100)



        col_index= The column where is the data you want, in this case is 2
        range_lookup = Put it to FALSE



        More information about vlookup here






        share|improve this answer












        In the first sheet you have to sort by key (by column B) and then in the other sheet you can apply a Vlookup formula like this:



        =VLOOKUP (value, table, col_index, [range_lookup])


        value = a reference to the key for example: =C2



        table = the sheet of keys 'Sheet1'(B1:C100)



        col_index= The column where is the data you want, in this case is 2
        range_lookup = Put it to FALSE



        More information about vlookup here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 21 at 10:27









        jcbermu

        15.5k24354




        15.5k24354






















            Iuliana Burgi is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Iuliana Burgi is a new contributor. Be nice, and check out our Code of Conduct.













            Iuliana Burgi is a new contributor. Be nice, and check out our Code of Conduct.












            Iuliana Burgi is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377231%2fexcel-table-matching-an-user-name-to-an-user-key%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

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix