The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Need excel help

    Discussion in 'Windows OS and Software' started by gmoneyphatstyle, Sep 8, 2011.

  1. gmoneyphatstyle

    gmoneyphatstyle Notebook Deity

    Reputations:
    399
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    30
    Hello,

    I'm using excel2007. I'm not sure how best to approach this problem. I'm pretty competent at excel but I don't know how to do any Visual Basic programming in excel. I've used Pivot tables before, but I'm not sure if they'd help in this case. I'd appreciate any help.

    I have a large excel sheet, 50,000 rows, with the following fields.
    Employee#, Name, Sales, Department.

    What I'd like to do is find a quick and easy way to filter by Department and copy that info to a new worksheet, so each worksheet contains: Employee#, Name, Sales, for only that Department.

    About the fields:
    Employee# is a unique number.
    Name is a persons name
    Sales is a dollar amount
    Department is a word, e.g. Auto, Housewares, Tools, etc. There's about 90 different departments.

    An Employee can have sales in more than one department.

    Thank You
    :)
     
  2. aylafan

    aylafan TimelineX Elite

    Reputations:
    438
    Messages:
    1,247
    Likes Received:
    1
    Trophy Points:
    56
    Your best bet is to ask someone in the MrExcel forum. Someone will probably create and post the code for you. However, you need to read tutorials on how to implement the code into the excel sheet before doing this.

    Excel Questions - MrExcel Message Board
     
  3. atbnet

    atbnet Notebook Prophet

    Reputations:
    5,868
    Messages:
    5,889
    Likes Received:
    2
    Trophy Points:
    206
    You could filter the sheet by each department and just copy that data. Are you going to need these to be automatically sorted as data is added or will you just prepare reports each period?
     
  4. MojoMan

    MojoMan Notebook Enthusiast

    Reputations:
    4
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Look up "Filter" in the Excel help menu. Once you understand how this works, follow the instructions and apply the filter headings to your spreadsheet. Then using the filter switches, sort or filter the results by department and copy the records to the new worksheets.