+ Reply to Thread
Results 1 to 16 of 16

How to vlookup product and its qty from another sheet

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    How to vlookup product and its qty from another sheet

    Dear All,

    I have data in which year wise, product wise sale qty is mentioned,in my sheet 1213P I want to vlookup sum of saleqty and APR from sheet 1314P
    when I tried it giving #N/A error plz help.

    Attached sheet for your reference.


    Mahadev.
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to vlookup product and its qty from another sheet

    #N/A means Not available, if searchable product is not in second sheet how will you expect any result.

    If you are expected any result please speak what is your criteria and expected result.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Dear Ankur sir,

    It is giving #N/A error even if item and item sale qty is available,I want in my sheet 1213P sum of saleqty and APR from sheet 1314P for each item on
    sheet 1213P.

    Plz guide on the same.

    Regards,
    Dev.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to vlookup product and its qty from another sheet

    Can you upload same excel here for checking purpose.

  5. #5
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Dear Sir,

    File uploaded....

    Regards,

    Dev
    Attached Files Attached Files

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to vlookup product and its qty from another sheet

    Where you are getting #N/a you expected outcome need to mention in attached excel file.

  7. #7
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Uploaded new file with error
    Attached Files Attached Files

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to vlookup product and its qty from another sheet

    You haven't lock the range

    Try

    F3
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the highlighted part

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: How to vlookup product and its qty from another sheet

    all you have done is attached the same file, with no formulae!!!

    So, try, in F3, copied down:
    =VLOOKUP($A3,'1314P'!$A$5:$E$252,3,FALSE)

    and in G3, copied down:
    =VLOOKUP($A3,'1314P'!$A$5:$E$252,5,FALSE)

    This DOES return some #N/A errors, because (in the case of the 3 that I checked) there are NO MATCHING VALUES on the 13/14 sheet. If you want to hide the uggly error message, use:

    =IFERROR(VLOOKUP($A3,'1314P'!$A$5:$E$252,3,FALSE)),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: How to vlookup product and its qty from another sheet

    Now I see the file with the formulae (3 attempts to get a proper sample file!!!)

    It still returns some #N/A errors, so see my post above.

  11. #11
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Ankur Sir,

    I did the same you suugetion you given but result is same,

    Kindly guide,


    Dev

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: How to vlookup product and its qty from another sheet

    Devawad, Have you read post 9????

  13. #13
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Dear Glenn,

    First of all thanks for your help for giving your valuable time and effort, Yes I read that and tried last option given by you,Also tried by copying your formula as it is to my sheet but formula didn't work.am a beginner may be I am doing something wrong.



    Thanks and regards,
    Dev.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: How to vlookup product and its qty from another sheet

    So, here is my formula (removing the #N/A errors, replacing them with blanks, EXACTLY as shown in Post 9). There are some gaps in the results (e.g. row 100). But as has been pointed out by Shukla and myself, this is because the values don't exist on 13/14 sheet.
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: How to vlookup product and its qty from another sheet

    Dear Glenn sir,

    Yes now it is like I want, great sir, thank you so much.

    Thanks and regards,
    Dev.

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: How to vlookup product and its qty from another sheet

    You're welcome and thanks for the rep.

+ 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. [SOLVED] Use vlookup to change old product code to new product code
    By unclejemima in forum Excel General
    Replies: 2
    Last Post: 01-08-2017, 05:28 PM
  2. Vlookup or sum product
    By NeoDasari in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2015, 03:54 PM
  3. Replies: 2
    Last Post: 10-03-2014, 07:39 PM
  4. Use Vlookup or sum product
    By ghstrdr60 in forum Excel General
    Replies: 2
    Last Post: 07-01-2014, 12:00 PM
  5. [SOLVED] Vlookup Sum Product
    By concatch in forum Excel General
    Replies: 4
    Last Post: 10-30-2013, 12:23 PM
  6. Macro to Pull Info from Product Line Sheet to Purchase Order Sheet
    By JeffreyJr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2012, 11:16 AM
  7. [SOLVED] Find Product Details in Another Sheet based on Product ID and Copy some Fields From there
    By kevalkothari in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 10:43 AM

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