Consulting

Results 1 to 5 of 5

Thread: Picking only records based on po #.

  1. #1

    Picking only records based on po #.

    Dear All,

    i have imported my data from Access form.In my excel sheet i am having 2000 records starting from A2.
    In ColA2 Contains po#, B2 contains date,C2 contains amount,D2 contains Retention amount,E2 contains remaining amount
    F2 contains Contract #.

    I have a to pick only a few i.e 100 different po # and their corresponding value from the collection.
    Since the po number format is 6510325314(10 digits) and it is random.
    Data is huge and filtering each po # is difficult and time consuming.
    So is there any way that i can get our desired records from the collection based on our 100 Different po #.

    Any macro mor code or function.
    Help is deeply welcom?
    attachment is for ref.

    Rgds,
    Aligahk06

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,064
    Location
    What is the criteria for random?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    There is no random criterion. It is only 10 digit Po number.

  4. #4
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Quote Originally Posted by aligahk06
    ...Since the po number format is 6510325314(10 digits) and it is random...
    Quote Originally Posted by Aussiebear
    What is the criteria for random?
    Quote Originally Posted by aligahk06
    There is no random criterion. It is only 10 digit Po number.


    Dear aligah06,

    I am teasing of course, but I must say that the issue description is less than clear.

    Do you have any code so far? Have you tried recording a macro to show at least what we would be doing with info/records from a given PO?

    Mark

  5. #5
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Add a couple of helper columns and filter the result. It may not be exactly 100, but that doesn't sound critical. If you need more, adjust the ratio accordingly and ignore any after your required sample number.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •