+ Reply to Thread
Results 1 to 2 of 2

copy data to another sheet,filter it there,sort it,then copy it again onto another sheet

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Bosnia and Herzegovina
    MS-Off Ver
    Excel 2010
    Posts
    35

    copy data to another sheet,filter it there,sort it,then copy it again onto another sheet

    Example:

    I'm using an excel list to track down goalscorers in 3 different football leagues.
    Its 1 huge list,where i manually add data in format:
    Scorer,His Club,No. of goals
    each of that data in separate column offcourse.

    Now,here comes the tricky thing.

    From that 1 list i need to create 3 separate lists,where each one of them would feature a "TOP Scorer" list for its league.

    So,lets say that 1 main list contains scorers from England,German and Italian league.
    My data on list nowhere mentions in which league a scorer is,but,i can make aditional list somewhere which would name the clubs from england league,then another list which would feature a clubs from german league and so on.

    So,a code would compare listed clubs in "main list",then,if they are a match to a 'german clubs' list,it would transfer those entries(full row of it,since there are 'name of scorer' and 'No. of goals') to a "TOP german scorers" table,in descending order(best scorer first,adn so on).

    Sorting should stop after 10 or 15 entries on list,so even though if there is like 33 scorers in german league,final TOP german list would feature only 10,15 best among them.
    Last edited by 4evra; 06-05-2013 at 06:58 AM.

  2. #2
    Registered User
    Join Date
    01-25-2013
    Location
    Bosnia and Herzegovina
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: copy data to another sheet,filter it there,sort it,then copy it again onto another she

    Bump

    I renamed the thread,should be way easier to understand what i'm trying to archieve.

    Now,i implemented another "temp" sheet,so it stored the temporaly data that is copied there in order to get processed(filtered and sorted).

    Basically,process should now go like this:
    1. Copy everything from columns A,B,C(sheet 1) to A,B,C(sheet2)
    2.Filter data in Sheet 2 based on a list (compare enties in column B to enties in some list,if there is a match,keep entire row.Otherwise,delete the row.
    3.Sort out the leftovers in Descending order,based on values in Column C
    4.Copy only top 15 entries back into Sheet 1,column G

    Mostly,steps 1,3 and 4 i can do via macro recording.
    Thought,i guess a VBA would be 'smaller' and more convinient(if i knew one )

+ 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