+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Calculate Days Since Last Stage, where some stages don't occur

  1. #1
    Registered User
    Join Date
    11-05-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Wink Calculate Days Since Last Stage, where some stages don't occur

    Hi Guys, first post here,

    I've trawled a few forums with this issue, but admittedly I could have looked a little harder, so apologies if this is easily answered on another thread.

    I'm monitoring a set of projects and want to report on the number of days taken since the last step, which is are set out in a numeric order (i.e. step 1, 2, 3 etc). However not every project needs to go through every step (i.e. 1, 2, 7, 18 etc).

    I have a table with rows as a record of each event with other projects mixed in together, i.e.

    Row 1 - Project A - Step 3 - 04/11/10
    Row 2 - Project A - Step 4 - 05/11/10
    Row 3 - Project B - Step 3 - 06/11/10 etc

    I have a pivot combining all this data and apart from setting up a set of nested IFs (I have 39 steps in total so a nested 39 IF formula doesn't appeal) counting back each step until in finds a cell with a date, I can't think what else to do.

    I want to be able to say, "this project took X days to go to Step 7, then X days to get to Step 8, this project didn't do Step 9, but it took X days to get to Step 10 (from Step 8)".

    It also needs to accommodate that some events might occur on the same day and therefore be 0 days between the last step.

    I'm running 2007 and have a basic understanding of VBA, though I would prefer not to use it as the file is going around several Government departments where IT security is pretty tight.

    I hope that's clear.

    Will sincerely appreciate any advice you can offer.

    Ali

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Calculate Days Since Last Stage, where some stages don't occur

    Ali, post a sample file that reflects the set up of your file and outline expected results (and their location).

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,450

    Re: Calculate Days Since Last Stage, where some stages don't occur

    Hi,

    In Pivot Tables there are many options to "Show Values As.." which may work for you. Look at:
    http://www.informit.com/articles/art...88532&seqNum=6 for the many combinations.
    Find more examples on http://contextures.com/xlPivot10.html

    I'm thinking Difference from Previous may be just what you need.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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