+ Reply to Thread
Results 1 to 11 of 11

hwo to track the same number from another worksheet

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    hwo to track the same number from another worksheet

    Hi, Sir.
    every time my workers will enter lots of part numbers into excel sheet. I need to generate a report which contains the quantity and series number of every product.

    For example: when they scan a product, excel sheet will show part number and series number into two columns. I need to track all products' information into my summary sheet. when a product have one part number but two series number, they need to scan for twice. but in my summary sheet, i need to show product quantity which is 2, and series number.
    how can I do this ?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: hwo to track the same number from another worksheet

    It will be helpful to us to give exact solution for your query if you attach a sample workbook with expected output by describing the method to achieve it.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: hwo to track the same number from another worksheet

    Quote Originally Posted by :) Sixthsense :) View Post
    It will be helpful to us to give exact solution for your query if you attach a sample workbook with expected output by describing the method to achieve it.
    Sir, This is the sample workbook, in the scanning, I highlight the same number, this number will be scam twice. because the series number start with 91 is different. however, in my inner packing list, I want this number appear one tiem and the quantity will be 2, and last column display two series number, how should I do this ?
    Thank you so much
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: hwo to track the same number from another worksheet

    last column display two series number, how should I do this ?
    If just needs to show only the 2 series of numbers then its possible in using excel's inbuilt worksheet functions. but number of items increases based on the data then showing all in a single cell by matching the condition is not possible without the help of VBA Code.

    Please confirm.

  5. #5
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: hwo to track the same number from another worksheet

    Quote Originally Posted by :) Sixthsense :) View Post
    If just needs to show only the 2 series of numbers then its possible in using excel's inbuilt worksheet functions. but number of items increases based on the data then showing all in a single cell by matching the condition is not possible without the help of VBA Code.

    Please confirm.
    Yup, I want to show both the number of items and series number in inner packing list base on the result in scanning list. so how should I use VBA to do this, is going to be very complicated?

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: hwo to track the same number from another worksheet

    Check the below link to know how to add the code in Standard Module
    http://www.contextures.com/xlvba01.html

    Please Login or Register  to view this content.
    =CLookup(LookupValue,LookupRange,ResultRange)

    In D6 cell of Inner Packing List Sheet
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In D6 cell of Inner Packing List Sheet for getting the count of quantity
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag it down.

    Refer the attached excel for details.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: hwo to track the same number from another worksheet

    Sir, I remove alr.
    wa, this is amazing, I saw the beauty of excel VBA. now the problem is that I only want to show one line of "3BDH000382R0001" with quantity 2 and two series number in inner packing list.. how chould I edit? Thank you so much, sir.
    Last edited by Adamlearnexcel; 12-07-2012 at 04:32 AM.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: hwo to track the same number from another worksheet

    Please remove all the quotes from all of your above posts since it is against forum rule # 12

    12. Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.

  9. #9
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: hwo to track the same number from another worksheet

    Thank you for you reminder. I removed the quotes alr
    Sir, could you look my older post again, I still got one problem.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: hwo to track the same number from another worksheet

    Make use of the below code developed by jindon who had solved this kind of query earlier.

    Please Login or Register  to view this content.

    Return to excel and copy and paste the below formula in Article #
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag the formula down...
    Last edited by :) Sixthsense :); 12-07-2012 at 05:50 AM.

  11. #11
    Registered User
    Join Date
    12-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    66

    Re: hwo to track the same number from another worksheet

    Sir, I used the code you have posted, it works~!!! Thank you so much....
    But I am not quite understand the logic behind.
    How to learn VBA language, do you have any tips?
    Is is going to be a tough journey?
    Thank you so much......

+ 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.6.0 RC 1