Closed Thread
Results 1 to 3 of 3

Adjust Excel times in cells

  1. #1
    Forum Contributor
    Join Date
    01-15-2015
    Location
    New York
    MS-Off Ver
    Excel 2011 MAC
    Posts
    104

    Adjust Excel times in cells

    I'm having a bit of an issue where my formula won't work because their is a date appearing in front of the time. For some reason when I copy times from another excel worksheet it through the same date in front of the time. I've tried to custom adjust the formatting of the number, but the date still remains. MY formula is being effected by this because it disregards it because of the date.

    Just incase this is my formula: =SUMPRODUCT(--(A11>='Front End'!B$25:B$72),--('Front End'!C$25:C$72>=A11+"00:15"))+SUMPRODUCT(--(A11>='Combo EE'!B$36:B$69),--('Combo EE'!C$36:C$69>=A11+"00:15"))

    I'm not sure if there is a way to remove the date, or if I should adjust the formula

    Excel3.png

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Adjust Excel times in cells

    If you want to remove the date and just leave the time, you can use a formula like this:

    =MOD(A1,1) where the date/time is in cell A1 then copy/paste values and format accordingly.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Adjust Excel times in cells

    As your duplicate thread has more responses, I am closing this thread. In future, please do NOT post duplicate threads.

    Continue here, please: https://www.excelforum.com/excel-for...om-a-cell.html
    Last edited by AliGW; 07-10-2018 at 05:23 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Show cells between two times in excel
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2014, 02:01 PM
  2. Formatting Cells with Times in Excel
    By mpellum0101 in forum Excel General
    Replies: 0
    Last Post: 04-19-2012, 02:44 PM
  3. Macro to format cells, adjust column widths, hide cells
    By amsolmyers in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2010, 04:44 PM
  4. Replies: 1
    Last Post: 01-16-2009, 05:31 PM
  5. defining times in excel cells
    By tanbio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2006, 05:57 AM
  6. Comparing Times in Text Boxes to Times in Cells
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2006, 11:15 PM
  7. can i adjust the dimension of cells in mm in Excel?
    By Anarkasis in forum Excel General
    Replies: 3
    Last Post: 02-20-2005, 06:07 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