+ Reply to Thread
Results 1 to 3 of 3

Creating lists from Raw Data

Hybrid View

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    1

    Creating lists from Raw Data

    Good Morning,

    Hopefully this is not a repeat post, but I honestly do not know where to even start with my slight dilemma! What I have is a raw data spreadsheet summarizing 2013 work completed. Essentially each line is a work order that was completed. I am trying to do a count and figure out which contractors are consistently working, and which ones are cherry picking work, so I would like to take the raw data I have and create a list by each day number of the year. I have added formulas to my raw data that give me the day number, and now I would like to summarize by contractor name.

    I create a pivot table and do a count of the work orders, however this creates an obnoxious table that will be a hassle to sort through. Is there any way to force the pivot table to put contractor name instead of the count field? I can work with that and sort it very easily. Right now I am essentially taking the pivot table, pasting it into another sheet, and highlighting each line, and doing a replace 0 with contractor name. This is a daunting tasks with 300 contractors, and 8 different locations, and I can't help but think there is a better way! Please advise! Thank you in advance.

    So i fooled with just manually changing the zeros to the contractor name, and pasting into a second sheet. The problem that I did not think of with that is that whenever you sort a particular day, it sorts the entire sheet, so no matter which day I am looking at I have blanks. I dont care if the contractor names are lined up with one another. I guess essentially I want to create a list from my raw data for each day of the year worked. I am including a very crude example of the raw data and hopeful end game below:


    Day # Contractor
    1 AB
    1 AC
    2 AB
    2 AD
    3 AB
    3 AC
    3 AD
    3 AE


    Results:

    Day 1 Day 2 Day 3
    AB AB AB
    AC AD AC
    AD
    AE
    Last edited by Kimoski; 06-01-2014 at 10:27 AM.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Creating lists from Raw Data

    Here is an idea for you using the Pivot Table. The days that the contractor has a contract are listed under each contractor's name. There is also a count of the days:
    Attached Files Attached Files
    Last edited by newdoverman; 06-01-2014 at 11:31 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Creating lists from Raw Data

    If you want to achieve this with the help of a formula, find the attached sheet to see if this is what you can work with.

    The attached sheet has two formulas...

    In D1 (This formula will give you the unique days across the columns)
    =IFERROR(INDEX($A$2:$A$9,MATCH(0,INDEX(COUNTIF($C$1:C1,$A$2:$A$9),0,0),0)),"")
    and then drag across as per the requirement.

    An Array Formula in D2 (Array Formula requires confirmation with Ctrl+Shift+Enter)
    =IFERROR(INDEX($B$2:$B$9,SMALL(IF($A$2:$A$9=D$1,ROW($A$2:$A$9)-ROW($A$2)+1),ROWS(D$2:D2))),"")
    and then drag across and down as per the requirement.

    If you want to create this list on another sheet (say Sheet2), you will need to include the sheet reference (Sheet1!) in the formula.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  2. Replies: 2
    Last Post: 09-07-2013, 03:55 AM
  3. Creating lists from pre-assigned data
    By dbrady9900 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2013, 01:53 PM
  4. Creating multiple drop down lists ending in stock data
    By Tristan Cosman-Jones in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-02-2012, 05:39 AM
  5. Replies: 3
    Last Post: 09-02-2010, 03:04 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