+ Reply to Thread
Results 1 to 5 of 5

Generating Custom Timeline on Separate Tab

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Generating Custom Timeline on Separate Tab

    I'm trying to get Excel 2010 to automatically generate a custom timeline in a separate tab using data I enter in a different tab. In the attached example, the data in the first tab ("daily log") tracks the number of trucks parked at a certain yard by the state they are registered in, their company, and their ID number. I would like Excel to automatically generate the timeline I've created by hand in the second tab ("Timeline (desired outcome)"). I need a formula that returns a "1" if several conditions are met (see comments in example) and a " " if those conditions are not met. I played around with IF(AND...) functions, but I've never used them before and couldn't make them work. There are a few complicating factors: there aren't a consistent number of trucks at the yard per day, and some trucks changed their ID numbers during the data period. I use a blank row, highlighted in dark grey, to visually differentiate days. This row can be filtered out with the "null" column. Any help you could provide would be most appreciated!

    Thanks,
    Jeremy
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Generating Custom Timeline on Separate Tab

    Hi
    enter this formula to f2 cell and drag down and left
    =COUNTIFS('Daily Log'!$E:$E,'Timeline (desired output)'!$E2,'Daily Log'!$D:$D,'Timeline (desired output)'!$C2,'Daily Log'!$C:$C,'Timeline (desired output)'!$B2,'Daily Log'!$B:$B,'Timeline (desired output)'!$A2,'Daily Log'!$A:$A,'Timeline (desired output)'!F$1)+
    COUNTIFS('Daily Log'!$E:$E,'Timeline (desired output)'!$D2,'Daily Log'!$D:$D,'Timeline (desired output)'!$C2,'Daily Log'!$C:$C,'Timeline (desired output)'!$B2,'Daily Log'!$B:$B,'Timeline (desired output)'!$A2,'Daily Log'!$A:$A,'Timeline (desired output)'!F$1)

    I hope this is what you want
    Appreciate the help? CLICK *

  3. #3
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,419

    Re: Generating Custom Timeline on Separate Tab

    make a pivottabel with your data and you get it immediately without any formula.

  4. #4
    Registered User
    Join Date
    11-21-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Generating Custom Timeline on Separate Tab

    Thanks for the reply. That seems to be working, but I've added some complexity to capture more information in the timeline (see example). I've added an "activity" section, denoted in the daily log as a separate column with either an "x" if activity occurred or " " if activity did not occur. Is it possible to have a separate section in the timeline to denote when activity 1 or activity 2 happened? also, I've added a column for operation 1. I'd like the timeline to reflect operation 1 occurring tied to a specific truck: could the sheet return "1^" for a truck in the yard with operation 1 occurring? Finally, I've added multiple yards designated by a location, represented as a number. Could the timeline return "1~" if the location of the truck is greater than 2000, and just "1" if the location is less than 2000?

    Please see the example for more details.

    Thanks!
    JeremyHelp_Example_2.xlsx

  5. #5
    Registered User
    Join Date
    11-21-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Generating Custom Timeline on Separate Tab

    I don't have a great deal of experience with pivot tables. Would that update automatically as new data was inputted everyday?

+ 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. Generating Bill of Materials in separate word files using excel database
    By veejar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2012, 01:45 AM
  2. Generating a list on a separate Data sheet
    By rdfianza in forum Excel General
    Replies: 1
    Last Post: 03-04-2012, 04:43 PM
  3. Replies: 4
    Last Post: 11-25-2009, 07:05 PM
  4. [SOLVED] Timeline
    By rwab in forum Excel General
    Replies: 2
    Last Post: 07-22-2009, 02:20 PM
  5. Timeline
    By aftabn10 in forum Excel General
    Replies: 3
    Last Post: 06-16-2008, 09:53 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