Results 1 to 1 of 1

Calculating difference based on specific cell values

Threaded View

thelegazy Calculating difference based... 07-24-2013, 05:36 PM
  1. #1
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Calculating difference based on specific cell values

    I need help making a macro that will calculate the difference between two activities based on the following activity. I have attached a sample workbook.

    So, I want to be able to calculate the time difference between cells from column G when the New Status is "complete" and the one underneath it is either "Available, transit, up". I know the last two aren't on the spreadsheet, but they are in the master sheet.

    I wouldl like to calculate the time difference when there is a change in Column I from the "Complete" status to "Available, transit, up". The last two aren't in this spreadsheet, but they are in my master spreadsheet.

    So one example would be that in row 22 in column "J" you would have a value of 23:00:21, since the status changes from "Complete" to Available (the bottom status).

    There would also have been a value in row 15, but it is a negative so I don't want anything to show up.

    So you would be subtracting cells G23-G22, since I would like to measure the time it takes to go from "Complete" to "Available" in column I.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calculating Difference based on following value
    By thelegazy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2013, 09:48 AM
  2. Calculating % difference between two % values?
    By zudecke in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-01-2013, 06:33 AM
  3. Replies: 7
    Last Post: 07-13-2012, 06:20 AM
  4. CALCULATING A FORMULA TO USE A SPECIFIC CELL'S VALUES
    By PaulH-Oz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2006, 06:55 PM

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