+ Reply to Thread
Results 1 to 2 of 2

military time and auto populate in another column

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Fort Riley
    MS-Off Ver
    Excel 2010
    Posts
    37

    military time and auto populate in another column

    I am trying to use military time in a column. From this column I would like certain vaules that fall into specific categories automatically go there. I have tried countif formulas, sumtotals. I know I am missing something small. Also, questions are:

    1. Is text (format cell) the only way to put time in like 0020, where it keeps the 0's in front?

    2. =SUMPRODUCT(--(E1:E30>1),--(E1:E30<200)) is something close I can get to work, but goes back to not recognizing 0020 (or something like this)

    3. I would also like to be able to not have colons in the time (0200 not 02:00).


    Thank you
    Attached Files Attached Files
    Last edited by joesport5; 08-01-2010 at 10:54 AM.

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: military time and auto populate in another column

    In H2: =SUMPRODUCT(($D$1:$D$17+0>=LEFT(H$1,4)+0)*($D$1:$D$17+0<=RIGHT(H$1,4)+0))

    copy across

+ 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