Updating Price List in Excel with vlookup or Index/Match











up vote
0
down vote

favorite












I'm a book wholesaler and need to update my price and stock list constantly to share with some customers in excel format; also to use in importing to websites.



Screenshot of excel



As in the image above, what I need is a formula for Column D to search for SKU in C2 in A-column for an exact match; return the value from B to the corresponding cell in D column.



I have searched countless topics, even found a solution in previous weeks but every time I use the same formula I get N/A or REF error.



TIA










share|improve this question









New contributor




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
























    up vote
    0
    down vote

    favorite












    I'm a book wholesaler and need to update my price and stock list constantly to share with some customers in excel format; also to use in importing to websites.



    Screenshot of excel



    As in the image above, what I need is a formula for Column D to search for SKU in C2 in A-column for an exact match; return the value from B to the corresponding cell in D column.



    I have searched countless topics, even found a solution in previous weeks but every time I use the same formula I get N/A or REF error.



    TIA










    share|improve this question









    New contributor




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






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm a book wholesaler and need to update my price and stock list constantly to share with some customers in excel format; also to use in importing to websites.



      Screenshot of excel



      As in the image above, what I need is a formula for Column D to search for SKU in C2 in A-column for an exact match; return the value from B to the corresponding cell in D column.



      I have searched countless topics, even found a solution in previous weeks but every time I use the same formula I get N/A or REF error.



      TIA










      share|improve this question









      New contributor




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











      I'm a book wholesaler and need to update my price and stock list constantly to share with some customers in excel format; also to use in importing to websites.



      Screenshot of excel



      As in the image above, what I need is a formula for Column D to search for SKU in C2 in A-column for an exact match; return the value from B to the corresponding cell in D column.



      I have searched countless topics, even found a solution in previous weeks but every time I use the same formula I get N/A or REF error.



      TIA







      excel excel-2010






      share|improve this question









      New contributor




      Gehun 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




      Gehun 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 2 days ago









      Tobias Wilfert

      2701417




      2701417






      New contributor




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









      asked 2 days ago









      Gehun

      81




      81




      New contributor




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





      New contributor





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






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
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Welcome to SO. Yor formula is good, but you are mixing numbers with text. In column A, the codes you are listing are stored as TEXT (note that they are left aligned inside cell), but the values you have in column C are stored as NUMBERS (note that they are right aligned insided cell). So Excel is looking for that NUMBER, but it finds no NUMBER in column A that matches, and returns N/A.



          So before searching, let's convert the number in column C to a text, and let's see what happens. Try something like this:



          =VLOOKUP(TEXT(C2;"@");$A$2:$B$2349;2;FALSE)



          Hope you can adapt this to your needs.






          share|improve this answer





















          • Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
            – Gehun
            2 days ago












          • Glad to hear it worked :)
            – Foxfire And Burns And Burns
            2 days ago











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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
          });


          }
          });






          Gehun 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%2fstackoverflow.com%2fquestions%2f53373590%2fupdating-price-list-in-excel-with-vlookup-or-index-match%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



          accepted










          Welcome to SO. Yor formula is good, but you are mixing numbers with text. In column A, the codes you are listing are stored as TEXT (note that they are left aligned inside cell), but the values you have in column C are stored as NUMBERS (note that they are right aligned insided cell). So Excel is looking for that NUMBER, but it finds no NUMBER in column A that matches, and returns N/A.



          So before searching, let's convert the number in column C to a text, and let's see what happens. Try something like this:



          =VLOOKUP(TEXT(C2;"@");$A$2:$B$2349;2;FALSE)



          Hope you can adapt this to your needs.






          share|improve this answer





















          • Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
            – Gehun
            2 days ago












          • Glad to hear it worked :)
            – Foxfire And Burns And Burns
            2 days ago















          up vote
          0
          down vote



          accepted










          Welcome to SO. Yor formula is good, but you are mixing numbers with text. In column A, the codes you are listing are stored as TEXT (note that they are left aligned inside cell), but the values you have in column C are stored as NUMBERS (note that they are right aligned insided cell). So Excel is looking for that NUMBER, but it finds no NUMBER in column A that matches, and returns N/A.



          So before searching, let's convert the number in column C to a text, and let's see what happens. Try something like this:



          =VLOOKUP(TEXT(C2;"@");$A$2:$B$2349;2;FALSE)



          Hope you can adapt this to your needs.






          share|improve this answer





















          • Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
            – Gehun
            2 days ago












          • Glad to hear it worked :)
            – Foxfire And Burns And Burns
            2 days ago













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Welcome to SO. Yor formula is good, but you are mixing numbers with text. In column A, the codes you are listing are stored as TEXT (note that they are left aligned inside cell), but the values you have in column C are stored as NUMBERS (note that they are right aligned insided cell). So Excel is looking for that NUMBER, but it finds no NUMBER in column A that matches, and returns N/A.



          So before searching, let's convert the number in column C to a text, and let's see what happens. Try something like this:



          =VLOOKUP(TEXT(C2;"@");$A$2:$B$2349;2;FALSE)



          Hope you can adapt this to your needs.






          share|improve this answer












          Welcome to SO. Yor formula is good, but you are mixing numbers with text. In column A, the codes you are listing are stored as TEXT (note that they are left aligned inside cell), but the values you have in column C are stored as NUMBERS (note that they are right aligned insided cell). So Excel is looking for that NUMBER, but it finds no NUMBER in column A that matches, and returns N/A.



          So before searching, let's convert the number in column C to a text, and let's see what happens. Try something like this:



          =VLOOKUP(TEXT(C2;"@");$A$2:$B$2349;2;FALSE)



          Hope you can adapt this to your needs.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          Foxfire And Burns And Burns

          1,8711314




          1,8711314












          • Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
            – Gehun
            2 days ago












          • Glad to hear it worked :)
            – Foxfire And Burns And Burns
            2 days ago


















          • Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
            – Gehun
            2 days ago












          • Glad to hear it worked :)
            – Foxfire And Burns And Burns
            2 days ago
















          Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
          – Gehun
          2 days ago






          Thank you for pointing out the Text/Number difference as I had many of the rows in different format. I've just edited em all to numbers by copying 1 and multipliyng all to get them in proper Number format and Vlookup worked just fine. Thank you again.
          – Gehun
          2 days ago














          Glad to hear it worked :)
          – Foxfire And Burns And Burns
          2 days ago




          Glad to hear it worked :)
          – Foxfire And Burns And Burns
          2 days ago










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










           

          draft saved


          draft discarded


















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













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












          Gehun 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%2fstackoverflow.com%2fquestions%2f53373590%2fupdating-price-list-in-excel-with-vlookup-or-index-match%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

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

          A Topological Invariant for $pi_3(U(n))$