+ Reply to Thread
Results 1 to 4 of 4

SUM of CONCATENATE

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Pulau Pinang, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    2

    SUM of CONCATENATE

    I'm trying to create a turn around time statistic table.
    The formula i have gotten so far is as below:

    =CONCATENATE(TRUNC(ROUND(((G10-E10)*1440),0)/1440,0)," Days ",TRUNC(MOD(ROUND((G10-E10)*1440,0),1440)/60)," Hours ",ROUND(MOD(ROUND((G10-E10)*1440,0),60),0),"

    However, the data format must be mm/dd/yyyy hh:mm. Is there a way to create a statistic using the same formula but with the mm/dd/yyyy and hh:mm separated?

    When i tried to separate the data to date and time, there is a problem.

    For example, cell D15 is 3/1/2012, E15 is 16:36 while cell F15 is 3/2/2012, G15 is 15:15. The total TAT should be 22 hours and 39 minutes. But the formula i used gave me 1 day 22 hours and 39 minutes instead.

    Is there an alternate way? Or is it that the data MUST be mm/dd/yyyy hh:mm?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,542

    Re: SUM of CONCATENATE

    Why don't you just use normal arithmetic (adds take-aways) in both cells and then format them as you require?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,606

    Re: SUM of CONCATENATE

    Try this
    =F15+G15-D15-E15

  4. #4
    Registered User
    Join Date
    03-21-2012
    Location
    Pulau Pinang, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: SUM of CONCATENATE

    Thanks! The last formula works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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