+ Reply to Thread
Results 1 to 8 of 8

=CONCATENATE (date/time) to work with =NETWORKDAY

  1. #1
    Forum Contributor
    Join Date
    06-20-2007
    Location
    Buckeye, AZ
    MS-Off Ver
    365
    Posts
    272

    =CONCATENATE (date/time) to work with =NETWORKDAY

    In the attached workbook, is there a way to CONCATENATE the date and time (columns (C,D / E,F / H,I) into a format that will work with NETWORKDAY?
    Any help is greatly appreciated!
    Sick
    Attached Files Attached Files
    Last edited by sick stigma; 01-13-2014 at 03:43 PM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Columns D,F and I are text

    Use this to convert to time, then you can use the NETWORKDAYS formula

    =LEFT(D3,LEN(D3)-2)&" "&RIGHT(D3,2)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    06-20-2007
    Location
    Buckeye, AZ
    MS-Off Ver
    365
    Posts
    272

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Thanks Ace!
    Can I reformat D,F and I into time?
    Do I concantenate the date and time or is there a way to use seperate cells in networkday?
    Sick

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Networkdays (and workday) don't use time anyway, so the time cells are irrelevant to networkdays.
    The result of networkdays will be the same regardless of the time of each date.
    So you can just use the Dates in C E and H by themselves without the times.

    If the times are important in some way, can you explain in words what you're trying to accomplish?
    Last edited by Jonmo1; 01-13-2014 at 03:35 PM.

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Can I reformat D,F and I into time?
    just formatting wont help, as Excel will still read it as text. You will need to coerce it into becoming a time i.e. a number

    Do I concantenate the date and time or is there a way to use seperate cells in networkday
    Lets says you want to find NETWORKDAYS between template date/time and CAD date/time use
    =NETWORKDAYS(C3+(LEFT(D3,LEN(D3)-2)&" "&RIGHT(D3,2))*1,E3+(LEFT(F3,LEN(F3)-2)&" "&RIGHT(F3,2))*1)

    Having said that, the NETWORKDAYS calculation does not tae into account the time, you can skip it altogether
    Hence,
    =NETWORKDAYS(C3,E3)

  6. #6
    Forum Contributor
    Join Date
    06-20-2007
    Location
    Buckeye, AZ
    MS-Off Ver
    365
    Posts
    272

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Maybe, I"m going about this wrong. I need the elapsed time in dd/hh/mm from templete to CAD.
    Suggestions?
    Sick

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    In that case

    =C3+(LEFT(D3,LEN(D3)-2)&" "&RIGHT(D3,2))*1-(E3+(LEFT(F3,LEN(F3)-2)&" "&RIGHT(F3,2))*1))

    Format as dd/hh/mm

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =CONCATENATE (date/time) to work with =NETWORKDAY

    Will the elapsed time ever exceed 31 days?

    If NO, try
    =(E3+REPLACE(F3,LEN(F3)-1,0," "))-(C3+REPLACE(D3,LEN(D3)-1,0," "))
    Apply custom format to the cell as dd/hh/mm

+ 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. Concatenate Date+Time+Am or PM then sum hours
    By bjsmithinc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-16-2013, 09:17 PM
  2. Replies: 6
    Last Post: 05-20-2013, 07:45 PM
  3. concatenate a field with date and time
    By Foxcan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-05-2009, 03:30 PM
  4. Concatenate Date and Time
    By Jim15 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2008, 10:14 AM
  5. Date and Time Concatenate Help
    By Mr Gow in forum Excel General
    Replies: 3
    Last Post: 01-22-2007, 10:44 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