+ Reply to Thread
Results 1 to 10 of 10

Showing the Date instead of Sum or a workaround to solve contract - back date analysis

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    I'm looking to do the following.

    I'm looking to count the days between a contract out and a contract back. The first instance of a 1 is the contract out and the second instance is the contract back. A 2 represents a contract coming back in the same day.

    Is there any easy way to bring down the date rows to only the columns filled in so I can do a simple date - date formula to find out how long it took to get the contract back?

    Is there any way during the Pivot to input the date instead of the sum?

    ID 7/1/2014 7/2/2014 7/3/2014 7/7/2014 7/8/2014 7/9/2014 7/10/2014 7/11/2014 7/14/2014 7/15/2014 7/16/2014 7/17/2014
    12345
    12346 1 1
    12366 2
    12788
    12333 1
    12354
    13544
    12354
    12348 1 1
    12349
    12348 2

  2. #2
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    That didn't paste well but essentially the 1, 2 is spread between different dates based on when the contract was sent and returned.

  3. #3
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    None of the IDs have a 1 and a 2 in their row. For example, 12346 has two 1's, 12333 has only one 1, and 12348 has only one 2. Not sure how to determine the date out and date returned as you've presented it.

  4. #4
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    Hi,

    Sorry that was a bad copy paste on my part. All ID have (2) 1 for the date contract was sent out and the date contract was returned. (or a 2 if returned same day). I'm only looking at data for returned contracts.

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,600

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    To attach a Workbook
    (please do not post pictures or links to worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  6. #6
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    You're right this is probably easier/better.

    data-sample-out-2-back.xlsx

  7. #7
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    It'd certainly be easier if you used "Out" and "Back" instead of using the same number twice. Any way to update the data accordingly?

  8. #8
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    Quote Originally Posted by hoyasaxa215 View Post
    It'd certainly be easier if you used "Out" and "Back" instead of using the same number twice. Any way to update the data accordingly?
    I can pivot the data differently but I can't think of a way to insert that. Is there a way to insert the date instead of the sum in the pivot table?

  9. #9
    Registered User
    Join Date
    07-25-2012
    Location
    Boynton Beach
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    Problem solved. What I did was during the pivot I changed the date column to be the value as "Sum" then pasted that into a blank workbook and changed the formatting to be date.

  10. #10
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Showing the Date instead of Sum or a workaround to solve contract - back date analysis

    Can you upload the updated file?

+ 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. Replies: 8
    Last Post: 03-25-2014, 07:37 AM
  2. [SOLVED] Allocating a given date to a date range bucket: futures contract expiry
    By labogola in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2013, 08:50 AM
  3. Auto date workaround
    By Badcog in forum Excel General
    Replies: 2
    Last Post: 07-19-2013, 08:12 PM
  4. Converting a date serial number back to a date within a string
    By bharris77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2012, 01:15 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